|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IPrimaryKeyConvertor
An interface for converting an object to its primary key and back. Typically used to determine how to store a given object as a hidden value when rendering a form.
Method Summary | |
---|---|
Object |
getPrimaryKey(Object objValue)
Gets the serializable primary key of the given value |
Object |
getValue(Object objPrimaryKey)
Gets the value corresponding the given primary key |
Method Detail |
---|
Object getPrimaryKey(Object objValue)
objValue
- the value for which a primary key needs to be extracted
Object getValue(Object objPrimaryKey)
objPrimaryKey
- the primary key for which a value needs to be generated
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |