public static class PropertyValueConverterRegistrar.WritingConverterRegistrationBuilder<T,S,P extends PersistentProperty<P>> extends Object
Modifier and Type | Method and Description |
---|---|
<R> PropertyValueConverterRegistrar.ReadingConverterRegistrationBuilder<T,S,R,P> |
writing(BiFunction<S,ValueConversionContext<P>,R> writer)
Describes how to convert the domain property value into the database native property.
|
<R> PropertyValueConverterRegistrar.ReadingConverterRegistrationBuilder<T,S,R,P> |
writing(Function<S,R> writer) |
PropertyValueConverterRegistrar.ReadingConverterRegistrationBuilder<T,S,S,P> |
writingAsIs() |
public PropertyValueConverterRegistrar.ReadingConverterRegistrationBuilder<T,S,S,P> writingAsIs()
public <R> PropertyValueConverterRegistrar.ReadingConverterRegistrationBuilder<T,S,R,P> writing(Function<S,R> writer)
public <R> PropertyValueConverterRegistrar.ReadingConverterRegistrationBuilder<T,S,R,P> writing(BiFunction<S,ValueConversionContext<P>,R> writer)
R
- the type to be written to the databasewriter
- the property conversion to extract a value written to the databaseCopyright © 2011–2022 Pivotal Software, Inc.. All rights reserved.