|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ID
- Type of technical key classpublic interface DomainObject<ID extends Serializable>
A DomainObject, implementation classes offer basic functionality characteristic to all persisted domain objects.
Each domain object:
Method Summary | |
---|---|
ID |
getId()
Return the technical key value. |
long |
getVersion()
Return the value of the optimistic locking field. |
boolean |
isNew()
Check whether the instance is a transient or persisted one. |
Method Detail |
---|
boolean isNew()
true
if transient (not persisted before), otherwise
false
long getVersion()
ID getId()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |