Spring Data Commons

Package org.springframework.data.convert

Interface Summary
EntityConverter<E extends PersistentEntity<?,P>,P extends PersistentProperty<P>,T,S>  
EntityReader<T,S> Interface to read object from store specific sources.
EntityWriter<T,S> Interface to write objects into store specific sinks.
TypeAliasAccessor<S> Interface to abstract implementations of how to access a type alias from a given source or sink.
TypeInformationMapper 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.
 

Class Summary
ConfigurableTypeInformationMapper TypeInformationMapper implementation that can be either set up using a MappingContext or manually set up Map of String aliases to types.
DefaultTypeMapper<S> Default implementation of MongoTypeMapper allowing configuration of the key to lookup and store type information in DBObject.
SimpleTypeInformationMapper Basic TypeInformationMapper implementation that interprets the alias handles as fully qualified class name and tries to load a class with the given name to build TypeInformation.
 

Annotation Types Summary
ReadingConverter Annotation to clarify intended usage of a Converter as reading converter in case the conversion types leave room for disambiguation.
WritingConverter Annotation to clarify intended usage of a Converter as writing converter in case the conversion types leave room for disambiguation.
 


Spring Data Commons

Copyright © 2011. All Rights Reserved.