Package net.sf.jkniv.whinstone.types
Annotation Type Converter
-
@Target({METHOD,FIELD}) @Retention(RUNTIME) public @interface Converter
The converter is used to change the value/type from original object to a destiny object. Just Methods and Fields can be annotated.- Since:
- 0.6.0
- Author:
- Alisson Gomes
-
-
Element Detail
-
converter
Class converter
Specifies the converter to be used.- Returns:
void.classas default
- Default:
- void.class
-
-
-
pattern
String pattern
The pattern describing to be used to define or formatter a value.- Returns:
- empty pattern as default
- Default:
- ""
-
-
-
isEnum
Converter.EnumType isEnum
the enum typeORDINALorSTRING- Returns:
EnumType.NONEas default
- Default:
- net.sf.jkniv.whinstone.types.Converter.EnumType.NONE
-
-