|
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.IlrBinaryTemporalTest ilog.rules.factory.IlrBeforeTest
@Deprecated public final class IlrBeforeTest
This class represents binary temporal tests corresponding to the
before
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 | |
---|---|
IlrBeforeTest(IlrValue leftEvent,
IlrValue rightEvent)
Deprecated. Constructs a before test, testing whether an event occurs
before another. |
|
IlrBeforeTest(IlrValue leftEvent,
IlrValue rightEvent,
IlrValue lowerBound,
IlrValue upperBound)
Deprecated. Constructs a before test, testing whether an event occurs
before another in a given time window. |
Method Summary | |
---|---|
Object |
exploreTest(IlrFactoryExplorer explorer)
Deprecated. Explores this before test using a factory explorer and returns
an object as a result. |
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 |
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. |
void |
setLeftEvent(IlrValue leftEvent)
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 |
setRightEvent(IlrValue rightEvent)
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. |
Methods inherited from class ilog.rules.factory.IlrBinaryTemporalTest |
---|
getFirstEvent, getLowerBound, getSecondEvent, getUpperBound, setFirstEvent, setLowerBound, setSecondEvent, setUpperBound |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public IlrBeforeTest(IlrValue leftEvent, IlrValue rightEvent, IlrValue lowerBound, IlrValue upperBound)
before
test, testing whether an event occurs
before another in a given time window. The constructed test corresponds
to the following construct of the rule language:
left-event before[lower-bound, upper-bound]
right-event
get...Event
methods will return null
.
If either bound evaluates to
null
, this means that there is no minimal or maximal
limit to the occurrence time difference.
leftEvent
- The event on the left-hand side of the
before
operator.rightEvent
- The event on the right-hand side of the
before
operator.lowerBound
- The minimal delay between the event occurrence times,
inclusive, or an IlrValue
evaluating to null
for minus infinity.upperBound
- The maximal delay between the event occurrence times,
inclusive, or an IlrValue
evaluating to null
for plus infinity.IlrValue.isEvent()
,
IlrValue.testBefore(ilog.rules.factory.IlrValue, ilog.rules.factory.IlrValue, ilog.rules.factory.IlrValue)
public IlrBeforeTest(IlrValue leftEvent, IlrValue rightEvent)
before
test, testing whether an event occurs
before another. The constructed test corresponds
to the following construct of the rule language:
left-event before right-event
null
. The objects given as the left- and
right-hand side events must be events; otherwise, the corresponding
get...Event
methods will return null
.
leftEvent
- The event on the left-hand side of the
before
operator.rightEvent
- The event on the right-hand side of the
before
operator.IlrValue.isEvent()
,
IlrValue.testBefore(ilog.rules.factory.IlrValue, ilog.rules.factory.IlrValue, ilog.rules.factory.IlrValue)
Method Detail |
---|
public final IlrValue getLeftEvent()
IlrBinaryTemporalTest
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.
getLeftEvent
in class IlrBinaryTemporalTest
public final void setLeftEvent(IlrValue leftEvent)
IlrBinaryTemporalTest
before
test, or the second event in an
after
test.
The given object must be an event, otherwise the reader methods will
return null
.
setLeftEvent
in class IlrBinaryTemporalTest
leftEvent
- The event on the left-hand side of the test.public final IlrValue getRightEvent()
IlrBinaryTemporalTest
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.
getRightEvent
in class IlrBinaryTemporalTest
public final void setRightEvent(IlrValue rightEvent)
IlrBinaryTemporalTest
before
test, or the first event in an
after
test.
The given object must be an event, otherwise the reader methods will
return null
.
setRightEvent
in class IlrBinaryTemporalTest
rightEvent
- The event on the right-hand side of the operator.public Object exploreTest(IlrFactoryExplorer explorer)
before
test using a factory explorer and returns
an object as a result.
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 |