ilog.rules.factory
Class IlrBinaryTemporalTest
- java.lang.Object
-
- ilog.rules.factory.IlrBaseTest
-
- ilog.rules.factory.IlrBinaryTemporalTest
-
- All Implemented Interfaces:
- ilog.rules.factory.IlrSourceElement, IlrTest, java.io.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 thebeforeandafterconstructs 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
Constructors Constructor and Description IlrBinaryTemporalTest()Deprecated.
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Deprecated Methods Modifier and Type Method and Description IlrValuegetFirstEvent()Deprecated.Returns the first event involved in the test, that is, the event on the left-hand side of thebeforeoperator, or the event on the right-hand side of theafteroperator.abstract IlrValuegetLeftEvent()Deprecated.Returns the event on the left-hand side of the operator, that is, the first event in abeforetest, or the second event in anaftertest.IlrValuegetLowerBound()Deprecated.Returns the lower bound of the interval between the event occurrence times.abstract IlrValuegetRightEvent()Deprecated.Returns the event on the right-hand side of the operator, that is, the second event in abeforetest, or the first event in anaftertest.IlrValuegetSecondEvent()Deprecated.Returns the second event involved in the test, that is, the event on the right-hand side of thebeforeoperator, or the event on the left-hand side of theafteroperator.IlrValuegetUpperBound()Deprecated.Returns the upper bound of the interval between the event occurrence times.voidsetFirstEvent(IlrValue event)Deprecated.Sets the first event involved in the test, that is, the event on the left-hand side of thebeforeoperator, or the event on the right-hand side of theafteroperator.abstract voidsetLeftEvent(IlrValue event)Deprecated.Sets the event on the left-hand side of the operator, that is, the first event in abeforetest, or the second event in anaftertest.voidsetLowerBound(IlrValue lowerBound)Deprecated.Sets the lower bound of the interval between the event occurrence times.abstract voidsetRightEvent(IlrValue event)Deprecated.Sets the event on the right-hand side of the operator, that is, the second event in abeforetest, or the first event in anaftertest.voidsetSecondEvent(IlrValue event)Deprecated.Sets the second event involved in the test, that is, the event on the right-hand side of thebeforeoperator, or the event on the left-hand side of theafteroperator.voidsetUpperBound(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
-
-
-
-
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 thebeforeoperator, or the event on the right-hand side of theafteroperator. Returnsnullif 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 thebeforeoperator, or the event on the right-hand side of theafteroperator. The given object must be an event, otherwise the reader methods will returnnull.- 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 thebeforeoperator, or the event on the left-hand side of theafteroperator. Returnsnullif 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 thebeforeoperator, or the event on the left-hand side of theafteroperator. The given object must be an event, otherwise the reader methods will returnnull.- 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 abeforetest, or the second event in anaftertest. Returnsnullif 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 abeforetest, or the second event in anaftertest. The given object must be an event, otherwise the reader methods will returnnull.- 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 abeforetest, or the first event in anaftertest. Returnsnullif 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 abeforetest, or the first event in anaftertest. The given object must be an event, otherwise the reader methods will returnnull.- 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. AnIlrValueevaluating tonullmeans 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. AnIlrValueevaluating tonullmeans that there is no maximum and is thus equivalent to plus infinity.
-
-