Package cern.colt

Class PersistentObject

  • All Implemented Interfaces:
    Serializable, Cloneable
    Direct Known Subclasses:
    AbstractCollection, AbstractDistribution, AbstractMap, RandomEngine

    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
    • Constructor Detail

      • PersistentObject

        protected PersistentObject()
        Not yet commented.
    • Method Detail

      • 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.