Class PersistentObject

All Implemented Interfaces:
Direct Known Subclasses:
AbstractDistribution, EquiDepthHistogram, RandomElement, RandomSampler, RandomSamplingAssistant, RandomSeedGenerator, Timer, WeightedRandomSampler

public abstract class PersistentObject
extends java.lang.Object
implements, java.lang.Cloneable

This empty class is the common root for all persistent capable classes. If this class inherits from java.lang.Object then all subclasses are serializable with the standard Java serialization mechanism. If this class inherits from then all subclasses are additionally serializable with the Objectivity ODBMS persistance mechanism. Thus, by modifying the inheritance of this class the entire tree of subclasses can be switched to Objectivity compatibility (and back) with minimum effort.

See Also:
Serialized Form

Constructor Summary
protected PersistentObject()
          Not yet commented.
Method Summary
 java.lang.Object clone()
          Returns a copy of the receiver.
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail


protected PersistentObject()
Not yet commented.

Method Detail


public java.lang.Object clone()
Returns a copy of the receiver. This default implementation does not nothing except making the otherwise protected clone method public.

clone in class java.lang.Object
a copy of the receiver.