Package net.ontopia.persistence.proxy
Interface PersistentIF
- All Known Implementing Classes:
AbstractROPersistent,AbstractRWPersistent,Association,AssociationRole,Occurrence,ReadOnlyAssociation,ReadOnlyAssociationRole,ReadOnlyOccurrence,ReadOnlyTMObject,ReadOnlyTopic,ReadOnlyTopicMap,ReadOnlyTopicName,ReadOnlyVariantName,TMObject,Topic,TopicMap,TopicName,VariantName
public interface PersistentIF
INTERNAL: Interface implemented by all data objects used by the
proxy framework.
-
Method Summary
Modifier and TypeMethodDescriptionintINTERNAL: Returns the identity of the object.INTERNAL: Returns the transaction that is responible for managing the object.Class<?>INTERNAL: Returns the object.type.void_p_setIdentity(IdentityIF identity) INTERNAL: Sets the identity of the object.void_p_setTransaction(TransactionIF transaction) INTERNAL: Sets the transaction that is responible for managing the object.voidclearAll()voiddetach()booleanbooleanisDirty()booleanisDirty(int field) booleanbooleanisLoaded(int field) booleanbooleanbooleanloadValue(FieldInfoIF finfo) intnextDirty(int start) intnextDirty(int start, int end) voidsetDeleted(boolean deleted) voidsetDirtyFlushed(int field, boolean dirty) voidsetInDatabase(boolean inDatabase) voidsetNewObject(boolean newobject) voidsetPersistent(boolean persistent)
-
Method Details
-
_p_getIdentity
IdentityIF _p_getIdentity()INTERNAL: Returns the identity of the object. -
_p_setIdentity
INTERNAL: Sets the identity of the object. -
_p_getTransaction
TransactionIF _p_getTransaction()INTERNAL: Returns the transaction that is responible for managing the object. -
_p_setTransaction
INTERNAL: Sets the transaction that is responible for managing the object. -
_p_getType
Class<?> _p_getType()INTERNAL: Returns the object.type. This information is used by the transaction to handle the persistent mapping for the object. -
_p_getFieldCount
int _p_getFieldCount() -
isTransient
boolean isTransient() -
isNewObject
boolean isNewObject() -
setNewObject
void setNewObject(boolean newobject) -
isInDatabase
boolean isInDatabase() -
setInDatabase
void setInDatabase(boolean inDatabase) -
isPersistent
boolean isPersistent() -
setPersistent
void setPersistent(boolean persistent) -
isDeleted
boolean isDeleted() -
setDeleted
void setDeleted(boolean deleted) -
isLoaded
boolean isLoaded(int field) -
loadValue
-
isDirty
boolean isDirty() -
isDirty
boolean isDirty(int field) -
nextDirty
int nextDirty(int start) -
nextDirty
int nextDirty(int start, int end) -
setDirtyFlushed
void setDirtyFlushed(int field, boolean dirty) -
clearAll
void clearAll() -
detach
void detach()
-