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 PersistentIFINTERNAL: Interface implemented by all data objects used by the proxy framework.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description int_p_getFieldCount()IdentityIF_p_getIdentity()INTERNAL: Returns the identity of the object.TransactionIF_p_getTransaction()INTERNAL: Returns the transaction that is responible for managing the object.Class<?>_p_getType()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()booleanisDeleted()booleanisDirty()booleanisDirty(int field)booleanisInDatabase()booleanisLoaded(int field)booleanisNewObject()booleanisPersistent()booleanisTransient()ObjectloadValue(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 Detail
-
_p_getIdentity
IdentityIF _p_getIdentity()
INTERNAL: Returns the identity of the object.
-
_p_setIdentity
void _p_setIdentity(IdentityIF identity)
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
void _p_setTransaction(TransactionIF transaction)
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
Object loadValue(FieldInfoIF finfo)
-
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()
-
-