ilog.rules.dt.model.expression

Interface IlrDTExpressionParameter

    • Method Detail

      • getExpression

        IlrDTExpressionInstance getExpression()
        Returns the expression instance of this parameter.
        Returns:
        The expression instance of this parameter.
      • clone

        java.lang.Object clone()
        Clones the expression parameter.
        Specified by:
        clone in interface IlrDecorableElement
        Returns:
        A clone of this expression parameter.
      • getText

        java.lang.String getText()
        Returns the parameter text. If the text is null, the default value of the corresponding placeholder may be returned.
        Returns:
        The parameter text.
      • getErrorManager

        IlrDTErrorManager getErrorManager()
        Returns the error manager associated to this expression parameter.
        Returns:
        An error manager.
      • setText

        void setText(java.lang.String text)
        Sets the expression parameter.
        Parameters:
        text - The new string value of the expression parameter.
      • getValue

        java.lang.Object getValue()
        Returns the real value of a literal or IlrDTExpression.NIL if this parameter has not been interpreted as a literal.
        Returns:
        An object representing the real value of this parameter. If this parameter has not been interpreted as a literal, IlrDTExpression.NIL is returned.
      • isLiteral

        boolean isLiteral()
        Tests if the value associated to this parameter is a literal.
        Returns:
        If the value is a literal, true is returned.
      • getConcept

        IlrConcept getConcept()
        Returns the type of this expression parameter.
        Returns:
        The parameter type. If this expression cannot be interpreted, null is returned.
      • getOffset

        int getOffset()
        Returns the parameter offset in the expression text.
        Returns:
        The offset. If this expression cannot be interpreted -1 is returned.
      • isValid

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

        An empty parameter is considered to be valid.

        Returns:
        If the parameter has no syntax errors, true is returned.
      • getCardinality

        IlrCardinality getCardinality()
        Returns the cardinality of this parameter.
        Returns:
        The parameter cardinality.

© Copyright IBM Corp. 1987, 2017