Spring Data Neo4j

org.springframework.data.neo4j.support.path
Class EntityMapper<S,E,T>

java.lang.Object
  extended by org.springframework.data.neo4j.support.path.EntityMapper<S,E,T>
All Implemented Interfaces:
PathMapper<T>
Direct Known Subclasses:
EntityMapper.WithoutResult

public abstract class EntityMapper<S,E,T>
extends Object
implements PathMapper<T>

Since:
26.02.11
Author:
mh

Nested Class Summary
static class EntityMapper.WithoutResult<S,E>
           
 
Constructor Summary
protected EntityMapper(Neo4jTemplate template)
           
 
Method Summary
abstract  T mapPath(EntityPath<S,E> entityPath)
           
 T mapPath(org.neo4j.graphdb.Path path)
          map operation, converts the path to any other, specified type instance
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EntityMapper

protected EntityMapper(Neo4jTemplate template)
Method Detail

mapPath

public abstract T mapPath(EntityPath<S,E> entityPath)

mapPath

public T mapPath(org.neo4j.graphdb.Path path)
Description copied from interface: PathMapper
map operation, converts the path to any other, specified type instance

Specified by:
mapPath in interface PathMapper<T>
Parameters:
path - given path
Returns:
mapped type instance

Spring Data Neo4j

Copyright © 2011 SpringSource. All Rights Reserved.