ValueRef.NullValueRef, ValueRef.TypedValueHolderValueRef
Modifier and Type | Field and Description |
---|---|
private java.lang.Object |
key |
private java.util.Map |
map |
private TypeDescriptor |
mapEntryDescriptor |
private TypeConverter |
typeConverter |
Constructor and Description |
---|
MapIndexingValueRef(TypeConverter typeConverter,
java.util.Map map,
java.lang.Object key,
TypeDescriptor mapEntryDescriptor) |
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 TypeConverter typeConverter
private final java.util.Map map
@Nullable private final java.lang.Object key
private final TypeDescriptor mapEntryDescriptor
public MapIndexingValueRef(TypeConverter typeConverter, java.util.Map map, @Nullable java.lang.Object key, TypeDescriptor mapEntryDescriptor)
public TypedValue getValue()
ValueRef
public void setValue(@Nullable java.lang.Object newValue)
ValueRef
public boolean isWritable()
ValueRef
isWritable
in interface ValueRef