|
||||||||||
| 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 | |
|---|---|
java.lang.Number |
getPersistedVersion()
Gets the version. |
java.io.Serializable |
getPrimaryKey()
Gets the primary key. |
void |
setPersistedVersion(java.lang.Number 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()java.lang.Number getPersistedVersion()
#setPersistedVersion(int)void setPersistedVersion(java.lang.Number aVersion)
aVersion - Version.getPersistedVersion()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||