public class IlrCollectCondition extends IlrClassCondition
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 and Description |
|---|
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. |
| Modifier and Type | Method and Description |
|---|---|
IlrVariable |
bindObject(java.lang.String name)
Creates a variable to represent the binding of the object matched
by this condition.
|
java.lang.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.
|
bindField, getEnumerator, getEnumeratorClause, getField, setEnumeratoraddBinding, addTest, enumerateBindings, enumerateTests, getBindingCount, getBindings, getTestCount, getTests, removeBinding, removeTestgetClassName, getObject, getShortClassName, getXOMClassScope, isEventConditionpublic 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.public IlrVariable bindObject(java.lang.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 java.lang.Object exploreCondition(IlrFactoryExplorer explorer)
exploreCondition in class IlrConditionexplorer - The factory explorer.null if the method does not return a value.© Copyright IBM Corp. 1987, 2017