Uses of Class
org.springframework.data.convert.PropertyValueConverterRegistrar
Package
Description
General purpose conversion framework to read objects from a data store abstraction and write it back.
-
Uses of PropertyValueConverterRegistrar in org.springframework.data.convert
Modifier and TypeMethodDescriptionPropertyValueConverterRegistrar.ReadingConverterRegistrationBuilder.reading
(BiFunction<R, ValueConversionContext<P>, S> reader) Describes how to read a database value into a domain object's property value.PropertyValueConverterRegistrar.ReadingConverterRegistrationBuilder.readingAsIs()
PropertyValueConverterRegistrar.registerConverter
(Class<?> type, String path, PropertyValueConverter<?, ?, ? extends ValueConversionContext<?>> converter) Register the givenconverter
for the given type and property identified by its name.Modifier and TypeMethodDescriptionstatic <P extends PersistentProperty<P>>
PropertyValueConversionsPropertyValueConversions.simple
(Consumer<PropertyValueConverterRegistrar<P>> config) Helper method used to create aPropertyValueConversions
instance with the configuredconverters
provided by thecallback
.