Method Summary |
|
public void | add(int index, Object element) |
public boolean | add(Object element) |
public boolean | addAll(Collection elements) |
public boolean | addAll(int index, Collection elements) |
public void | addElement(Object element) |
public void | attachCopy(Object value) Method to return an attached copy of the passed (detached) value. |
public synchronized void | clear() |
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 Object | detachCopy(FetchPlanState state) Method to return a detached copy of the container. |
public boolean | empty() Accessor for whether the Stack is empty. |
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 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 Stack 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. |
public void | makeDirty() |
public Object | peek() Method to retrieve the element at the top of the stack. |
public Object | pop() Method to remove the top element in the stack and return it. |
public Object | push(Object element) Method to push an element onto the stack and return it.
Parameters: element - The element to push onto the stack. |
public synchronized boolean | remove(Object element) |
public synchronized boolean | remove(Object element, boolean allowCascadeDelete) |
public Object | remove(int index) Method to remove an element from the Stack
Parameters: index - The element position. |
public boolean | removeAll(Collection elements) |
public void | removeAllElements() Method to remove all elements from the Stack. |
public boolean | removeElement(Object element) |
public void | removeElementAt(int index) |
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) |
public void | setElementAt(Object element, int index) |
public int | size() Accessor for the size of the Stack. |
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 collection. |
protected Object | writeReplace() The writeReplace method is called when ObjectOutputStream is preparing
to write the object to the stream. |