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.
-
Uses of ValueConversionContext in org.springframework.data.convert
Classes in org.springframework.data.convert with type parameters of type ValueConversionContextModifier and TypeInterfaceDescriptioninterfacePropertyValueConverter<DV,SV, C extends ValueConversionContext<? extends PersistentProperty<?>>> PropertyValueConverterprovides 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, P extends ValueConversionContext<?>>
PropertyValueConverter<DV,SV, P> PropertyValueConverterFactory.getConverter(PersistentProperty<?> property) Get thePropertyValueConverterapplicable for the givenPersistentProperty.<DV,SV, P extends PersistentProperty<P>, VCC extends ValueConversionContext<P>>
PropertyValueConverter<DV,SV, VCC> PropertyValueConversions.getValueConverter(P property) <DV,SV, P extends PersistentProperty<P>, D extends ValueConversionContext<P>>
PropertyValueConverter<DV,SV, D> SimplePropertyValueConversions.getValueConverter(P property) <P extends PersistentProperty<P>,VCC extends ValueConversionContext<P>>
ObjectConvert a value from its store-native representation into its domain-specific type.<P extends PersistentProperty<P>,VCC extends ValueConversionContext<P>>
ObjectConvert a value from its domain-specific value into its store-native representation.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 thePropertyValueConverterregistered 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.readNull(ValueConversionContext<P> context) PropertyValueConverter.FunctionPropertyValueConverter.write(DV value, ValueConversionContext<P> context) PropertyValueConverter.ObjectToObjectPropertyValueConverter.write(Object value, ValueConversionContext context) PropertyValueConverter.FunctionPropertyValueConverter.writeNull(ValueConversionContext<P> 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 givenconverterfor the given type and property identified by its name.voidSimplePropertyValueConverterRegistry.registerConverter(Class<?> type, String path, PropertyValueConverter<?, ?, ? extends ValueConversionContext<P>> converter) voidValueConverterRegistry.registerConverter(Class<?> type, String path, PropertyValueConverter<?, ?, ? extends ValueConversionContext<P>> converter) Register thePropertyValueConverterfor thepropertyof the given type.voidSimplePropertyValueConverterRegistry.registerConverterIfAbsent(Class<?> type, String path, PropertyValueConverter<?, ?, ? extends ValueConversionContext<P>> converter) Register thePropertyValueConverterfor 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)