org.springframework.data.neo4j.support.path
Class ConvertingEntityPath<S,E>
java.lang.Object
org.springframework.data.neo4j.support.path.ConvertingEntityPath<S,E>
- All Implemented Interfaces:
- Iterable<org.neo4j.graphdb.PropertyContainer>, org.neo4j.graphdb.Path, EntityPath<S,E>
public class ConvertingEntityPath<S,E>
- extends Object
- implements EntityPath<S,E>
- Since:
- 26.02.11
- Author:
- mh
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.neo4j.graphdb.Path |
toString |
ConvertingEntityPath
public ConvertingEntityPath(EntityPersister persister,
org.neo4j.graphdb.Path delegate)
startEntity
public <T> T startEntity(Class<T>... types)
- Specified by:
startEntity
in interface EntityPath<S,E>
endEntity
public <T> T endEntity(Class<T>... types)
- Specified by:
endEntity
in interface EntityPath<S,E>
lastRelationshipEntity
public <T> T lastRelationshipEntity(Class<T>... types)
- Specified by:
lastRelationshipEntity
in interface EntityPath<S,E>
nodeEntities
public <T> Iterable<T> nodeEntities()
- Specified by:
nodeEntities
in interface EntityPath<S,E>
relationshipEntities
public <T> Iterable<T> relationshipEntities(Class<T>... relationships)
- Specified by:
relationshipEntities
in interface EntityPath<S,E>
allPathEntities
public <T> Iterable<T> allPathEntities(Class<T>... relationships)
- Specified by:
allPathEntities
in interface EntityPath<S,E>
startNode
public org.neo4j.graphdb.Node startNode()
- Specified by:
startNode
in interface org.neo4j.graphdb.Path
endNode
public org.neo4j.graphdb.Node endNode()
- Specified by:
endNode
in interface org.neo4j.graphdb.Path
lastRelationship
public org.neo4j.graphdb.Relationship lastRelationship()
- Specified by:
lastRelationship
in interface org.neo4j.graphdb.Path
relationships
public Iterable<org.neo4j.graphdb.Relationship> relationships()
- Specified by:
relationships
in interface org.neo4j.graphdb.Path
nodes
public Iterable<org.neo4j.graphdb.Node> nodes()
- Specified by:
nodes
in interface org.neo4j.graphdb.Path
length
public int length()
- Specified by:
length
in interface org.neo4j.graphdb.Path
iterator
public Iterator<org.neo4j.graphdb.PropertyContainer> iterator()
- Specified by:
iterator
in interface Iterable<org.neo4j.graphdb.PropertyContainer>
- Specified by:
iterator
in interface org.neo4j.graphdb.Path
Copyright © 2011 SpringSource. All Rights Reserved.