|
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.IlrBaseTest ilog.rules.factory.IlrOccursinTest
@Deprecated public final class IlrOccursinTest
This class represents unary temporal tests, corresponding to the
occursin
construct 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 | |
---|---|
IlrOccursinTest(IlrValue event,
IlrValue lowerBound,
IlrValue upperBound)
Deprecated. Constructs an occursin test, testing whether an event
occurred within the two time instants, inclusive. |
Method Summary | |
---|---|
Object |
exploreTest(IlrFactoryExplorer explorer)
Deprecated. Explores this unary temporal test using a factory explorer and returns an object as a result. |
IlrValue |
getEvent()
Deprecated. Returns the event involved in the test, or null if the test
was constructed with an object which is not an event. |
IlrValue |
getLowerBound()
Deprecated. Returns the lower bound of the interval for the event occurrence time. |
IlrValue |
getUpperBound()
Deprecated. Returns the upper bound of the interval for the event occurrence time. |
void |
setEvent(IlrValue event)
Deprecated. Sets the object on which the test applies. |
void |
setLowerBound(IlrValue lowerBound)
Deprecated. Sets the lower bound of the interval for the event occurrence time. |
void |
setUpperBound(IlrValue upperBound)
Deprecated. Sets the upper bound of the interval for the event occurrence time. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public IlrOccursinTest(IlrValue event, IlrValue lowerBound, IlrValue upperBound)
occursin
test, testing whether an event
occurred within the two time instants, inclusive.
event
- The object on which the test applies. Must be an event
(otherwise the getEvent
method will return
null
).lowerBound
- The minimal value for the event occurrence time,
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.upperBound
- The maximal value for the event occurrence time,
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.IlrValue.isEvent()
,
IlrValue.testOccursin(ilog.rules.factory.IlrValue, ilog.rules.factory.IlrValue)
Method Detail |
---|
public final IlrValue getEvent()
null
if the test
was constructed with an object which is not an event.
public final void setEvent(IlrValue event)
getEvent
method will return null
.
event
- The event on which the test applies.public final IlrValue getLowerBound()
public final void setLowerBound(IlrValue lowerBound)
lowerBound
- The minimal value for the event occurrence time,
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.public final IlrValue getUpperBound()
public final void setUpperBound(IlrValue upperBound)
upperBound
- The maximal value for the event occurrence time,
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.public final Object exploreTest(IlrFactoryExplorer explorer)
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 |