public final class IlrArrayElement extends IlrValue implements IlrAssignable
arr[index].
An array element expression is assignable.
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 |
|---|
IlrArrayElement(IlrValue array,
IlrValue[] indexes)
Constructs an array element expression using an array expression
and an index expression.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
exploreAssignable(IlrFactoryExplorer explorer)
Explores the array element as an assignable entity and returns
an object as a result.
|
java.lang.Object |
exploreValue(IlrFactoryExplorer explorer)
Explores the array element as a value and returns an object as a
result.
|
IlrValue |
getArray()
Gets the array value of this expression.
|
IlrValue[] |
getIndexes()
Gets the indexes values of this expression.
|
boolean |
isAssignableFrom(IlrValue value)
Checks whether the array element can be assigned a given value.
|
void |
setIndexes(IlrValue[] indexes)
Changes the indexes values 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, toPrefixIncrclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetTypepublic IlrArrayElement(IlrValue array, IlrValue[] indexes)
IlrReflect object as
array.array - An expression, whose type must be an array.indexes - An array of expressions, whose type must be integer.public IlrValue getArray()
public IlrValue[] getIndexes()
public void setIndexes(IlrValue[] indexes)
indexes - The new indexes values.public boolean isAssignableFrom(IlrValue value)
isAssignableFrom in interface IlrAssignablevalue - The value to be assigned to the array element.true if the assignment is permitted,
false otherwise.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 exploreAssignable(IlrFactoryExplorer explorer)
exploreAssignable in interface IlrAssignableexplorer - The factory explorer.null
if the method does not return a value.© Copyright IBM Corp. 1987, 2017