| java.util.Hashtable com.triactive.jdo.sco.Hashtable
Hashtable | public class Hashtable extends java.util.Hashtable implements SCOMap,Cloneable(Code) | | A mutable second-class Hashtable object.
SCO fields declared as type java.util.Hashtable are populated with objects of
this type whenever the owning object is actively being managed by a state
manager.
This class is almost identical to
HashMap , except it inherits from
java.util.Hashtable.
Remember that any changes made to either of them will most likely need to be
made to both.
author: Mike Martin version: $Revision: 1.1 $ See Also: HashMap |
Hashtable | public Hashtable(Object owner, String fieldName, MapStore mapStore)(Code) | | Constructs an SCO Hashtable representing an existing persistent map.
The map's contents are initially not loaded.
Parameters: owner - The object that owns this second-class object. Parameters: fieldName - The fieldName in the owning object. Parameters: mapStore - The backing store for this map. |
Hashtable | public Hashtable(Object owner, String fieldName, MapStore mapStore, Map value)(Code) | | Constructs an SCO Hashtable having the specified initial contents.
If the owning object is already persistent it is assumed its field is
being assigned an entirely new value.
The existing map contents are cleared in the data store and the new
contents are added.
Parameters: owner - The object that owns this second-class object. Parameters: fieldName - The fieldName in the owning object. Parameters: mapStore - The backing store for this map. Parameters: value - The initial contents of the map. |
allowsNullValues | public boolean allowsNullValues()(Code) | | |
applyUpdates | public void applyUpdates()(Code) | | |
clear | public void clear()(Code) | | |
clone | public Object clone()(Code) | | 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. In contrast to Object.clone(), this method must not throw a
CloneNotSupportedException.
|
containsValue | public boolean containsValue(Object value)(Code) | | |
hashCode | public int hashCode()(Code) | | |
isEmpty | public boolean isEmpty()(Code) | | |
makeDirty | public void makeDirty()(Code) | | |
unsetOwner | public void unsetOwner()(Code) | | |
writeReplace | protected Object writeReplace() throws ObjectStreamException(Code) | | Replaces the object to be serialized with a java.util.Hashtable object.
Invoked by the serialization mechanism to obtain an alternative object
to be used when writing an object to the stream.
The Hashtable to be serialized instead of this object. |
|
|