Uses of Interface
org.springframework.data.convert.PropertyValueConverter
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 PropertyValueConverter in org.springframework.data.convert
Modifier and TypeClassDescriptionstatic class
PropertyValueConverter.FunctionPropertyValueConverter<DV,
SV, P extends PersistentProperty<P>> APropertyValueConverter
that delegates conversion to the givenBiFunction
s.static enum
No-opPropertyValueConverter
implementation.Modifier 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
.<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.<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) Modifier and TypeMethodDescriptionPropertyValueConverterRegistrar.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.Modifier 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. -
Uses of PropertyValueConverter in org.springframework.data.mapping
Modifier 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 PropertyValueConverter in org.springframework.data.mapping.model
Modifier and TypeMethodDescriptionClass<? extends PropertyValueConverter<?,
?, ? extends ValueConversionContext<? extends PersistentProperty<?>>>> AnnotationBasedPersistentProperty.getValueConverterType()