|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.ontopia.persistence.proxy.PersistentObjectAccess
public class PersistentObjectAccess
INTERNAL: Object access for objects implementing the PersistentIF interface.
| Field Summary | |
|---|---|
protected TransactionIF |
txn
|
| Constructor Summary | |
|---|---|
PersistentObjectAccess(TransactionIF txn)
|
|
| Method Summary | |
|---|---|
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. |
Object |
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). |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected TransactionIF txn
| Constructor Detail |
|---|
public PersistentObjectAccess(TransactionIF txn)
| Method Detail |
|---|
public Object getObject(IdentityIF identity)
ObjectAccessIF
getObject in interface ObjectAccessIFpublic IdentityIF getIdentity(Object object)
ObjectAccessIF
getIdentity in interface ObjectAccessIFpublic Object getType(Object object)
ObjectAccessIF
getType in interface ObjectAccessIF
public Object getValue(Object object,
FieldInfoIF finfo)
ObjectAccessIF
getValue in interface ObjectAccessIFpublic boolean isDirty(Object object)
ObjectAccessIF
isDirty in interface ObjectAccessIF
public boolean isDirty(Object object,
int field)
ObjectAccessIF
isDirty in interface ObjectAccessIF
public int nextDirty(Object object,
int start)
ObjectAccessIF
nextDirty in interface ObjectAccessIF
public int nextDirty(Object object,
int start,
int end)
ObjectAccessIF
nextDirty in interface ObjectAccessIF
public void setDirtyFlushed(Object object,
int field)
ObjectAccessIF
setDirtyFlushed in interface ObjectAccessIF
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||