E - the type of the elementspublic abstract class PluralPropertyContents<E> extends Object
PluralProperty to use a common interface during import, independent of the actual
subtype.| Constructor and Description |
|---|
PluralPropertyContents() |
| Modifier and Type | Method and Description |
|---|---|
void |
addElement(E element)
Adds an element to the end of the collection.
|
static <E,C,V> PluralPropertyContents<V> |
create(E entity,
PluralProperty<E,C,V> property)
Creates a wrapper around the contents of the given property in the given entity.
|
abstract void |
setElement(int index,
Object key,
E element)
Sets an element in the collection resp. map.
|
public static <E,C,V> PluralPropertyContents<V> create(E entity, PluralProperty<E,C,V> property)
entity - the entity that contains the propertyproperty - the propertypublic void addElement(E element)
element - the element to add to the end of the collectionCopyright © 2020 fastnate.org. All rights reserved.