|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ListStore
Interface representation of the backing store for a List. Takes the collection methods and extends them for lists.
| Method Summary | |
|---|---|
void |
add(StateManager ownerSM,
int index,
java.lang.Object element)
Method to add an element to the List. |
boolean |
addAll(StateManager ownerSM,
java.util.Collection c,
boolean initialising)
Method to add a collection of elements to the List. |
boolean |
addAll(StateManager ownerSM,
int index,
java.util.Collection c)
Method to add a collection of elements to the List. |
java.lang.Object |
get(StateManager ownerSM,
int index)
Method to retrieve an element from a position in the List. |
int |
indexOf(StateManager ownerSM,
java.lang.Object element)
Method to return the position of an element in the List. |
int |
lastIndexOf(StateManager ownerSM,
java.lang.Object element)
Method to return the last position of an element in the List. |
java.util.ListIterator |
listIterator(StateManager ownerSM)
Accessor for a list iterator for the List. |
java.util.ListIterator |
listIterator(StateManager ownerSM,
int index)
Accessor for a list iterator for the List. |
java.lang.Object |
remove(StateManager ownerSM,
int index)
Method to remove an element from the List. |
java.lang.Object |
set(StateManager ownerSM,
int index,
java.lang.Object element,
boolean allowDependentField)
Method to update an element at a position in the List. |
java.util.List |
subList(StateManager ownerSM,
int from,
int to)
Accessor for a sublist of elements between from and to indices. |
| Methods inherited from interface org.jpox.store.scostore.CollectionStore |
|---|
add, addAll, clear, contains, getElementType, getExistsSubquery, getSizeSubquery, hasOrderMapping, iterator, joinElementsTo, newQueryStatement, newResultObjectFactory, remove, removeAll, size, updateEmbeddedElement |
| Methods inherited from interface org.jpox.store.scostore.Store |
|---|
getOwnerMapping, getStoreManager |
| Method Detail |
|---|
void add(StateManager ownerSM,
int index,
java.lang.Object element)
ownerSM - State Manager for the List.index - Position to add the element.element - Element to add
boolean addAll(StateManager ownerSM,
int index,
java.util.Collection c)
ownerSM - State Manager for the List.index - Position to add the elements.c - Collection of elements to add
boolean addAll(StateManager ownerSM,
java.util.Collection c,
boolean initialising)
ownerSM - State Manager for the List.c - Collection of elements to addinitialising - Whether we are initialising the list with these elements
java.lang.Object remove(StateManager ownerSM,
int index)
ownerSM - State Manager for the List.index - Position to remove the element.
java.lang.Object get(StateManager ownerSM,
int index)
ownerSM - State Manager for the List.index - Position of the element.
java.lang.Object set(StateManager ownerSM,
int index,
java.lang.Object element,
boolean allowDependentField)
ownerSM - State Manager for the List.index - Position of the element.element - The element valueallowDependentField - Whether to enable dependent field during this operation
java.util.List subList(StateManager ownerSM,
int from,
int to)
ownerSM - State Manager for the List.from - Start position (inclusive)to - End position (exclusive)
int indexOf(StateManager ownerSM,
java.lang.Object element)
ownerSM - State Manager for the List.element - The element value
int lastIndexOf(StateManager ownerSM,
java.lang.Object element)
ownerSM - State Manager for the List.element - The element value
java.util.ListIterator listIterator(StateManager ownerSM)
ownerSM - State Manager for the List.
java.util.ListIterator listIterator(StateManager ownerSM,
int index)
ownerSM - State Manager for the List.index - start position of the iterator.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||