cern.colt
Class PersistentObject
java.lang.Object
|
+--cern.colt.PersistentObject
- All Implemented Interfaces:
- Cloneable, Serializable
- Direct Known Subclasses:
- AbstractBin, AbstractCollection, AbstractDistribution, AbstractFormatter, AbstractMap, AbstractMatrix, Algebra, Benchmark, BitMatrix, BitVector, DoubleBuffer, DoubleBuffer2D, DoubleBuffer3D, DoubleFactory1D, DoubleFactory2D, DoubleFactory3D, EquiDepthHistogram, IntBuffer, IntBuffer2D, IntBuffer3D, ObjectBuffer, ObjectFactory1D, ObjectFactory2D, ObjectFactory3D, Property, RandomElement, RandomSampler, RandomSamplingAssistant, RandomSeedGenerator, Timer, Transform, WeightedRandomSampler
- public abstract class PersistentObject
- extends Object
- implements Serializable, 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
Method Summary |
Object |
clone()
Returns a copy of the receiver. |
clone
public Object clone()
- Returns a copy of the receiver.
This default implementation does not nothing except making the otherwise protected clone method public.
- Returns:
- a copy of the receiver.
Submit a bug or feature. Check the Colt home page for the latest news.