|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectshared.PersistentBase
public class PersistentBase
A base class for a bean that will be saved to a database. The primary key is defined.
| Field Summary | |
|---|---|
protected java.lang.Long |
id
|
| Constructor Summary | |
|---|---|
PersistentBase()
Creates a new instance of PersistentBase |
|
| Method Summary | |
|---|---|
java.lang.Long |
getId()
The accessor for the key field. |
protected void |
setId(java.lang.Long id)
The mutator key field. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected java.lang.Long id
| Constructor Detail |
|---|
public PersistentBase()
| Method Detail |
|---|
public java.lang.Long getId()
protected void setId(java.lang.Long id)
id - The key field value
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||