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
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.void
clearAll()
void
detach()
boolean
isDeleted()
boolean
isDirty()
boolean
isDirty(int field)
boolean
isInDatabase()
boolean
isLoaded(int field)
boolean
isNewObject()
boolean
isPersistent()
boolean
isTransient()
Object
loadValue(FieldInfoIF finfo)
int
nextDirty(int start)
int
nextDirty(int start, int end)
void
setDeleted(boolean deleted)
void
setDirtyFlushed(int field, boolean dirty)
void
setInDatabase(boolean inDatabase)
void
setNewObject(boolean newobject)
void
setPersistent(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()
-
-