public abstract class IlrDateValueDescriptor extends IlrAbstractValueDescriptor
IlrValueDescriptor interface for a date lexical value.concept| Modifier | Constructor and Description |
|---|---|
protected |
IlrDateValueDescriptor(IlrConcept concept) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
checkValue(IlrSyntaxTree.Node node,
java.lang.Object value)
Checks a value.
|
java.lang.String |
getLocalizedText(java.lang.Object value,
IlrBRLDefinition definition)
Returns the localized text that represents the value in a locale.
|
java.lang.String |
getPersistentText(java.lang.Object value)
Returns the non-localized text that represents the value.
|
java.lang.Object |
getValue(java.lang.String persistentText)
Returns an object that represents the value (for example, a date returns an instance of
java.util.Date). |
java.lang.Object |
getValue(java.lang.String persistentText,
IlrBRLDefinition definition)
Returns an object that represents the value (for example, a date returns an instance of
java.util.Date). |
getConcept, getDefaultValue, getParsableRepresentation, getValueprotected IlrDateValueDescriptor(IlrConcept concept)
public boolean checkValue(IlrSyntaxTree.Node node, java.lang.Object value)
IlrValueDescriptornode - The abstract syntax tree node that holds the value.value - The value to check.public java.lang.Object getValue(java.lang.String persistentText)
IlrValueDescriptorjava.util.Date).persistentText - The value (not localized).public java.lang.Object getValue(java.lang.String persistentText,
IlrBRLDefinition definition)
IlrValueDescriptorjava.util.Date).persistentText - The localized text (in a form that matches the parsable representation).definition - The business rule language definition.public java.lang.String getPersistentText(java.lang.Object value)
IlrValueDescriptorvalue - The value.public java.lang.String getLocalizedText(java.lang.Object value,
IlrBRLDefinition definition)
IlrValueDescriptorvalue - The value.definition - The business rule language definition.© Copyright IBM Corp. 1987, 2017