public class VariableArray extends VariableBase
Modifier and Type | Class and Description |
---|---|
protected class |
VariableArray.ElementReference
Extend VariableReference class so we capture attempts to set the reference, and actually overwrite the child when that is done
|
Modifier and Type | Field and Description |
---|---|
protected java.util.List<Variable> |
array |
ATTRIBUTE_BOOLEAN, ATTRIBUTE_CREATEDSTATUS, ATTRIBUTE_DICT, ATTRIBUTE_FLOAT, ATTRIBUTE_INT, ATTRIBUTE_NOTFOUNDSTATUS, ATTRIBUTE_OKSTATUS, ATTRIBUTE_SCRIPT, ATTRIBUTE_SIZE, ATTRIBUTE_STRING, ATTRIBUTE_TYPE, ATTRIBUTE_UNAUTHORIZEDSTATUS, ATTRIBUTE_VALUE
Constructor and Description |
---|
VariableArray() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
VariableReference |
getAttribute(java.lang.String attributeName)
Get a named attribute of the variable; e.g.
|
VariableReference |
getIndexed(Variable index)
Get an indexed property of the variable
|
java.lang.String |
getScriptValue()
Get the variable's script value
|
int |
hashCode() |
boolean |
hasScriptValue()
Check if the variable has a script value
|
void |
insertAt(Variable v,
Variable index)
Insert an object into this variable at a position.
|
void |
removeAt(Variable index)
Delete an object from this variable at a position.
|
ampersand, asterisk, composeMessage, doubleAmpersand, doubleEquals, doublePipe, exclamationEquals, getBooleanValue, getConfigurationNodeValue, getConfigurationValue, getDoubleValue, getIntValue, getQueryArgumentValue, getStringValue, getURLPathValue, greaterAngle, greaterAngleEquals, hasBooleanValue, hasConfigurationNodeValue, hasConfigurationValue, hasDoubleValue, hasIntValue, hasQueryArgumentValue, hasStringValue, hasURLPathValue, isNull, lesserAngle, lesserAngleEquals, minus, pipe, plus, resolve, setReference, slash, unaryExclamation, unaryMinus
protected java.util.List<Variable> array
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public boolean hasScriptValue() throws ScriptException
hasScriptValue
in interface Variable
hasScriptValue
in class VariableBase
ScriptException
public java.lang.String getScriptValue() throws ScriptException
getScriptValue
in interface Variable
getScriptValue
in class VariableBase
ScriptException
public VariableReference getAttribute(java.lang.String attributeName) throws ScriptException
getAttribute
in interface Variable
getAttribute
in class VariableBase
ScriptException
public VariableReference getIndexed(Variable index) throws ScriptException
getIndexed
in interface Variable
getIndexed
in class VariableBase
ScriptException
public void insertAt(Variable v, Variable index) throws ScriptException
insertAt
in interface Variable
insertAt
in class VariableBase
ScriptException
public void removeAt(Variable index) throws ScriptException
removeAt
in interface Variable
removeAt
in class VariableBase
ScriptException