public class IlrLocalTimeValueDescriptor extends IlrDateValueDescriptor
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
ID
ID of the Time Value Descriptor
|
concept| Constructor and Description |
|---|
IlrLocalTimeValueDescriptor(IlrConcept concept)
Creates a time value descriptor.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getDefaultValue(IlrBRLDefinition definition)
Returns the default value of a value descriptor.
|
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 text,
IlrBRLDefinition definition,
boolean strict)
Returns an object that represents a string value.
|
checkValue, getLocalizedText, getValuegetConcept, getParsableRepresentationpublic static final java.lang.String ID
public IlrLocalTimeValueDescriptor(IlrConcept concept)
concept - The associated concept.public java.lang.String getDefaultValue(IlrBRLDefinition definition)
IlrAbstractValueDescriptorgetDefaultValue in interface IlrValueDescriptorgetDefaultValue in class IlrAbstractValueDescriptordefinition - The value descriptor.definition.public java.lang.Object getValue(java.lang.String text,
IlrBRLDefinition definition,
boolean strict)
IlrAbstractValueDescriptorIlrValueDescriptor.getValue(text, definition).
If strict is set to true, concrete subclasses of
IlrAbstractValueDescriptor can implement strict parsing for
text if applicable.getValue in class IlrAbstractValueDescriptortext - Localized text in a form that matches a parsable representation.
For example, a date returns an instance of java.util.Date.definition - The business rule language definition.strict - Set to true so strict parsing of
text is performed.text.IlrValueDescriptor.getValue(java.lang.String text, IlrBRLDefinition definition)public java.lang.Object getValue(java.lang.String persistentText)
IlrValueDescriptorjava.util.Date).getValue in interface IlrValueDescriptorgetValue in class IlrDateValueDescriptorpersistentText - The value (not localized).public java.lang.String getPersistentText(java.lang.Object value)
IlrValueDescriptorgetPersistentText in interface IlrValueDescriptorgetPersistentText in class IlrDateValueDescriptorvalue - The value.© Copyright IBM Corp. 1987, 2017