|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PrimaryKeyObject
Interface to provide primary key support.
Method Summary | |
---|---|
Object |
getKeyAsObject()
|
boolean |
isKeyNew()
|
void |
setKey(Object keyObject)
|
void |
useGeneratedKey()
This method will be called when the primary key object is requested to generate a key object for himself. |
Method Detail |
---|
boolean isKeyNew()
true
if the primary key is new.void setKey(Object keyObject)
keyObject
- Is the key to set.Object getKeyAsObject()
null
if it does not
exist.void useGeneratedKey()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |