|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Persistent
Interface for persistent objects. This defines required functionality for all objects
that are persisted.
Objects that implement this interface and which implement
Object.equals(java.lang.Object)
should exclude the primary key and version from determining equality.
| Method Summary | |
|---|---|
int |
getPersistedVersion()
Gets the version. |
java.io.Serializable |
getPrimaryKey()
Gets the primary key. |
void |
setPersistedVersion(int aVersion)
Sets the version. |
void |
setPrimaryKey(java.io.Serializable aKey)
Sets the primary key. |
| Method Detail |
|---|
java.io.Serializable getPrimaryKey()
setPrimaryKey(Serializable)void setPrimaryKey(java.io.Serializable aKey)
aKey - Primary key.getPrimaryKey()int getPersistedVersion()
setPersistedVersion(int)void setPersistedVersion(int aVersion)
aVersion - Version.getPersistedVersion()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||