private static class VariableReference.VariableRef extends java.lang.Object implements ValueRef
ValueRef.NullValueRef, ValueRef.TypedValueHolderValueRef
Modifier and Type | Field and Description |
---|---|
private EvaluationContext |
evaluationContext |
private java.lang.String |
name |
private TypedValue |
value |
Constructor and Description |
---|
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 final java.lang.String name
private final TypedValue value
private final EvaluationContext evaluationContext
public VariableRef(java.lang.String name, TypedValue value, EvaluationContext evaluationContext)
public TypedValue getValue()
ValueRef
public void setValue(@Nullable java.lang.Object newValue)
ValueRef
public boolean isWritable()
ValueRef
isWritable
in interface ValueRef