Uses of Interface
org.springframework.data.convert.ValueConversionContext
Packages that use ValueConversionContext
Package
Description
General purpose conversion framework to read objects from a data store abstraction and write it back.
Base package for the mapping subsystem.
Core implementation of the mapping subsystem's model.
-
Uses of ValueConversionContext in org.springframework.data.convert
Classes in org.springframework.data.convert with type parameters of type ValueConversionContextModifier and TypeInterfaceDescriptioninterface
PropertyValueConverter<DV,
SV, C extends ValueConversionContext<? extends PersistentProperty<?>>> PropertyValueConverter
provides a symmetric way of converting certain properties from domain to store-specific values.Methods in org.springframework.data.convert with type parameters of type ValueConversionContextModifier and TypeMethodDescription<DV,
SV, C extends ValueConversionContext<?>>
PropertyValueConverter<DV,SV, C> PropertyValueConverterFactory.getConverter
(Class<? extends PropertyValueConverter<DV, SV, C>> converterType) Get the converter by its type.default <DV,
SV, C extends ValueConversionContext<?>>
PropertyValueConverter<DV,SV, C> PropertyValueConverterFactory.getConverter
(PersistentProperty<?> property) Get thePropertyValueConverter
applicable for the givenPersistentProperty
.<DV,
SV, C extends PersistentProperty<C>, VCC extends ValueConversionContext<C>>
PropertyValueConverter<DV,SV, VCC> CustomConversions.getPropertyValueConverter
(C property) Delegate to obtain thePropertyValueConverter
for the given property fromPropertyValueConversions
.<DV,
SV, C extends PersistentProperty<C>, VCC extends ValueConversionContext<C>>
PropertyValueConverter<DV,SV, VCC> PropertyValueConversions.getValueConverter
(C property) Get thePropertyValueConverter
for the given property.<DV,
SV, C extends PersistentProperty<C>, D extends ValueConversionContext<C>>
PropertyValueConverter<DV,SV, D> SimplePropertyValueConversions.getValueConverter
(C property) Methods in org.springframework.data.convert that return types with arguments of type ValueConversionContextModifier and TypeMethodDescription<S,
T> PropertyValueConverter<S, T, ? extends ValueConversionContext<P>> SimplePropertyValueConverterRegistry.getConverter
(Class<?> type, String path) <DV,
SV> PropertyValueConverter<DV, SV, ? extends ValueConversionContext<P>> ValueConverterRegistry.getConverter
(Class<?> type, String path) Obtain the converter registered for the given type, path combination or null if none defined.Methods in org.springframework.data.convert with parameters of type ValueConversionContextModifier and TypeMethodDescriptionPropertyValueConverter.FunctionPropertyValueConverter.read
(SV value, ValueConversionContext<P> context) PropertyValueConverter.ObjectToObjectPropertyValueConverter.read
(Object value, ValueConversionContext context) PropertyValueConverter.FunctionPropertyValueConverter.write
(DV value, ValueConversionContext<P> context) PropertyValueConverter.ObjectToObjectPropertyValueConverter.write
(Object value, ValueConversionContext context) Method parameters in org.springframework.data.convert with type arguments of type ValueConversionContextModifier and TypeMethodDescriptionPropertyValueConverterRegistrar.ReadingConverterRegistrationBuilder.reading
(BiFunction<R, ValueConversionContext<P>, S> reader) Describes how to read a database value into a domain object's property value.PropertyValueConverterRegistrar.registerConverter
(Class<?> type, String path, PropertyValueConverter<?, ?, ? extends ValueConversionContext<?>> converter) Register the given converter for the types property identified via its name.void
SimplePropertyValueConverterRegistry.registerConverter
(Class<?> type, String path, PropertyValueConverter<?, ?, ? extends ValueConversionContext<P>> converter) void
ValueConverterRegistry.registerConverter
(Class<?> type, String path, PropertyValueConverter<?, ?, ? extends ValueConversionContext<P>> converter) Register thePropertyValueConverter
for the property of the given type.void
SimplePropertyValueConverterRegistry.registerConverterIfAbsent
(Class<?> type, String path, PropertyValueConverter<?, ?, ? extends ValueConversionContext<P>> converter) Register thePropertyValueConverter
for the property of the given type if none had been registered before.PropertyValueConverterRegistrar.WritingConverterRegistrationBuilder.writing
(BiFunction<S, ValueConversionContext<P>, R> writer) Describes how to convert the domain property value into the database native property.Constructor parameters in org.springframework.data.convert with type arguments of type ValueConversionContextModifierConstructorDescriptionFunctionPropertyValueConverter
(BiFunction<DV, ValueConversionContext<P>, SV> writer, BiFunction<SV, ValueConversionContext<P>, DV> reader) -
Uses of ValueConversionContext in org.springframework.data.mapping
Methods in org.springframework.data.mapping that return types with arguments of type ValueConversionContextModifier and TypeMethodDescriptiondefault Class<? extends PropertyValueConverter<?,
?, ? extends ValueConversionContext<? extends PersistentProperty<?>>>> PersistentProperty.getValueConverterType()
Obtain theconverter type
to be used for reading and writing property values. -
Uses of ValueConversionContext in org.springframework.data.mapping.model
Methods in org.springframework.data.mapping.model that return types with arguments of type ValueConversionContextModifier and TypeMethodDescriptionClass<? extends PropertyValueConverter<?,
?, ? extends ValueConversionContext<? extends PersistentProperty<?>>>> AnnotationBasedPersistentProperty.getValueConverterType()