org.springframework.data.neo4j.conversion
Class DefaultConverter<T,R>
java.lang.Object
org.springframework.data.neo4j.conversion.DefaultConverter<T,R>
- All Implemented Interfaces:
- ResultConverter<T,R>
- Direct Known Subclasses:
- ConversionServiceQueryResultConverter, EntityResultConverter
public class DefaultConverter<T,R>
- extends Object
- implements ResultConverter<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 |
DefaultConverter
public DefaultConverter()
convert
public R convert(Object value,
Class type)
- Specified by:
convert
in interface ResultConverter<T,R>
convert
public R convert(Object value,
Class type,
MappingPolicy mappingPolicy)
- Specified by:
convert
in interface ResultConverter<T,R>
extractValue
protected Object extractValue(Object value)
doConvert
protected Object doConvert(Object value,
Class<?> sourceType,
Class type,
MappingPolicy mappingPolicy)
toPath
protected org.neo4j.graphdb.Path toPath(Object value,
Class<?> sourceType)
toRelationship
protected org.neo4j.graphdb.Relationship toRelationship(Object value,
Class<?> sourceType)
toNode
protected org.neo4j.graphdb.Node toNode(Object value,
Class<?> sourceType)
Copyright © 2011 SpringSource. All Rights Reserved.