|
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
public abstract class IlrClassCondition
This abstract class is the base class of non-temporal rule conditions.
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.
IlrSimpleCondition
,
IlrNotCondition
,
IlrExistsCondition
,
IlrCollectCondition
,
Serialized Form
Method Summary | |
---|---|
IlrVariable |
bindField(String name,
String fieldName)
Creates a variable which represents the binding of a field value. |
IlrValue |
getEnumerator()
Gets the enumerator value of this class condition. |
String |
getEnumeratorClause()
Gets the enumerator clause. |
IlrFieldValue |
getField(String fieldName)
Creates a field value which represents a field of the object matched by this condition. |
void |
setEnumerator(String clause,
IlrValue value)
Sets an enumerator clause. |
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 |
---|
exploreCondition, getClassName, getObject, getShortClassName, getXOMClassScope, isEventCondition |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public final IlrValue getEnumerator()
from
or
in
clauses of the rule language.
null
if the condition does not
have a from
or in
clause.public final String getEnumeratorClause()
"from"
, "in"
or null.
null
if the condition
does not have an enumerator.public final void setEnumerator(String clause, IlrValue value)
"from"
or "in"
.
clause
- Can be "from"
or "in"
.value
- A value, enumerator of the condition.public final IlrFieldValue getField(String fieldName)
fieldName
- The name of the field.
public final IlrVariable bindField(String name, String fieldName)
name
- The name of the variable.fieldName
- The name of the field.
|
Rule Execution Server API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |