ValueRef.NullValueRef, ValueRef.TypedValueHolderValueRef
Modifier and Type | Field and Description |
---|---|
private java.util.Collection |
collection |
private TypeDescriptor |
collectionEntryDescriptor |
private boolean |
growCollection |
private int |
index |
private int |
maximumSize |
private TypeConverter |
typeConverter |
Constructor and Description |
---|
CollectionIndexingValueRef(java.util.Collection collection,
int index,
TypeDescriptor collectionEntryTypeDescriptor,
TypeConverter typeConverter,
boolean growCollection,
int maximumSize) |
Modifier and Type | Method and Description |
---|---|
TypedValue |
getValue()
Returns the value this ValueRef points to, it should not require expression
component re-evaluation.
|
private void |
growCollectionIfNecessary() |
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.util.Collection collection
private final int index
private final TypeDescriptor collectionEntryDescriptor
private final TypeConverter typeConverter
private final boolean growCollection
private final int maximumSize
public CollectionIndexingValueRef(java.util.Collection collection, int index, TypeDescriptor collectionEntryTypeDescriptor, TypeConverter typeConverter, boolean growCollection, int maximumSize)
public TypedValue getValue()
ValueRef
public void setValue(@Nullable java.lang.Object newValue)
ValueRef
private void growCollectionIfNecessary()
public boolean isWritable()
ValueRef
isWritable
in interface ValueRef