class VariableReference.VariableRef extends java.lang.Object implements ValueRef
ValueRef.NullValueRef, ValueRef.TypedValueHolderValueRef
Modifier and Type | Field and Description |
---|---|
private EvaluationContext |
eContext |
private java.lang.String |
name |
private TypedValue |
value |
Constructor and Description |
---|
VariableReference.VariableRef(java.lang.String name,
TypedValue value,
EvaluationContext evaluationContext) |
Modifier and Type | Method and Description |
---|---|
TypedValue |
getValue()
Returns the value this ValueRef points to, it should not require expression
component re-evaluation.
|
boolean |
isWritable()
Indicates whether calling setValue(Object) is supported.
|
void |
setValue(java.lang.Object newValue)
Sets the value this ValueRef points to, it should not require expression component
re-evaluation.
|
private java.lang.String name
private TypedValue value
private EvaluationContext eContext
public VariableReference.VariableRef(java.lang.String name, TypedValue value, EvaluationContext evaluationContext)
public TypedValue getValue()
ValueRef
public void setValue(java.lang.Object newValue)
ValueRef
public boolean isWritable()
ValueRef
isWritable
in interface ValueRef