| java.lang.Object org.ozoneDB.OzoneObject
All known Subclasses: org.ozoneDB.xml.util.XMLContainerHelperImpl, org.ozoneDB.test.tx.UserImpl, org.ozoneDB.xml.dom.NamedNodeMapImpl, org.ozoneDB.xml.core.XMLCollectionImpl, org.ozoneDB.blob.BLOBPageImpl, org.ozoneDB.xml.dom.NodeImpl, org.ozoneDB.blob.BLOBContainerImpl, org.ozoneDB.test.simple.AutoImpl, org.ozoneDB.test.args.ArgsImpl, org.ozoneDB.test.simple.GarageImpl, org.ozoneDB.test.tx.GroupImpl, test.openxml.DataImpl, db.HelloImpl, test.odmg.Auto, org.ozoneDB.core.OzoneSupportObject,
OzoneObject | public class OzoneObject implements OzoneCompatible(Code) | | This class can be extended to build actual database objects. It provides a
default implementation of the
OzoneCompatible interface.
author: SMB version: $Revision: 1.4 $Date: 2002/07/12 09:25:11 $ |
serialVersionUID | final static long serialVersionUID(Code) | | |
deleteRecursive | public void deleteRecursive()(Code) | | |
getObjectID | public ObjectID getObjectID()(Code) | | Returns the ObjectID of the represented ozone object. ObjectIDs are equal for equal
ozone objects and different for different ozone objects. They are comparable, so that
ozone objects may use
ObjectID#compareTo) in comparison functions. Currently, ObjectID exposes other methods than
ObjectID#equals) and ObjectID#compareTo). However, they should not be used, as ObjectIDs shouldbe, apart from this methods, opaque. |
handle | public String handle()(Code) | | Retrieves a handle to a specific instance of an OzoneObject. A handle is
the externalizeable equivalent of OzoneProxy. The purpose of handles is to enable
detached systems (such as web interfaces) that are not able to use OzoneProxy
objects directly a means to access specific objects where object naming is not
practical or convenient. A handle is valid for the lifetime of
the OzoneObject it references. Unlike OzoneProxy, retrieving a handle on an
object does nothing to guarantee its existence. While the handle is valid
for the lifetime of the object it refers to, that object's lifetime may
be shorter than the handle's.
The resultant string representation will be composed
entirely of alphanumeric characters [A-Z], [a-z], and [0-9]; as such,
it can safely and reliably be used in URLs without need for escaping.
|
hashCode | public int hashCode()(Code) | | |
onCreate | public void onCreate() throws Exception(Code) | | This default implementation of the onCreate() method does nothing.
|
onDelete | public void onDelete() throws Exception(Code) | | This default implementation of the onDelete() method does nothing.
|
toXML | public boolean toXML(ContentHandler ch) throws SAXException(Code) | | This default implementation of the toSAX() method. It returns just false
to signal that a default value should be used.
|
|
|