Method Summary |
|
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() Method to clear the HashMap. |
public Object | clone() Creates and returns 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 | containsKey(Object key) |
public boolean | containsValue(Object value) Method to return if the map contains this value. |
public Object | detachCopy(FetchPlanState state) Method to return a detached copy of the container. |
public java.util.Set | entrySet() Accessor for the set of entries in the Map. |
public synchronized boolean | equals(Object o) Method to check the equality of this map, and another.
Parameters: o - The map to compare against. |
public void | flush() Method to flush the changes to the datastore when operating in queued mode. |
public Object | get(Object key) Accessor for the value stored against a key. |
public String | getFieldName() Accessor for the field name that this HashMap relates to. |
public Object | getOwner() Accessor for the owner that this HashMap relates to. |
public Object | getValue() Accessor for the unwrapped value that we are wrapping. |
public synchronized int | hashCode() Method to generate a hashcode for this Map. |
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() Method to return if the Map is empty. |
public java.util.Set | keySet() Accessor for the set of keys in the Map. |
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 new result object factory for processing of Query
statements. |
public Object | put(Object key, Object value) Method to add a value against a key to the HashMap. |
public void | putAll(java.util.Map m) Method to add the specified Map's values under their keys here. |
public Object | remove(Object key) Method to remove the value for a key from the HashMap. |
public int | size() Method to return the size of the Map. |
public synchronized void | unsetOwner() Method to unset the owner and field details. |
public void | updateEmbeddedKey(Object key, int fieldNumber, Object newValue) Method to update an embedded key in this map. |
public void | updateEmbeddedValue(Object value, int fieldNumber, Object newValue) Method to update an embedded value in this map. |
public Collection | values() Accessor for the set of values in the Map. |
protected Object | writeReplace() The writeReplace method is called when ObjectOutputStream is preparing
to write the object to the stream. |