Package net.ontopia.persistence.proxy
Class PersistentObjectAccess
java.lang.Object
net.ontopia.persistence.proxy.PersistentObjectAccess
- All Implemented Interfaces:
ObjectAccessIF
INTERNAL: Object access for objects implementing the PersistentIF
interface.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetIdentity(Object object) INTERNAL: Returns the identity of the specified object handle.getObject(IdentityIF identity) INTERNAL: Returns a handle for the specified value.Class<?>INTERNAL: Returns the type of the specified object handle.getValue(Object object, FieldInfoIF finfo) INTERNAL: Returns the object field value.booleanINTERNAL: Returns true if the specified object is dirty.booleanINTERNAL: Returns true if the specified object field is dirty.intINTERNAL: Returns the index of the next dirty field from and including the start index.intINTERNAL: Returns the index of the next dirty field from and including start, up until end, but not including end.voidsetDirtyFlushed(Object object, int field) INTERNAL: Marks the dirty fields as being flushed (stored in the database).
-
Field Details
-
txn
-
-
Constructor Details
-
PersistentObjectAccess
-
-
Method Details
-
getObject
Description copied from interface:ObjectAccessIFINTERNAL: Returns a handle for the specified value. Use this method when you do not know the the object value is. The handle can be used in the other methods to access information about the object. NOTE: an exception is thrown when the identity is unknown.- Specified by:
getObjectin interfaceObjectAccessIF
-
getIdentity
Description copied from interface:ObjectAccessIFINTERNAL: Returns the identity of the specified object handle.- Specified by:
getIdentityin interfaceObjectAccessIF
-
getType
Description copied from interface:ObjectAccessIFINTERNAL: Returns the type of the specified object handle. Note that this method returns the same value as getIdentity(object).getType().- Specified by:
getTypein interfaceObjectAccessIF
-
getValue
Description copied from interface:ObjectAccessIFINTERNAL: Returns the object field value.- Specified by:
getValuein interfaceObjectAccessIF
-
isDirty
Description copied from interface:ObjectAccessIFINTERNAL: Returns true if the specified object is dirty.- Specified by:
isDirtyin interfaceObjectAccessIF
-
isDirty
Description copied from interface:ObjectAccessIFINTERNAL: Returns true if the specified object field is dirty.- Specified by:
isDirtyin interfaceObjectAccessIF
-
nextDirty
Description copied from interface:ObjectAccessIFINTERNAL: Returns the index of the next dirty field from and including the start index. Method returns -1 if there are no dirty fields.- Specified by:
nextDirtyin interfaceObjectAccessIF
-
nextDirty
Description copied from interface:ObjectAccessIFINTERNAL: Returns the index of the next dirty field from and including start, up until end, but not including end. Method returns -1 if there are no more dirty fields.- Specified by:
nextDirtyin interfaceObjectAccessIF
-
setDirtyFlushed
Description copied from interface:ObjectAccessIFINTERNAL: Marks the dirty fields as being flushed (stored in the database).- Specified by:
setDirtyFlushedin interfaceObjectAccessIF
-