Rule Execution Server API

ilog.rules.factory
Class IlrCondition

java.lang.Object
  extended by ilog.rules.factory.IlrCondition
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
IlrTestCondition, IlrTimeCondition

public abstract class IlrCondition
extends Object
implements Serializable

This class is the base class of all the 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.

See Also:
Serialized Form

Method Summary
abstract  Object exploreCondition(IlrFactoryExplorer explorer)
          Explores a condition using a factory explorer and returns an object as a result.
 String getClassName()
          Gets the fully-qualified class name of the condition.
 IlrObjectValue getObject()
          Gets the object manipulated by this condition as a value.
 String getShortClassName()
          Gets the short class name of the condition.
 IlrType getXOMClassScope()
          Gets the XOM type of the condition.
 boolean isEventCondition()
          Deprecated. As of IBM Decision Server 7.5, event processing is deprecated.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getXOMClassScope

public final IlrType getXOMClassScope()
Gets the XOM type of the condition.

Returns:
The XOM type of the condition.

getClassName

public final String getClassName()
Gets the fully-qualified class name of the condition.

Returns:
The fully-qualified class name of the condition.

getShortClassName

public final String getShortClassName()
Gets the short class name of the condition.

Returns:
The short class name of the condition.

isEventCondition

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

Tests whether the condition is an event condition or not.

Returns:
true if an event condition, and false otherwise.

getObject

public final IlrObjectValue getObject()
Gets the object manipulated by this condition as a value.

Returns:
The object manipulated by this condition as a value.

exploreCondition

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

Parameters:
explorer - The factory explorer.
Returns:
An object, or null if the exploration does not return a value.

Rule Execution Server API

© Copyright IBM Corp. 1987, 2013