Modifier and Type | Method and Description |
---|---|
boolean |
add(ObjectProvider op,
E element,
int size)
Method to add an element to the collection.
|
boolean |
addAll(ObjectProvider op,
Collection<E> elements,
int size)
Method to add a collection of elements to the collection.
|
void |
clear(ObjectProvider op)
Method to clear the collection.
|
boolean |
contains(ObjectProvider op,
Object element)
Method to check if an element exists in the collection.
|
boolean |
hasOrderMapping()
Accessor for whether the store utilises an order mapping.
|
Iterator<E> |
iterator(ObjectProvider op)
Accessor for an iterator for the collection.
|
boolean |
remove(ObjectProvider op,
Object element,
int size,
boolean allowDependentField)
Method to remove an element from the collection.
|
boolean |
removeAll(ObjectProvider op,
Collection elements,
int size)
Method to remove a collection of elements from the collection.
|
int |
size(ObjectProvider op)
Accessor for the size of the collection.
|
void |
update(ObjectProvider op,
Collection coll)
Method to update the collection to be the supplied collection of elements.
|
boolean |
updateEmbeddedElement(ObjectProvider op,
E element,
int fieldNumber,
Object value)
Method to update en embedded element in the collection.
|
getOwnerMemberMetaData, getStoreManager
boolean hasOrderMapping()
boolean updateEmbeddedElement(ObjectProvider op, E element, int fieldNumber, Object value)
op
- ObjectProvider for the owner of the collectionelement
- The elementfieldNumber
- Field to update in the elementvalue
- The new value for the fieldIterator<E> iterator(ObjectProvider op)
op
- ObjectProvider for the owner of the collection.int size(ObjectProvider op)
op
- ObjectProvider for the owner of the collection.boolean contains(ObjectProvider op, Object element)
op
- ObjectProvider for the owner of the collection.element
- Element to checkboolean add(ObjectProvider op, E element, int size)
op
- ObjectProvider for the owner of the collection.element
- Element to addsize
- Current size of the collection if known. -1 if not knownboolean addAll(ObjectProvider op, Collection<E> elements, int size)
op
- ObjectProvider for the owner of the collection.elements
- Elements to addsize
- Current size of collection (if known). -1 if not knownboolean remove(ObjectProvider op, Object element, int size, boolean allowDependentField)
op
- ObjectProvider for the owner of the collection.element
- Element to removesize
- Current size of collection if known. -1 if not knownallowDependentField
- Whether to allow any cascading delete actions to be fired from this removalboolean removeAll(ObjectProvider op, Collection elements, int size)
op
- ObjectProvider for the owner of the collection.elements
- Element to removesize
- Current size of collection if known. -1 if not knownvoid clear(ObjectProvider op)
op
- ObjectProvider for the owner of the collection.void update(ObjectProvider op, Collection coll)
op
- ObjectProvider of the objectcoll
- The collection to useCopyright © 2018. All rights reserved.