|
ILOG JRules | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectilog.rules.factory.IlrValue
ilog.rules.factory.IlrArrayElement
public final class IlrArrayElement
This class represents an array element expression. An array element
expression is an expression of the form arr[index].
An array element expression is assignable.
Warning: Serialized objects of this class will not be compatible with future JRule releases. The current serialization support is appropriate for short term storage or RMI between applications running the same version of JRules.
| Constructor Summary | |
|---|---|
IlrArrayElement(IlrValue array,
IlrValue[] indexes)
Constructs an array element expression using an array expression and an index expression. |
|
| Method Summary | |
|---|---|
Object |
exploreAssignable(IlrFactoryExplorer explorer)
Explores the array element as an assignable entity and returns an object as a result. |
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. |
| 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 |
| Methods inherited from interface ilog.rules.factory.IlrAssignable |
|---|
getType |
| Constructor Detail |
|---|
public 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.| Method Detail |
|---|
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 Object exploreValue(IlrFactoryExplorer explorer)
exploreValue in class IlrValueexplorer - The factory explorer.
null
if the method does not return a value.public Object exploreAssignable(IlrFactoryExplorer explorer)
exploreAssignable in interface IlrAssignableexplorer - The factory explorer.
null
if the method does not return a value.
|
ILOG JRules | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||