ilog.rules.brl.value.descriptor

Class IlrDateValueDescriptor

    • Constructor Detail

      • IlrDateValueDescriptor

        protected IlrDateValueDescriptor(IlrConcept concept)
    • Method Detail

      • checkValue

        public boolean checkValue(IlrSyntaxTree.Node node,
                         java.lang.Object value)
        Description copied from interface: IlrValueDescriptor
        Checks a value.
        Parameters:
        node - The abstract syntax tree node that holds the value.
        value - The value to check.
      • getValue

        public java.lang.Object getValue(java.lang.String persistentText)
        Description copied from interface: IlrValueDescriptor
        Returns an object that represents the value (for example, a date returns an instance of java.util.Date).
        Parameters:
        persistentText - The value (not localized).
      • getValue

        public java.lang.Object getValue(java.lang.String persistentText,
                                IlrBRLDefinition definition)
        Description copied from interface: IlrValueDescriptor
        Returns an object that represents the value (for example, a date returns an instance of java.util.Date).
        Parameters:
        persistentText - The localized text (in a form that matches the parsable representation).
        definition - The business rule language definition.
      • getPersistentText

        public java.lang.String getPersistentText(java.lang.Object value)
        Description copied from interface: IlrValueDescriptor
        Returns the non-localized text that represents the value.
        Parameters:
        value - The value.
      • getLocalizedText

        public java.lang.String getLocalizedText(java.lang.Object value,
                                        IlrBRLDefinition definition)
        Description copied from interface: IlrValueDescriptor
        Returns the localized text that represents the value in a locale.
        Parameters:
        value - The value.
        definition - The business rule language definition.

© Copyright IBM Corp. 1987, 2017