ilog.rules.factory

Class IlrApplyAction

  • All Implemented Interfaces:
    ilog.rules.factory.IlrSourceElement, IlrStatement, java.io.Serializable

    Deprecated.

    public class IlrApplyAction
    extends IlrAction
    This class represents an apply action of the rule language.

    Warning: Serialized objects of this class will not be compatible with future releases. The current serialization support is appropriate for short term storage or RMI between applications running the same version of IBM Decision Server.

    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor and Description
      IlrApplyAction(IlrValue object)
      Deprecated. 
      Constructs an IlrApplyAction which represents an action applied to the passed value.
      IlrApplyAction(IlrValue object, IlrStatement[] statements)
      Deprecated. 
      Constructs an IlrApplyAction which represents an action applied to the passed value.
    • Method Summary

      Methods 
      Modifier and Type Method and Description
      void addStatement(IlrStatement statement)
      Deprecated. 
      Adds a statement to the action.
      java.util.Enumeration enumerateStatements()
      Deprecated. 
      Returns an enumeration to visit all the statements of this action.
      java.lang.Object exploreStatement(IlrFactoryExplorer explorer)
      Deprecated. 
      Explores the action and returns an object as a result.
      IlrValue getObject()
      Deprecated. 
      Gets the object on which the action is applied.
      int getStatementCount()
      Deprecated. 
      Gets the number of statements in this action.
      IlrStatement[] getStatements()
      Deprecated. 
      Gets the statements in this action.
      void removeStatement(IlrStatement statement)
      Deprecated. 
      Removes a statement from the statement list of this action.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • IlrApplyAction

        public IlrApplyAction(IlrValue object)
        Deprecated. 
        Constructs an IlrApplyAction which represents an action applied to the passed value. Initially, there is no statement in the apply action.
        Parameters:
        object - The object to which the action will be applied.
      • IlrApplyAction

        public IlrApplyAction(IlrValue object,
                      IlrStatement[] statements)
        Deprecated. 
        Constructs an IlrApplyAction which represents an action applied to the passed value. The action is initialized with the statement block passed as argument.
        Parameters:
        object - The object to which the action will be applied.
        statements - The statement block.
    • Method Detail

      • getObject

        public final IlrValue getObject()
        Deprecated. 
        Gets the object on which the action is applied.
        Returns:
        The object to which the action is applied.
      • addStatement

        public final void addStatement(IlrStatement statement)
        Deprecated. 
        Adds a statement to the action.
        Parameters:
        statement - The statement to be added.
      • removeStatement

        public final void removeStatement(IlrStatement statement)
        Deprecated. 
        Removes a statement from the statement list of this action.
        Parameters:
        statement - The statement to be removed.
      • getStatementCount

        public final int getStatementCount()
        Deprecated. 
        Gets the number of statements in this action.
        Returns:
        The number of statements in this action.
      • getStatements

        public final IlrStatement[] getStatements()
        Deprecated. 
        Gets the statements in this action.
        Returns:
        An array of statements. The array can be of length 0.
      • enumerateStatements

        public final java.util.Enumeration enumerateStatements()
        Deprecated. 
        Returns an enumeration to visit all the statements of this action.
        Returns:
        An enumeration of the statements.
      • exploreStatement

        public java.lang.Object exploreStatement(IlrFactoryExplorer explorer)
        Deprecated. 
        Explores the action and returns an object as a result.
        Parameters:
        explorer - A factory explorer.
        Returns:
        An object, the result of the exploration, or null if the method does not return a value.

© Copyright IBM Corp. 1987, 2017