Method Summary |
|
public boolean | add(Object element) Method to add an element to the LinkedHashSet. |
public boolean | addAll(Collection elements) Method to add a collection to the LinkedHashSet. |
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 void | clear() |
public Object | clone() Creates and returns a copy of this object. |
public boolean | contains(Object element) Accessor for whether an element is contained in this Set. |
public synchronized boolean | containsAll(java.util.Collection c) Accessor for whether a collection is contained in this Set. |
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 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 synchronized int | hashCode() Hashcode operator. |
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 LinkedHashSet is empty. |
public Iterator | iterator() Accessor for an iterator for the Set. |
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 boolean | remove(Object element) Method to remove an element from the LinkedHashSet. |
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 boolean | removeAll(java.util.Collection elements) Method to remove all elements from the collection from the LinkedHashSet. |
public synchronized boolean | retainAll(java.util.Collection c) Method to retain a Collection of elements (and remove all others). |
public int | size() Accessor for the size of the LinkedHashSet. |
public Object[] | toArray() Method to return the list as an array. |
public 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. |