Package org.springframework.data.convert
Annotation Interface ValueConverter
Annotation to define usage of a
Can be used as meta annotation utilizing
PropertyValueConverter to read/write the property. Can be used as meta annotation utilizing
AliasFor.
The target PropertyValueConverter is typically provided via a converter
factory.
Consult the store-specific documentation for details and support notes.
- Since:
- 2.7
- Author:
- Christoph Strobl
- See Also:
-
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionClass<? extends PropertyValueConverter>ThePropertyValueConvertertype handling the value conversion of the annotated property.
-
Element Details
-
value
Class<? extends PropertyValueConverter> valueThePropertyValueConvertertype handling the value conversion of the annotated property.- Returns:
- the configured
PropertyValueConverter.PropertyValueConverter.ObjectToObjectPropertyValueConverterby default.
- Default:
- org.springframework.data.convert.PropertyValueConverter.ObjectToObjectPropertyValueConverter.class
-