@Retention(value=RUNTIME) @Inherited @Target(value={FIELD,METHOD,ANNOTATION_TYPE}) public @interface Convert
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
Modifier and Type | Required Element and Description |
---|---|
Class<? extends Conversion> |
conversionClass
A user provided implementation of
Conversion which will be instantiated using the arguments provided by args() |
Modifier and Type | Optional Element and Description |
---|---|
String[] |
args
The arguments to use when invoking the constructor of the class given by
conversionClass() . |
public abstract Class<? extends Conversion> conversionClass
Conversion
which will be instantiated using the arguments provided by args()
public abstract String[] args
conversionClass()
.Copyright © 2020 uniVocity Software Pty Ltd. All rights reserved.