Method Summary |
|
public void | attachCopy(Object value) Method to return an attached copy of the passed (detached) value. |
public void | clear() Method to clear the TreeMap. |
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 Comparator | comparator() Accessor for the comparator. |
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 Object | firstKey() Accessor for the first key in the sorted map. |
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 TreeMap relates to. |
public Object | getOwner() Accessor for the owner that this TreeMap 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 SortedMap | headMap(Object toKey) Method to retrieve the head of the map up to the specified key.
Parameters: toKey - the key to return up to. |
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. |
protected void | initialiseDelegate() Convenience method to set up the delegate respecting any comparator specified in MetaData. |
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 Object | lastKey() Accessor for the last key in the sorted map. |
public void | load() Method to effect the load of the data in the SCO. |
public void | makeDirty() |
public Object | put(Object key, Object value) Method to add a value against a key to the TreeMap. |
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 TreeMap. |
public int | size() Method to return the size of the Map. |
public SortedMap | subMap(Object fromKey, Object toKey) Method to retrieve the subset of the map between the specified keys. |
public SortedMap | tailMap(Object fromKey) Method to retrieve the part of the map after the specified key. |
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. |