|
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.IlrValue ilog.rules.factory.IlrIntervalValue
public class IlrIntervalValue
This class implements a value that models an interval of Number.
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.
IlrFactory
,
Serialized Form
Constructor Summary | |
---|---|
IlrIntervalValue(IlrReflect reflect,
IlrValue left,
IlrValue right,
boolean leftopen,
boolean rightopen)
Creates a value modelling an interval of Number. |
Method Summary | |
---|---|
Object |
exploreValue(IlrFactoryExplorer explorer)
Explores this interval value using a factory explorer and returns an object as a result. |
boolean |
getLeftOpen()
Returns a boolean indicating whether the left limit is excluded from the interval or not. |
IlrValue |
getLeftValue()
Returns the value representing the left limit of the interval. |
boolean |
getRightOpen()
Returns a boolean indicating whether the right limit is excluded from the interval or not. |
IlrValue |
getRightValue()
Returns the value representing the right limit of the interval. |
Methods inherited from class ilog.rules.factory.IlrValue |
---|
add, divide, getField, getReflect, getType, getXOMType, invokeEquals, isConstant, isEvent, isEventCondition, isNull, multiply, remainder, subtract, testAfter, testAfter, testBefore, testBefore, testEqual, testFalse, testGreaterOrEqual, testGreaterThan, testIn, testInstanceOf, testLessOrEqual, testLessThan, testNotEqual, testNotIn, testOccursin, testTrue, timeof, toNegative, toPositive, toPostfixDecr, toPostfixIncr, toPrefixDecr, toPrefixIncr |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public IlrIntervalValue(IlrReflect reflect, IlrValue left, IlrValue right, boolean leftopen, boolean rightopen)
IlrValue
objects.
reflect
- A reflect.left
- The left value.right
- The right value.leftopen
- A boolean that tells whether the left limit is included
or excluded from the interval.rightopen
- A boolean that tells whether the right limit is
included or excluded from the interval.Method Detail |
---|
public boolean getLeftOpen()
true
if the left limit is excluded from the
interval.public boolean getRightOpen()
true
if the right limit is excluded from the
interval.public IlrValue getLeftValue()
public IlrValue getRightValue()
public Object exploreValue(IlrFactoryExplorer explorer)
exploreValue
in class IlrValue
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 |