Package net.ontopia.persistence.proxy
Interface ObjectAccessIF
- All Known Implementing Classes:
PersistentObjectAccess
public interface ObjectAccessIF
INTERNAL: A object access implementation for manipulation of
identifiable objects.
-
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).
-
Method Details
-
getObject
INTERNAL: 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. -
getIdentity
INTERNAL: Returns the identity of the specified object handle. -
getType
INTERNAL: Returns the type of the specified object handle. Note that this method returns the same value as getIdentity(object).getType(). -
getValue
INTERNAL: Returns the object field value. -
isDirty
INTERNAL: Returns true if the specified object is dirty. -
isDirty
INTERNAL: Returns true if the specified object field is dirty. -
nextDirty
INTERNAL: Returns the index of the next dirty field from and including the start index. Method returns -1 if there are no dirty fields. -
nextDirty
INTERNAL: 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. -
setDirtyFlushed
INTERNAL: Marks the dirty fields as being flushed (stored in the database).
-