Package cern.colt

Class PersistentObject

java.lang.Object
cern.colt.PersistentObject
All Implemented Interfaces:
Serializable, Cloneable
Direct Known Subclasses:
AbstractBin, AbstractCollection, AbstractDistribution, AbstractFormatter, AbstractMap, AbstractMatrix, Algebra, Benchmark, BitMatrix, BitVector, Buffer, BufferSet, DoubleBuffer, DoubleBuffer2D, DoubleBuffer3D, DoubleFactory1D, DoubleFactory2D, DoubleFactory3D, DoubleQuantileEstimator, EquiDepthHistogram, ExactDoubleQuantileFinder, IntBuffer, IntBuffer2D, IntBuffer3D, ObjectBuffer, ObjectFactory1D, ObjectFactory2D, ObjectFactory3D, Property, RandomEngine, RandomSampler, RandomSamplingAssistant, RandomSeedGenerator, Sorting, Sorting, 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:
  • Field Details

  • Constructor Details

    • PersistentObject

      protected PersistentObject()
      Not yet commented.
  • Method Details

    • clone

      public 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 Object
      Returns:
      a copy of the receiver.