Spring Data Graph

org.springframework.data.graph.neo4j.transaction
Class EntityMapper<S extends NodeBacked,E extends NodeBacked,T>

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

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

Since:
26.02.11
Author:
mh

Nested Class Summary
static class EntityMapper.WithoutResult<S extends NodeBacked,E extends NodeBacked>
           
 
Constructor Summary
protected EntityMapper(GraphDatabaseContext graphDatabaseContext)
           
 
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(GraphDatabaseContext graphDatabaseContext)
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 Graph

Copyright © 2011. All Rights Reserved.