org.springframework.data.neo4j.support.conversion
Class EntityResultConverter<T,R>
java.lang.Object
org.springframework.data.neo4j.conversion.DefaultConverter<T,R>
org.springframework.data.neo4j.support.conversion.EntityResultConverter<T,R>
- All Implemented Interfaces:
- ResultConverter<T,R>, Neo4jTemplateAware<EntityResultConverter<T,R>>
public class EntityResultConverter<T,R>
- extends DefaultConverter<T,R>
- implements Neo4jTemplateAware<EntityResultConverter<T,R>>
- Since:
- 28.06.11
- Author:
- mh
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EntityResultConverter
public EntityResultConverter(ConversionService conversionService)
EntityResultConverter
public EntityResultConverter(ConversionService conversionService,
Neo4jTemplate template)
with
public EntityResultConverter<T,R> with(Neo4jTemplate template)
- Specified by:
with
in interface Neo4jTemplateAware<EntityResultConverter<T,R>>
doConvert
protected Object doConvert(Object value,
Class<?> sourceType,
Class targetType,
MappingPolicy mappingPolicy)
- Overrides:
doConvert
in class DefaultConverter<T,R>
extractMapResult
public R extractMapResult(Object value,
Class returnType,
MappingPolicy mappingPolicy)
convert
public R convert(Object value,
Class type,
MappingPolicy mappingPolicy)
- Specified by:
convert
in interface ResultConverter<T,R>
- Overrides:
convert
in class DefaultConverter<T,R>
Copyright © 2013 SpringSource. All Rights Reserved.