Class PropertyValueConverterRegistrar.ReadingConverterRegistrationBuilder<T, S, R, P extends PersistentProperty<P>>
java.lang.Object
org.springframework.data.convert.PropertyValueConverterRegistrar.ReadingConverterRegistrationBuilder<T,S,R,P>
- Enclosing class:
PropertyValueConverterRegistrar<P extends PersistentProperty<P>>
public static class PropertyValueConverterRegistrar.ReadingConverterRegistrationBuilder<T, S, R, P extends PersistentProperty<P>>
extends Object
Helper class used to build a fluent API to register how to read a database value into a domain object property.
- Since:
- 2.7
- Author:
- Oliver Drotbohm
-
Method Summary
Modifier and TypeMethodDescriptionreading
(BiFunction<R, ValueConversionContext<P>, S> reader) Describes how to read a database value into a domain object's property value.
-
Method Details
-
readingAsIs
-
reading
-
reading
public PropertyValueConverterRegistrar<P> reading(BiFunction<R, ValueConversionContext<P>, S> reader) Describes how to read a database value into a domain object's property value.- Parameters:
reader
- must not be null.- Returns:
- the configured
PropertyValueConverterRegistrar
.
-