|
||||||||||
| 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 | |
|---|---|
java.lang.Object |
getPrimaryKey(java.lang.Object objValue)
Gets the serializable primary key of the given value |
java.lang.Object |
getValue(java.lang.Object objPrimaryKey)
Gets the value corresponding the given primary key |
| Method Detail |
|---|
java.lang.Object getPrimaryKey(java.lang.Object objValue)
objValue - the value for which a primary key needs to be extracted
java.lang.Object getValue(java.lang.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 | |||||||||