|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AnnotationSet<ID extends Annotation,COLUMN extends Annotation>
Allows for any annotations to be used to mark columns in a bean
Method Summary | |
---|---|
Class<COLUMN> |
getColumnAnnotation()
|
String |
getColumnName(Field field,
COLUMN annotation)
Return the column name to use for the given field. |
Class<ID> |
getIdAnnotation()
|
String |
getIdName(Field field,
ID annotation)
Return the ID/Key name to use |
Method Detail |
---|
Class<ID> getIdAnnotation()
Class<COLUMN> getColumnAnnotation()
String getIdName(Field field, ID annotation)
field
- the field from the beanannotation
- the id annotation
String getColumnName(Field field, COLUMN annotation)
null
.
field
- the field from the beanannotation
- the column annotation
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |