public final class RuntimeObject
extends java.lang.Object
Constructor and Description |
---|
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) |
Modifier and Type | Method and Description |
---|---|
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()
Returns
true if the represented object is
not yet persisted. |
boolean |
isProxy() |
java.lang.String |
toString() |
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)
public java.lang.Object getObj()
public java.lang.Object getObjMaterialized()
public ClassDescriptor getCld()
ClassDescriptor
.public boolean isNew()
true
if the represented object is
not yet persisted.public boolean isProxy()
public IndirectionHandler getHandler()
public java.lang.String toString()
toString
in class java.lang.Object
(C) 2002 - 2005 Apache Software Foundation
All rights reserved. Published under the Apache License 2.0.
http://db.apache.org/ojb
Version: 1.0.4, 2005-12-30