public static class PropertyValueConverterRegistrar.ReadingConverterRegistrationBuilder<T,S,R,P extends PersistentProperty<P>> extends Object
Modifier and Type | Method and Description |
---|---|
PropertyValueConverterRegistrar<P> |
reading(BiFunction<R,ValueConversionContext<P>,S> reader)
Describes how to read a database value into a domain object's property value.
|
PropertyValueConverterRegistrar<P> |
reading(Function<R,S> reader) |
PropertyValueConverterRegistrar<P> |
readingAsIs() |
public PropertyValueConverterRegistrar<P> readingAsIs()
public PropertyValueConverterRegistrar<P> reading(Function<R,S> reader)
public PropertyValueConverterRegistrar<P> reading(BiFunction<R,ValueConversionContext<P>,S> reader)
reader
- must not be null.Copyright © 2011–2022 Pivotal Software, Inc.. All rights reserved.