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>
public class EntityResultConverter<T,R>
- extends DefaultConverter<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,
EntityPersister entityPersister)
doConvert
protected Object doConvert(Object value,
Class<?> sourceType,
Class targetType)
- Overrides:
doConvert
in class DefaultConverter<T,R>
extractMapResult
public R extractMapResult(Object value,
Class returnType)
convert
public R convert(Object value,
Class type)
- Specified by:
convert
in interface ResultConverter<T,R>
- Overrides:
convert
in class DefaultConverter<T,R>
transformScalaIterableToJavaIterable
public Object transformScalaIterableToJavaIterable(Object scalaIterable,
Class iterableLikeIface)
throws ClassNotFoundException,
NoSuchMethodException,
InvocationTargetException,
IllegalAccessException
- Throws:
ClassNotFoundException
NoSuchMethodException
InvocationTargetException
IllegalAccessException
Copyright © 2011 SpringSource. All Rights Reserved.