Method Summary |
|
public void | add(int index, Object element) Method to add an element to a position in the ArrayList. |
public boolean | add(Object element) Method to add an element to the ArrayList. |
public boolean | addAll(Collection elements) Method to add a Collection to the ArrayList. |
public boolean | addAll(int index, Collection elements) Method to add a Collection to a position in the ArrayList. |
protected void | addQueuedOperation(QueuedOperation op) Convenience method to add a queued operation to the operations we perform at commit. |
public void | attachCopy(Object value) Method to return an attached copy of the passed (detached) value. |
public synchronized void | clear() Method to clear the ArrayList. |
public Object | clone() Clone operator to return a copy of this object.
Mutable second-class Objects are required to provide a public clone
method in order to allow for copying
PersistenceCapable objects. |
public boolean | contains(Object element) Method to return if the list contains this element. |
public synchronized boolean | containsAll(java.util.Collection c) Accessor for whether a collection of elements are contained here.
Parameters: c - The collection of elements. |
public Object | detachCopy(FetchPlanState state) Method to return a detached copy of the container. |
public synchronized boolean | equals(Object o) Equality operator.
Parameters: o - The object to compare against. |
public void | flush() Method to flush the changes to the datastore when operating in queued mode. |
public Object | get(int index) Method to retrieve an element no. |
public Class | getElementType() Accessor for the element type. |
public String | getFieldName() Accessor for the field name. |
public Object | getOwner() Accessor for the owner object. |
public Object | getValue() Accessor for the unwrapped value that we are wrapping. |
public int | indexOf(Object element) Method to the position of an element.
Parameters: element - The element. |
public void | initialise(Object o, boolean forInsert, boolean forUpdate) Method to initialise the SCO from an existing value. |
public void | initialise() Method to initialise the SCO for use. |
public boolean | isEmpty() Accessor for whether the ArrayList is empty. |
public Iterator | iterator() Method to retrieve an iterator for the list. |
public int | lastIndexOf(Object element) Method to retrieve the last position of the element. |
public ListIterator | listIterator() Method to retrieve a List iterator for the list. |
public ListIterator | listIterator(int index) Method to retrieve a List iterator for the list from the index. |
public void | load() Method to effect the load of the data in the SCO. |
protected void | loadFromStore() Method to load all elements from the "backing store" where appropriate. |
public void | makeDirty() |
public synchronized QueryExpression | newQueryStatement() Method to generate a QueryStatement for the SCO. |
public synchronized QueryExpression | newQueryStatement(Class candidateClass, DatastoreIdentifier candidateAlias) Method to return a QueryStatement, using the specified candidate class. |
public synchronized ResultObjectFactory | newResultObjectFactory(QueryExpression stmt, boolean ignoreCache, Class resultClass, boolean useFetchPlan) Method to return a ResultObjectFactory for the SCO. |
public synchronized boolean | remove(Object element) |
public boolean | remove(Object element, boolean allowCascadeDelete) Method to remove an element from the collection, and observe the flag for whether to allow cascade delete. |
public synchronized Object | remove(int index) Method to remove an element from the ArrayList.
Parameters: index - The element position. |
public boolean | removeAll(Collection elements) Method to remove a collection of elements from the List. |
public synchronized boolean | retainAll(java.util.Collection c) Method to retain a Collection of elements (and remove all others). |
public Object | set(int index, Object element, boolean allowDependentField) JPOX wrapper addition that allows turning off of the dependent-field checks
when doing the position setting. |
public Object | set(int index, Object element) Method to set the element at a position in the ArrayList. |
public int | size() Accessor for the size of the ArrayList. |
public synchronized java.util.List | subList(int from, int to) |
public synchronized Object[] | toArray() Method to return the list as an array. |
public synchronized Object[] | toArray(Object a) Method to return the list as an array. |
public synchronized void | unsetOwner() Method to unset the owner and field information. |
public void | updateEmbeddedElement(Object element, int fieldNumber, Object value) Method to update an embedded element in this list. |
protected Object | writeReplace() The writeReplace method is called when ObjectOutputStream is preparing
to write the object to the stream. |