Rule Execution Server API

ilog.rules.factory
Class IlrApplyAction

java.lang.Object
  extended by ilog.rules.factory.IlrBaseStatement
      extended by ilog.rules.factory.IlrAction
          extended by ilog.rules.factory.IlrApplyAction
All Implemented Interfaces:
ilog.rules.factory.IlrSourceElement, IlrStatement, 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

Field Summary
 
Fields inherited from class ilog.rules.factory.IlrAction
flag, statements, value
 
Constructor Summary
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
 void addStatement(IlrStatement statement)
          Deprecated. Adds a statement to the action.
 Enumeration enumerateStatements()
          Deprecated. Returns an enumeration to visit all the statements of this action.
 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 Enumeration enumerateStatements()
Deprecated. 
Returns an enumeration to visit all the statements of this action.

Returns:
An enumeration of the statements.

exploreStatement

public 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.

Rule Execution Server API

© Copyright IBM Corp. 1987, 2013