public class IlrUnaryValue extends IlrValue implements IlrStatement
IlrUnaryOperator,
which is determined using the type of the argument and the kind of
operation. The method getOperator()
returns that operator. If this method returns null,
it means that the cast expression is not valid.
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 |
|---|
IlrUnaryValue(int kind,
IlrValue argument)
Constructs a unary expression from the value passed as an argument.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
exploreStatement(IlrFactoryExplorer explorer)
Explores this method as a statement using a factory explorer
and returns an object as a result.
|
java.lang.Object |
exploreValue(IlrFactoryExplorer explorer)
Explores the unary value using a factory explorer and returns
an object as a result.
|
IlrValue |
getArgument()
Gets the argument of this expression.
|
int |
getKind()
Gets the kind of the expression.
|
IlrUnaryOperator |
getOperator()
Determines and returns the unary operator used to perform the
operation.
|
void |
setArgument(IlrValue argument)
Changes the argument of this expression.
|
void |
setKind(int kind)
Sets the kind of this expression.
|
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, toPrefixIncrpublic IlrUnaryValue(int kind,
IlrValue argument)
kind - The type of the unary expression, as defined
in IlrUnaryOperator.argument - The argument value.public int getKind()
IlrUnaryOperator.public void setKind(int kind)
kind - The kind of this expression. The possible
values are defined in IlrUnaryOperator.public IlrValue getArgument()
public void setArgument(IlrValue argument)
argument - The argument of this expression.public IlrUnaryOperator getOperator()
null, the unary
operation is not valid.null if the
unary operation is not valid.public java.lang.Object exploreValue(IlrFactoryExplorer explorer)
exploreValue in class IlrValueexplorer - The factory explorer.null if the method does not return a value.public java.lang.Object exploreStatement(IlrFactoryExplorer explorer)
exploreStatement in interface IlrStatementexplorer - The factory explorer.null
if the method does not return a value.© Copyright IBM Corp. 1987, 2017