|
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.IlrCondition ilog.rules.factory.IlrTestCondition ilog.rules.factory.IlrClassCondition ilog.rules.factory.IlrCollectCondition
public class IlrCollectCondition
This class represents a collect class condition 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.
IlrCollectElement
,
Serialized Form
Constructor Summary | |
---|---|
IlrCollectCondition(IlrCollectElement element)
Constructs a collect condition using a
default collector. |
|
IlrCollectCondition(IlrCollectElement element,
IlrValue collector)
Constructs a collect condition using a collector passed
as argument. |
Method Summary | |
---|---|
IlrVariable |
bindObject(String name)
Creates a variable to represent the binding of the object matched by this condition. |
Object |
exploreCondition(IlrFactoryExplorer explorer)
Explores the collect condition using a factory explorer and returns an object as a result. |
IlrCollectElement |
getCollectElement()
Gets the collection element of this condition. |
IlrValue |
getCollector()
Gets the collector of this condition. |
IlrVariable |
getObjectBinding()
Gets the object binding of this condition. |
boolean |
hasDefaultCollector()
Check whether the collector is the default collector. |
Methods inherited from class ilog.rules.factory.IlrClassCondition |
---|
bindField, getEnumerator, getEnumeratorClause, getField, setEnumerator |
Methods inherited from class ilog.rules.factory.IlrTestCondition |
---|
addBinding, addTest, enumerateBindings, enumerateTests, getBindingCount, getBindings, getTestCount, getTests, removeBinding, removeTest |
Methods inherited from class ilog.rules.factory.IlrCondition |
---|
getClassName, getObject, getShortClassName, getXOMClassScope, isEventCondition |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public IlrCollectCondition(IlrCollectElement element)
collect
condition using a
default collector. The condition collects element defined by
the collect element passed as argument.
element
- The collect element of the condition.public IlrCollectCondition(IlrCollectElement element, IlrValue collector)
collect
condition using a collector passed
as argument. The condition collects element defined by
the collect element passed as argument.
element
- The collect element of the condition.collector
- A collector.Method Detail |
---|
public IlrVariable bindObject(String name)
IlrCollection
.
name
- The name of the variable binding.
public final IlrVariable getObjectBinding()
null
if the object is
not bound.public IlrValue getCollector()
IlrValue
which represents the collector.public IlrCollectElement getCollectElement()
IlrCollectElement
bound to this condition.public boolean hasDefaultCollector()
true
if the collector is the default one,
false
otherwise.public Object exploreCondition(IlrFactoryExplorer explorer)
exploreCondition
in class IlrCondition
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 |