| java.lang.Object org.apache.ojb.odmg.RuntimeObject
RuntimeObject | final public class RuntimeObject (Code) | | Helper object encapsulates common used object properties/states, help to reduce
needless metadata calls.
author: Armin Waibel version: $Id: RuntimeObject.java,v 1.1.2.7 2005/12/21 22:29:21 tomdz Exp $ |
Constructor Summary | |
public | RuntimeObject(Object obj, TransactionImpl tx) | public | RuntimeObject(Object obj, TransactionImpl tx, boolean isNew) | public | RuntimeObject(Object obj, Identity identity, TransactionImpl tx, boolean isNew) | public | RuntimeObject(Object obj, Identity oid, ClassDescriptor cld, boolean isNew, boolean isProxy) |
getObj | public Object getObj()(Code) | | Return the associated persistent object.
|
getObjMaterialized | public Object getObjMaterialized()(Code) | | Returns the materialized object (if proxy is materialized or a "normal"
persistent object) or null if associated with unmaterialized proxy object.
|
isNew | public boolean isNew()(Code) | | Returns true if the represented object is
not yet persisted.
|
isProxy | public boolean isProxy()(Code) | | |
|
|