|
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.IlrStatementBlock ilog.rules.factory.IlrForeachStatement
public class IlrForeachStatement
This class represents a foreach
instruction 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.
Constructor Summary | |
---|---|
IlrForeachStatement(IlrType type,
String name,
IlrValue collection,
IlrStatement[] stats)
Constructs a foreach instruction. |
Method Summary | |
---|---|
Object |
exploreStatement(IlrFactoryExplorer explorer)
Explores this method call as a statement using a factory explorer. |
IlrValue |
getCollection()
Returns the collection. |
String |
getName()
Returns the name of the local variable declared in the foreach . |
IlrType |
getXOMType()
Returns the type of the local variable declared in the foreach . |
Methods inherited from class ilog.rules.factory.IlrStatementBlock |
---|
addStatement, enumerateStatements, getStatementCount, getStatements, removeStatement |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public IlrForeachStatement(IlrType type, String name, IlrValue collection, IlrStatement[] stats)
foreach
instruction.
type
- The type of the foreach
local variable.name
- The name of the foreach
local variable.collection
- The collection on which to iterate.stats
- The block of instructions of the foreach
statement.Method Detail |
---|
public Object exploreStatement(IlrFactoryExplorer explorer)
explorer
- The factory explorer.
null
if the method does not return a value.public String getName()
foreach
.
public IlrValue getCollection()
IlrValue
representing the collection.public IlrType getXOMType()
foreach
.
IlrType
representing the type of the
local variable.
|
Rule Execution Server API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |