Rule Execution Server API

ilog.rules.factory
Class IlrBinaryTemporalTest

java.lang.Object
  extended by ilog.rules.factory.IlrBaseTest
      extended by ilog.rules.factory.IlrBinaryTemporalTest
All Implemented Interfaces:
ilog.rules.factory.IlrSourceElement, IlrTest, Serializable
Direct Known Subclasses:
IlrAfterTest, IlrBeforeTest

Deprecated. As of IBM Decision Server 7.5, event processing is deprecated.

@Deprecated
public abstract class IlrBinaryTemporalTest
extends IlrBaseTest

This abstract class represents binary temporal tests, corresponding to the before and after constructs 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
IlrBinaryTemporalTest()
          Deprecated.  
 
Method Summary
 IlrValue getFirstEvent()
          Deprecated. Returns the first event involved in the test, that is, the event on the left-hand side of the before operator, or the event on the right-hand side of the after operator.
abstract  IlrValue getLeftEvent()
          Deprecated. Returns the event on the left-hand side of the operator, that is, the first event in a before test, or the second event in an after test.
 IlrValue getLowerBound()
          Deprecated. Returns the lower bound of the interval between the event occurrence times.
abstract  IlrValue getRightEvent()
          Deprecated. Returns the event on the right-hand side of the operator, that is, the second event in a before test, or the first event in an after test.
 IlrValue getSecondEvent()
          Deprecated. Returns the second event involved in the test, that is, the event on the right-hand side of the before operator, or the event on the left-hand side of the after operator.
 IlrValue getUpperBound()
          Deprecated. Returns the upper bound of the interval between the event occurrence times.
 void setFirstEvent(IlrValue event)
          Deprecated. Sets the first event involved in the test, that is, the event on the left-hand side of the before operator, or the event on the right-hand side of the after operator.
abstract  void setLeftEvent(IlrValue event)
          Deprecated. Sets the event on the left-hand side of the operator, that is, the first event in a before test, or the second event in an after test.
 void setLowerBound(IlrValue lowerBound)
          Deprecated. Sets the lower bound of the interval between the event occurrence times.
abstract  void setRightEvent(IlrValue event)
          Deprecated. Sets the event on the right-hand side of the operator, that is, the second event in a before test, or the first event in an after test.
 void setSecondEvent(IlrValue event)
          Deprecated. Sets the second event involved in the test, that is, the event on the right-hand side of the before operator, or the event on the left-hand side of the after operator.
 void setUpperBound(IlrValue upperBound)
          Deprecated. Sets the upper bound of the interval between the event occurrence times.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface ilog.rules.factory.IlrTest
exploreTest
 

Constructor Detail

IlrBinaryTemporalTest

public IlrBinaryTemporalTest()
Deprecated. 
Method Detail

getFirstEvent

public final IlrValue getFirstEvent()
Deprecated. 
Returns the first event involved in the test, that is, the event on the left-hand side of the before operator, or the event on the right-hand side of the after operator. Returns null if the test was constructed with an object which is not an event.

Returns:
The first event involved in the test.

setFirstEvent

public final void setFirstEvent(IlrValue event)
Deprecated. 
Sets the first event involved in the test, that is, the event on the left-hand side of the before operator, or the event on the right-hand side of the after operator. The given object must be an event, otherwise the reader methods will return null.

Parameters:
event - The first event involved in the test.

getSecondEvent

public final IlrValue getSecondEvent()
Deprecated. 
Returns the second event involved in the test, that is, the event on the right-hand side of the before operator, or the event on the left-hand side of the after operator. Returns null if the test was constructed with an object which is not an event.

Returns:
The second event involved in the test.

setSecondEvent

public final void setSecondEvent(IlrValue event)
Deprecated. 
Sets the second event involved in the test, that is, the event on the right-hand side of the before operator, or the event on the left-hand side of the after operator. The given object must be an event, otherwise the reader methods will return null.

Parameters:
event - The second event involved in the test.

getLeftEvent

public abstract IlrValue getLeftEvent()
Deprecated. 
Returns the event on the left-hand side of the operator, that is, the first event in a before test, or the second event in an after test. Returns null if the test was constructed with an object which is not an event.

Returns:
The event on the left-hand side of the operator.

setLeftEvent

public abstract void setLeftEvent(IlrValue event)
Deprecated. 
Sets the event on the left-hand side of the operator, that is, the first event in a before test, or the second event in an after test. The given object must be an event, otherwise the reader methods will return null.

Parameters:
event - The event on the left-hand side of the test.

getRightEvent

public abstract IlrValue getRightEvent()
Deprecated. 
Returns the event on the right-hand side of the operator, that is, the second event in a before test, or the first event in an after test. Returns null if the test was constructed with an object which is not an event.

Returns:
The event on the right-hand side of the operator.

setRightEvent

public abstract void setRightEvent(IlrValue event)
Deprecated. 
Sets the event on the right-hand side of the operator, that is, the second event in a before test, or the first event in an after test. The given object must be an event, otherwise the reader methods will return null.

Parameters:
event - The event on the right-hand side of the operator.

getLowerBound

public final IlrValue getLowerBound()
Deprecated. 
Returns the lower bound of the interval between the event occurrence times.

Returns:
The lower bound of the interval between the event occurrence times.

setLowerBound

public final void setLowerBound(IlrValue lowerBound)
Deprecated. 
Sets the lower bound of the interval between the event occurrence times.

Parameters:
lowerBound - The minimal delay between the event occurrences, inclusive, for the test to be satisfied. An IlrValue evaluating to null means that there is no minimum and is thus equivalent to minus infinity.

getUpperBound

public final IlrValue getUpperBound()
Deprecated. 
Returns the upper bound of the interval between the event occurrence times.

Returns:
The upper bound of the interval between the event occurrence times.

setUpperBound

public final void setUpperBound(IlrValue upperBound)
Deprecated. 
Sets the upper bound of the interval between the event occurrence times.

Parameters:
upperBound - The maximal delay between the events occurrences, inclusive, for the test to be satisfied. An IlrValue evaluating to null means that there is no maximum and is thus equivalent to plus infinity.

Rule Execution Server API

© Copyright IBM Corp. 1987, 2013