ilog.rules.dt.model.expression

Interface IlrDTExpressionPlaceHolder

    • Method Detail

      • clone

        java.lang.Object clone()
        Clones this expression placeholder.
        Specified by:
        clone in interface IlrDecorableElement
        Returns:
        A copy of this expression placeholder.
      • getDefinition

        IlrDTExpressionDefinition getDefinition()
        Returns the expression definition this placeholder belongs to.
        Returns:
        The definition.
      • getErrorManager

        IlrDTErrorManager getErrorManager()
        Returns the error manager associated with this expression parameter.
        Returns:
        The error manager.
      • getText

        java.lang.String getText()
        Returns the placeholder text.
        Returns:
        The placeholder text.
      • getType

        java.lang.String getType()
        Returns the concept of the placeholder as a String.
        Returns:
        The placeholder type. If the referenced definition is invalid, null is returned.
      • getDefaultValue

        java.lang.String getDefaultValue()
        Returns the default value of this placeholder.
        Returns:
        The default value of this placeholder.
      • setDefaultValue

        void setDefaultValue(java.lang.String defaultValue)
        Sets the default value of this placeholder.
        Parameters:
        defaultValue - The new default value.
      • getConcept

        IlrConcept getConcept()
        Returns the concept of this placeholder.
        Returns:
        The placeholder concept. If the referenced definition is invalid, null is returned.
      • getCardinality

        IlrCardinality getCardinality()
        Returns the cardinality of this placeholder.
        Returns:
        The cardinality of this parameter. If the referenced definition is invalid, null is returned.
      • isValid

        boolean isValid()
        Tests if this placeholder is valid. A placeholder is valid if it has been interpreted in the context of this expression definition and no syntax errors have been reported.

        An invalid placeholder only has a text object. It has no type, concept, cardinality or path.

        Returns:
        If the placeholder is valid, true is returned.

© Copyright IBM Corp. 1987, 2017