Rule Execution Server API

ilog.rules.factory
Class IlrExistsCondition

java.lang.Object
  extended by ilog.rules.factory.IlrCondition
      extended by ilog.rules.factory.IlrTestCondition
          extended by ilog.rules.factory.IlrClassCondition
              extended by ilog.rules.factory.IlrExistsCondition
All Implemented Interfaces:
Serializable

public class IlrExistsCondition
extends IlrClassCondition

This class represents an exists 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.

See Also:
Serialized Form

Constructor Summary
IlrExistsCondition(IlrClass clazz)
          Constructs an exists condition which operates on the instances of the class passed as the argument.
IlrExistsCondition(IlrReflect reflect, Class clazz)
          Constructs an exists condition which operates on the instances of the class passed as the argument.
IlrExistsCondition(IlrReflect reflect, String className)
          Constructs an exists condition which operates on the instances of the class whose name is passed as the argument.
 
Method Summary
 Object exploreCondition(IlrFactoryExplorer explorer)
          Explores this condition using a factory explorer and returns an object as a result.
 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

IlrExistsCondition

public IlrExistsCondition(IlrReflect reflect,
                          Class clazz)
Constructs an exists condition which operates on the instances of the class passed as the argument.

Parameters:
reflect - A reflect.
clazz - The class of the exists. condition.

IlrExistsCondition

public IlrExistsCondition(IlrReflect reflect,
                          String className)
Constructs an exists condition which operates on the instances of the class whose name is passed as the argument.

Parameters:
reflect - A reflect.
className - The fully-qualified name of the class of the exists condition.

IlrExistsCondition

public IlrExistsCondition(IlrClass clazz)
Constructs an exists condition which operates on the instances of the class passed as the argument.

Parameters:
clazz - The class of the exists condition.
Method Detail

setEventCondition

public final void setEventCondition(boolean eventCondition)
Deprecated. As of IBM Decision Server 7.5, event processing is deprecated.

Sets whether the condition is an event condition or not.

Parameters:
eventCondition - is true to mark the condition as an event condition, and false otherwise.

exploreCondition

public Object exploreCondition(IlrFactoryExplorer explorer)
Explores this condition using a factory explorer and returns an object as a result.

Specified by:
exploreCondition in class IlrCondition
Parameters:
explorer - The factory explorer.
Returns:
An object which represents the result of the exploration, or null if the method does not return a value.

Rule Execution Server API

© Copyright IBM Corp. 1987, 2013