|
Rule Execution Server API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object ilog.rules.factory.IlrBaseStatement ilog.rules.factory.IlrAction ilog.rules.factory.IlrModifyAction
public class IlrModifyAction
This class represents a modify 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.
Field Summary |
---|
Fields inherited from class ilog.rules.factory.IlrAction |
---|
flag, statements, value |
Constructor Summary | |
---|---|
IlrModifyAction(IlrValue object)
Constructs a modify action using an object. |
|
IlrModifyAction(IlrValue object,
IlrStatement[] statements)
Constructs a modify action using an object and initializes the block using the passed statement block. |
Method Summary | |
---|---|
void |
addStatement(IlrStatement statement)
Adds a statement to this action. |
Enumeration |
enumerateStatements()
Returns an enumeration to visit all the statements of this action. |
Object |
exploreStatement(IlrFactoryExplorer explorer)
Explores this statement using a factory explorer. |
IlrValue |
getObject()
Gets the object modified by this action. |
int |
getStatementCount()
Gets the number of statements in this action. |
IlrStatement[] |
getStatements()
Gets the statements in this action. |
boolean |
isFlushing()
Checks the type of modification to the object. |
void |
removeStatement(IlrStatement statement)
Removes a statement from the statement list of this action. |
void |
setFlushing(boolean flag)
Changes the way the object is modified. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public IlrModifyAction(IlrValue object)
object
- The object to be modified.public IlrModifyAction(IlrValue object, IlrStatement[] statements)
object
- The object to be modified.statements
- The statement block.Method Detail |
---|
public final IlrValue getObject()
public final void setFlushing(boolean flag)
true
when a relational modification is requested.
flag
- The flag which controls the type of
modification.public final boolean isFlushing()
true
when the modification is relational, and
false
when the modification is the default one.public final void addStatement(IlrStatement statement)
statement
- The statement to be added.public final void removeStatement(IlrStatement statement)
statement
- The statement to be removed.public final int getStatementCount()
public final IlrStatement[] getStatements()
public final Enumeration enumerateStatements()
public Object exploreStatement(IlrFactoryExplorer explorer)
explorer
- The factory explorer.
null
if the method does not return a value.
|
Rule Execution Server API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |