|
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.IlrConstantValue
public class IlrConstantValue
This class represents a constant value 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.
IlrFactory
,
Serialized Form
Constructor Summary | |
---|---|
IlrConstantValue(IlrReflect reflect,
byte value)
Constructs a constant value using a byte value. |
|
IlrConstantValue(IlrReflect reflect,
char value)
Constructs a constant value using a char value. |
|
IlrConstantValue(IlrReflect reflect,
double value)
Constructs a constant value using a double value. |
|
IlrConstantValue(IlrReflect reflect,
float value)
Constructs a constant value using a float value. |
|
IlrConstantValue(IlrReflect reflect,
int value)
Constructs a constant value using an int value. |
|
IlrConstantValue(IlrReflect reflect,
long value)
Constructs a constant value using a long value. |
|
IlrConstantValue(IlrReflect reflect,
Object value)
Constructs a constant value using any object. |
|
IlrConstantValue(IlrReflect reflect,
Object value,
Class type)
Constructs a constant value using any object and a class. |
|
IlrConstantValue(IlrReflect reflect,
short value)
Constructs a constant value using a short value. |
|
IlrConstantValue(IlrReflect reflect,
String value)
Constructs a constant value using a String value. |
Method Summary | |
---|---|
Object |
exploreValue(IlrFactoryExplorer explorer)
Explores this constant value using a factory explorer and returns an object as a result. |
Object |
getValue()
Gets the value represented by this constant value. |
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 IlrConstantValue(IlrReflect reflect, char value)
char
value.
reflect
- A reflect.value
- The value of this constant value.public IlrConstantValue(IlrReflect reflect, byte value)
byte
value.
reflect
- A reflect.value
- The value of this constant value.public IlrConstantValue(IlrReflect reflect, short value)
short
value.
reflect
- A reflect.value
- The value of this constant value.public IlrConstantValue(IlrReflect reflect, int value)
int
value.
reflect
- A reflect.value
- The value of this constant value.public IlrConstantValue(IlrReflect reflect, long value)
long
value.
reflect
- A reflect.value
- The value of this constant value.public IlrConstantValue(IlrReflect reflect, float value)
float
value.
reflect
- A reflect.value
- The value of this constant value.public IlrConstantValue(IlrReflect reflect, double value)
double
value.
reflect
- A reflect.value
- The value of this constant value.public IlrConstantValue(IlrReflect reflect, String value)
String
value.
reflect
- A reflect.value
- The value of this constant value.public IlrConstantValue(IlrReflect reflect, Object value)
reflect
- A reflect.value
- The value of this constant value.public IlrConstantValue(IlrReflect reflect, Object value, Class type)
reflect
- A reflect.value
- The value of this constant value.type
- The class type of this constant value.Method Detail |
---|
public Object getValue()
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 |