Package org.springframework.data.convert
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
A helper to build a fluent API to register how to read a database value into a domain object property.
- 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
Describes how to read a database value into a domain object's property value.- Parameters:
reader
- must not be null.- Returns:
-