Interface ArrayStore<E>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidclear(ObjectProvider op)Method to clear the array.List<E>getArray(ObjectProvider op)Method to retrieve the elements of the array.Iterator<E>iterator(ObjectProvider op)Accessor for an iterator for the array.booleanset(ObjectProvider op, Object array)Method to set the elements in the array.intsize(ObjectProvider op)Accessor for the size of the array.-
Methods inherited from interface org.datanucleus.store.types.scostore.Store
getOwnerMemberMetaData, getStoreManager
-
-
-
-
Method Detail
-
iterator
Iterator<E> iterator(ObjectProvider op)
Accessor for an iterator for the array.- Parameters:
op- ObjectProvider for the owner of the array.- Returns:
- Iterator for the array.
-
getArray
List<E> getArray(ObjectProvider op)
Method to retrieve the elements of the array.- Parameters:
op- ObjectProvider for the owner of the array- Returns:
- The List of elements in the array (in the same order)
-
size
int size(ObjectProvider op)
Accessor for the size of the array.- Parameters:
op- ObjectProvider for the owner of the array.- Returns:
- The size of the array.
-
clear
void clear(ObjectProvider op)
Method to clear the array.- Parameters:
op- ObjectProvider for the owner of the array.
-
set
boolean set(ObjectProvider op, Object array)
Method to set the elements in the array.- Parameters:
op- ObjectProvider for the owner of the array.array- The array- Returns:
- Whether the elements were added ok
-
-