public class PersistentObjectAccess extends Object implements ObjectAccessIF
| Modifier and Type | Field and Description |
|---|---|
protected TransactionIF |
txn |
| Constructor and Description |
|---|
PersistentObjectAccess(TransactionIF txn) |
| Modifier and Type | Method and Description |
|---|---|
IdentityIF |
getIdentity(Object object)
INTERNAL: Returns the identity of the specified object handle.
|
Object |
getObject(IdentityIF identity)
INTERNAL: Returns a handle for the specified value.
|
Class<?> |
getType(Object object)
INTERNAL: Returns the type of the specified object handle.
|
Object |
getValue(Object object,
FieldInfoIF finfo)
INTERNAL: Returns the object field value.
|
boolean |
isDirty(Object object)
INTERNAL: Returns true if the specified object is dirty.
|
boolean |
isDirty(Object object,
int field)
INTERNAL: Returns true if the specified object field is dirty.
|
int |
nextDirty(Object object,
int start)
INTERNAL: Returns the index of the next dirty field from and
including the start index.
|
int |
nextDirty(Object object,
int start,
int end)
INTERNAL: Returns the index of the next dirty field from and
including start, up until end, but not including end.
|
void |
setDirtyFlushed(Object object,
int field)
INTERNAL: Marks the dirty fields as being flushed (stored in the
database).
|
protected TransactionIF txn
public PersistentObjectAccess(TransactionIF txn)
public Object getObject(IdentityIF identity)
ObjectAccessIFgetObject in interface ObjectAccessIFpublic IdentityIF getIdentity(Object object)
ObjectAccessIFgetIdentity in interface ObjectAccessIFpublic Class<?> getType(Object object)
ObjectAccessIFgetType in interface ObjectAccessIFpublic Object getValue(Object object, FieldInfoIF finfo)
ObjectAccessIFgetValue in interface ObjectAccessIFpublic boolean isDirty(Object object)
ObjectAccessIFisDirty in interface ObjectAccessIFpublic boolean isDirty(Object object, int field)
ObjectAccessIFisDirty in interface ObjectAccessIFpublic int nextDirty(Object object, int start)
ObjectAccessIFnextDirty in interface ObjectAccessIFpublic int nextDirty(Object object, int start, int end)
ObjectAccessIFnextDirty in interface ObjectAccessIFpublic void setDirtyFlushed(Object object, int field)
ObjectAccessIFsetDirtyFlushed in interface ObjectAccessIF