ilog.rules.dt.model.expression

Interface IlrDTSentenceContext

  • All Superinterfaces:
    java.io.Serializable
    All Known Implementing Classes:
    ExpressionDefinition

    Deprecated. 
    replaced by IlrDTExpressionDefinition

    public interface IlrDTSentenceContext
    extends java.io.Serializable
    Represents a vocabulary sentence of a vocabulary construction such as a setter. This interface is deprecated. The role played by this interface is now played by the Expression Definition. You should not use this interface anymore.
    • Field Detail

      • UNKNOWN_SENTENCE_TYPE

        static final int UNKNOWN_SENTENCE_TYPE
        Deprecated. 
        Undetermined sentence type.
        See Also:
        Constant Field Values
      • CONDITION_SENTENCE_TYPE

        static final int CONDITION_SENTENCE_TYPE
        Deprecated. 
        The condition sentence type, used for expression in condition columns.
        See Also:
        Constant Field Values
      • ACTION_SENTENCE_TYPE

        static final int ACTION_SENTENCE_TYPE
        Deprecated. 
        The action sentence type, used for expression in action columns.
        See Also:
        Constant Field Values
    • Method Detail

      • getDTContext

        IlrDTContext getDTContext()
        Deprecated. 
        Returns:
        The DT context that connects the sentence context to its environment.
      • getSentence

        IlrSentence getSentence()
        Deprecated. 
        Returns:
        The corresponding vocabulary sentence, or null for a vocabulary construction.
      • getSentenceText

        java.lang.String getSentenceText()
        Deprecated. 
        Returns:
        The template text of the sentence context. For example: <a number> is between <a number> and <a number>
      • accept

        boolean accept(IlrDTExpressionRole holderRoleExpression)
        Deprecated. 
        Tests if a holder role expression is compatible with this sentence context.
        Parameters:
        holderRoleExpression - Holder role expression to test.
        Returns:
        True if the holder role expression is compatible with the sentence context, false otherwise.
      • getParameterRoleCount

        int getParameterRoleCount()
        Deprecated. 
        Returns:
        The cardinality of the parameters of the sentence context.
      • isValid

        boolean isValid()
        Deprecated. 
        Returns:
        true if the sentence context is valid.

© Copyright IBM Corp. 1987, 2017