Package | Description |
---|---|
org.springframework.data.convert |
General purpose conversion framework to read objects from a data store abstraction and write it back.
|
Modifier and Type | Method and Description |
---|---|
PropertyValueConverterRegistrar<P> |
PropertyValueConverterRegistrar.ReadingConverterRegistrationBuilder.reading(BiFunction<R,ValueConversionContext<P>,S> reader)
Describes how to read a database value into a domain object's property value.
|
PropertyValueConverterRegistrar<P> |
PropertyValueConverterRegistrar.ReadingConverterRegistrationBuilder.reading(Function<R,S> reader) |
PropertyValueConverterRegistrar<P> |
PropertyValueConverterRegistrar.ReadingConverterRegistrationBuilder.readingAsIs() |
PropertyValueConverterRegistrar<P> |
PropertyValueConverterRegistrar.registerConverter(Class<?> type,
String path,
PropertyValueConverter<?,?,? extends ValueConversionContext<?>> converter)
Register the given
converter for the given type and property identified by
its name. |
Modifier and Type | Method and Description |
---|---|
static <P extends PersistentProperty<P>> |
PropertyValueConversions.simple(Consumer<PropertyValueConverterRegistrar<P>> config)
Helper method used to create a
PropertyValueConversions instance with the configured
converters provided by the callback . |
Copyright © 2011–2023 Pivotal Software, Inc.. All rights reserved.