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
Modifier and TypeOptional ElementDescriptionClass<? extends PropertyValueConverter>
ThePropertyValueConverter
type handling the value conversion of the annotated property.
-
Element Details
-
value
Class<? extends PropertyValueConverter> valueThePropertyValueConverter
type handling the value conversion of the annotated property.- Returns:
- the configured
PropertyValueConverter
.PropertyValueConverter.ObjectToObjectPropertyValueConverter
by default.
- Default:
- org.springframework.data.convert.PropertyValueConverter.ObjectToObjectPropertyValueConverter.class
-