public class IlrModifyAction extends IlrAction
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.
flag, statements, value| Constructor and Description |
|---|
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.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addStatement(IlrStatement statement)
Adds a statement to this action.
|
java.util.Enumeration |
enumerateStatements()
Returns an enumeration to visit all the statements of this action.
|
java.lang.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.
|
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.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 java.util.Enumeration enumerateStatements()
public java.lang.Object exploreStatement(IlrFactoryExplorer explorer)
explorer - The factory explorer.null
if the method does not return a value.© Copyright IBM Corp. 1987, 2017