|
ozone API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.ozoneDB.OzoneObject
This class can be extended to build actual database objects. It provides a
default implementation of the OzoneCompatible
interface.
Constructor Summary | |
OzoneObject()
|
Method Summary | |
org.ozoneDB.core.ObjectContainer |
container()
Return the container of the receiver. |
OzoneInterface |
database()
Return the database link |
void |
deleteRecursive()
|
org.ozoneDB.core.ObjectID |
getObjectID()
Returns the ObjectID of the represented ozone object. |
java.lang.String |
handle()
Retrieves a handle to a specific instance of an OzoneObject. |
int |
hashCode()
|
void |
onCreate()
This default implementation of the onCreate() method does nothing. |
void |
onDelete()
This default implementation of the onDelete() method does nothing. |
OzoneProxy |
self()
Return a proxy for the receiver. |
void |
setContainer(org.ozoneDB.core.ObjectContainer _container)
Set the container of the receiver. |
java.lang.String |
toString()
|
boolean |
toXML(org.xml.sax.ContentHandler ch)
This default implementation of the toSAX() method. |
Methods inherited from class java.lang.Object |
equals, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public OzoneObject()
Method Detail |
public int hashCode()
hashCode
in class java.lang.Object
public void setContainer(org.ozoneDB.core.ObjectContainer _container)
OzoneCompatible
setContainer
in interface OzoneCompatible
public OzoneProxy self()
OzoneCompatible
self
in interface OzoneCompatible
public org.ozoneDB.core.ObjectContainer container()
OzoneCompatible
container
in interface OzoneCompatible
public java.lang.String handle()
public OzoneInterface database()
OzoneCompatible
database
in interface OzoneCompatible
public java.lang.String toString()
toString
in class java.lang.Object
public void onCreate() throws java.lang.Exception
onCreate
in interface OzoneCompatible
java.lang.Exception
public void onDelete() throws java.lang.Exception
onDelete
in interface OzoneCompatible
java.lang.Exception
public boolean toXML(org.xml.sax.ContentHandler ch) throws org.xml.sax.SAXException
toXML
in interface OzoneCompatible
org.xml.sax.SAXException
public void deleteRecursive()
public org.ozoneDB.core.ObjectID getObjectID()
Currently, ObjectID exposes other methods than {@link ObjectID#equals) and {@link ObjectID#compareTo). However, they should not be used, as ObjectIDs should be, apart from this methods, opaque.
getObjectID
in interface OzoneCompatibleOrProxy
|
ozone API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |