|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.ojb.odmg.RuntimeObject
Helper object encapsulates common used object properties/states, help to reduce needless metadata calls.
Constructor Summary | |
RuntimeObject(java.lang.Object obj,
Identity oid,
ClassDescriptor cld,
boolean isNew,
boolean isProxy)
|
|
RuntimeObject(java.lang.Object obj,
Identity identity,
TransactionImpl tx,
boolean isNew)
|
|
RuntimeObject(java.lang.Object obj,
TransactionImpl tx)
|
|
RuntimeObject(java.lang.Object obj,
TransactionImpl tx,
boolean isNew)
|
Method Summary | |
ClassDescriptor |
getCld()
Returns the associated object ClassDescriptor . |
IndirectionHandler |
getHandler()
|
Identity |
getIdentity()
Returns the associated object Identity . |
java.lang.Object |
getObj()
Return the associated persistent object. |
java.lang.Object |
getObjMaterialized()
Returns the materialized object (if proxy is materialized or a "normal" persistent object) or null if associated with unmaterialized proxy object. |
boolean |
isNew()
|
boolean |
isProxy()
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public RuntimeObject(java.lang.Object obj, TransactionImpl tx)
public RuntimeObject(java.lang.Object obj, TransactionImpl tx, boolean isNew)
public RuntimeObject(java.lang.Object obj, Identity identity, TransactionImpl tx, boolean isNew)
public RuntimeObject(java.lang.Object obj, Identity oid, ClassDescriptor cld, boolean isNew, boolean isProxy)
Method Detail |
public java.lang.Object getObj()
public java.lang.Object getObjMaterialized()
public Identity getIdentity()
Identity
.
public ClassDescriptor getCld()
ClassDescriptor
.
public boolean isNew()
public boolean isProxy()
public IndirectionHandler getHandler()
public java.lang.String toString()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |