cern.colt
Class PersistentObject

java.lang.Object
  |
  +--cern.colt.PersistentObject
All Implemented Interfaces:
java.lang.Cloneable, java.io.Serializable
Direct Known Subclasses:
AbstractDistribution, EquiDepthHistogram, RandomElement, RandomSampler, RandomSamplingAssistant, RandomSeedGenerator, Timer, WeightedRandomSampler

public abstract class PersistentObject
extends java.lang.Object
implements java.io.Serializable, 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 com.objy.db.app.ooObj 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

PersistentObject

protected PersistentObject()
Not yet commented.

Method Detail

clone

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.

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