Package org.springframework.data.convert
@NonNullApi
package org.springframework.data.convert
General purpose conversion framework to read objects from a data store abstraction and write it back.
- See Also:
-
ClassDescription
TypeInformationMapper
implementation that can be either set up using aMappingContext
or manually set upMap
ofString
aliases to types.API to easily set upGenericConverter
instances using Java 8 lambdas, mostly in bidirectional fashion for easy registration as custom type converters of the Spring Data mapping subsystem.AConverterBuilder
aware of both a reading and writing converter.Exposes a reading converter.Interface to represent an intermediate setup step ofConverterBuilder.ConverterAware
defining a reading converter first.Exposes a writing converter.Interface to represent an intermediate setup step ofConverterBuilder.ConverterAware
defining a writing converter first.Value object to capture custom conversion.Value object holding the actualCustomConversions.StoreConversions
and customconverters
configured for registration.Value class tying together aCustomConversions.ConverterRegistration
and itsorigin
to allow fine grained registration based on store supported types.Value type to capture store-specific extensions to theCustomConversions
.Default implementation ofTypeMapper
.CombinedEntityReader
andEntityWriter
and add the ability to access aMappingContext
andConversionService
.EntityReader<T,S> Interface to read object from store specific sources.EntityWriter<T,S> Interface to write objects into store specific sinks.Registers jMolecules converter implementations withCustomConversions
if the former is on the classpath.Helper class to register JSR-310 specificConverter
implementations in case the we're running on Java 8.TypeInformationMapper
implementation that can be either set up using aMappingContext
or manually set upMap
ofString
aliases to types.Annotation to clarify intended usage of aConverter
as reading converter in case the conversion types leave room for disambiguation.BasicTypeInformationMapper
implementation that interprets the alias handles as fully qualified class name and tries to load a class with the given name to buildTypeInformation
.Interface to abstract implementations of how to access a type alias from a given source or sink.Interface to abstract the mapping from a type alias to the actual type.TypeMapper<S>Interface to define strategies how to store type information in a store specific sink or source.Annotation to clarify intended usage of aConverter
as writing converter in case the conversion types leave room for disambiguation.