|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Interface implemented by all persistent objects of the framework. Note that this interface is not targetted at a particular persistence technology. It only models the fact that the implementing classes are persistent.
This interface defines that every persistent object has an Identity Field [Fowler] to maintain identity between an in-memory object and it's data store representation.
Method Summary | |
java.lang.Object |
getId()
Return the unique id of this object in the persistent store, or null if the object has not been persisted yet. |
void |
setId(java.lang.Object id)
Set the unique id of this object in the persistent store. |
Method Detail |
public void setId(java.lang.Object id)
Set the unique id of this object in the persistent store.
Normally this method will only be called by the data access objects that manage the persistence of other framework objects.
public java.lang.Object getId()
Return the unique id of this object in the persistent store, or null if the object has not been persisted yet.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |