ilog.rules.dt.model.expression

Interface IlrDTExpressionRole

    • Field Detail

      • HOLDER_ROLE_INDEX

        static final int HOLDER_ROLE_INDEX
        Deprecated. 
        Index value representing the holder role.
        See Also:
        Constant Field Values
    • Method Detail

      • getExpressionSentence

        IlrDTExpressionSentence getExpressionSentence()
        Deprecated. 
        Returns the expression sentence holding this expression role.
        Returns:
        The expression sentence holding this expression role.
      • getParameterConcept

        IlrConcept getParameterConcept()
        Deprecated. 
        Returns the vocabulary concept associated with the corresponding parameter.
        Returns:
        The concept of the parameter.
      • getParameterIndex

        int getParameterIndex()
        Deprecated. 
        Returns the parameter index in expression sentence or HOLDER_ROLE_INDEX for holder role expression.
        Returns:
        The parameter index in expression sentence or HOLDER_ROLE_INDEX for holder role expression.
      • getSentenceIndex

        int getSentenceIndex()
        Deprecated. 
        Returns the role index in the sentence.
        Returns:
        The role index in the sentence.
      • setText

        void setText(java.lang.String text)
        Deprecated. 
        Sets the text of the expression.
        Parameters:
        text - The expression in a text string.
      • isLiteral

        boolean isLiteral()
        Deprecated. 
        If the expression is a literal, getValue() returns the value corresponding to the text and the concept of the expression.
        Returns:
        True if the expression is a literal value.
      • isCollection

        boolean isCollection()
        Deprecated. 
        Returns true if the cardinality of the related role is plural.
        Returns:
        True if the cardinality of the related role is plural.
      • getValue

        java.lang.Object getValue()
        Deprecated. 
        Returns the value corresponding to the text and the concept of the expression. Valid only if isLiteral() is true.
        Returns:
        The value corresponding to the expression.
      • getExpressionTexts

        java.util.Collection getExpressionTexts()
        Deprecated. 
        Returns the collection of element's text if isCollection() is true.
        Returns:
        The collection of element's text.
      • setExpressionTexts

        void setExpressionTexts(java.util.Collection collection)
        Deprecated. 
        Sets the text of the expression according to the collection.
        Parameters:
        collection - The collection defining the text of the expression.
      • setExpressionText

        void setExpressionText(java.lang.String text)
        Deprecated. 
        Sets the text of the expression.
        Parameters:
        text - the text of the expression.
      • getSyntacticRole

        IlrSyntacticRole getSyntacticRole()
        Deprecated. 
        Returns the syntactic role associated to this expression.
        Returns:
        The syntactic role associated to this expression.

© Copyright IBM Corp. 1987, 2017