|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.exolab.core.foundation.PersistentObject
org.exolab.core.database.recman.PMDHandle
This handle references an object in the PageManaged database. Resolving this object implies fetching by id.
Constructor Summary | |
PMDHandle()
Default constructor. |
|
PMDHandle(PersistentCapableIfc object)
Construct an instance of this class given the specified persistent object. |
Method Summary | |
void |
clearCache()
Clear the cahced object so that a call to resolve will actually refetch the object from the datanase |
boolean |
equals(java.lang.Object object)
Return true if the object id's are the same and false otherwise |
void |
readExternal(java.io.ObjectInput stream)
|
java.lang.Object |
resolve()
Resolve this handle and return a reference to the object or null if it cannot be resolved. |
void |
writeExternal(java.io.ObjectOutput stream)
|
Methods inherited from class org.exolab.core.foundation.PersistentObject |
clone, getId, getMinimumObjectSize, getObjectId, getObjectVersion, getVersion, setId, setMinimumObjectSize, setObjectId, setObjectVersion, setVersion |
Methods inherited from class java.lang.Object |
finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.exolab.core.foundation.PersistentCapableIfc |
getMinimumObjectSize, getObjectId, getObjectVersion, setMinimumObjectSize |
Constructor Detail |
public PMDHandle()
public PMDHandle(PersistentCapableIfc object) throws FailedToCreateHandleException
object
- persistent objectMethod Detail |
public java.lang.Object resolve()
resolve
in interface HandleIfc
public void clearCache()
public boolean equals(java.lang.Object object)
equals
in class PersistentObject
object
- object to compare against
public void writeExternal(java.io.ObjectOutput stream) throws java.io.IOException
writeExternal
in interface java.io.Externalizable
writeExternal
in class PersistentObject
java.io.IOException
public void readExternal(java.io.ObjectInput stream) throws java.io.IOException, java.lang.ClassNotFoundException
readExternal
in interface java.io.Externalizable
readExternal
in class PersistentObject
java.io.IOException
java.lang.ClassNotFoundException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |