|
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.IlrSimpleCondition
public class IlrSimpleCondition
This class represents a simple 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.
Constructor Summary | |
---|---|
IlrSimpleCondition(IlrClass clazz)
Constructs a simple condition which operates on the
instances of the class passed as the argument. |
|
IlrSimpleCondition(IlrReflect reflect,
Class clazz)
Constructs a simple condition which operates on the
instances of the class passed as the argument. |
|
IlrSimpleCondition(IlrReflect reflect,
String className)
Constructs a simple condition which operates on the
instances of the class whose name is passed as the 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 this condition using a factory explorer and returns an object as a result. |
IlrVariable |
getObjectBinding()
Gets the object binding of this condition. |
void |
setEventCondition(boolean eventCondition)
Deprecated. As of IBM Decision Server 7.5, event processing is deprecated. |
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 IlrSimpleCondition(IlrClass clazz)
simple
condition which operates on the
instances of the class passed as the argument.
clazz
- The class of the simple condition.public IlrSimpleCondition(IlrReflect reflect, Class clazz)
simple
condition which operates on the
instances of the class passed as the argument.
reflect
- A reflect.clazz
- The class of the simple condition.public IlrSimpleCondition(IlrReflect reflect, String className)
simple
condition which operates on the
instances of the class whose name is passed as the argument.
reflect
- A reflect.className
- The fully-qualified name of the
class of the simple condition.Method Detail |
---|
public final void setEventCondition(boolean eventCondition)
eventCondition
- is true
to mark the condition as an
event condition, and false
otherwise.public IlrVariable bindObject(String name)
name
- The name of the variable binding.
public final IlrVariable getObjectBinding()
null
if the object is
not bound.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 |