|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.wamblee.persistence.AbstractPersistent
public abstract class AbstractPersistent
Default implementation of Persistent.
| Constructor Summary | |
|---|---|
protected |
AbstractPersistent()
Constructs the object. |
protected |
AbstractPersistent(AbstractPersistent aPersistent)
Copy constructor. |
| 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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected AbstractPersistent()
protected AbstractPersistent(AbstractPersistent aPersistent)
aPersistent - Object to copy.| Method Detail |
|---|
public java.io.Serializable getPrimaryKey()
Persistent
getPrimaryKey in interface PersistentPersistent.setPrimaryKey(Serializable)public void setPrimaryKey(java.io.Serializable aKey)
Persistent
setPrimaryKey in interface PersistentaKey - Primary key.Persistent.getPrimaryKey()public int getPersistedVersion()
Persistent
getPersistedVersion in interface PersistentPersistent.setPersistedVersion(int)public void setPersistedVersion(int aVersion)
Persistent
setPersistedVersion in interface PersistentaVersion - Version.Persistent.getPersistedVersion()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||