|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||
@Retention(value=RUNTIME)
@Inherited
@Target(value={FIELD,ANNOTATION_TYPE})
public @interface Convert
Assigns a custom implementation of Conversion to be executed (Conversion.execute(Object))
when writing to the field and reverted (Conversion.revert(Object)) when reading from the field.
Conversion,
Conversions,
BeanProcessor,
BeanWriterProcessor| Required Element Summary | |
|---|---|
Class<? extends Conversion> |
conversionClass
A user provided implementation of Conversion which will be instantiated using the arguments provided by args() |
| Optional Element Summary | |
|---|---|
String[] |
args
The arguments to use when invoking the constructor of the class given by conversionClass(). |
| Element Detail |
|---|
public abstract Class<? extends Conversion> conversionClass
Conversion which will be instantiated using the arguments provided by args()
public abstract String[] args
conversionClass().
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||