Annotation Interface Adapter
This annotation can be used to enforce a specific property adapter for a given field. For example, you may want
certain doubles to be serialized using scientific notation and not others.
-
Required Element Summary
Required ElementsModifier and TypeRequired ElementDescriptionClass<? extends IPropertyAdapter<?>> The class of the adapter to use when mapping the field.
-
Element Details
-
value
Class<? extends IPropertyAdapter<?>> valueThe class of the adapter to use when mapping the field. This class must have an accessible constructor and implementIPropertyAdapter.- Returns:
- The property adapter to use when mapping the field.
-