@Deprecated public final class IlrOccursinTest extends IlrBaseTest
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 and Description |
|---|
IlrOccursinTest(IlrValue event,
IlrValue lowerBound,
IlrValue upperBound)
Deprecated.
Constructs an
occursin test, testing whether an event
occurred within the two time instants, inclusive. |
| Modifier and Type | Method and Description |
|---|---|
java.lang.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.
|
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)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 java.lang.Object exploreTest(IlrFactoryExplorer explorer)
explorer - The factory explorer.null if the method does not return a value.© Copyright IBM Corp. 1987, 2017