org.springframework.data.neo4j.support.path
Class RelationshipPath
java.lang.Object
org.springframework.data.neo4j.support.path.RelationshipPath
- All Implemented Interfaces:
- Iterable<org.neo4j.graphdb.PropertyContainer>, org.neo4j.graphdb.Path
public class RelationshipPath
- extends Object
- implements org.neo4j.graphdb.Path
- Since:
- 19.02.11
- Author:
- mh
Constructor Summary |
RelationshipPath(org.neo4j.graphdb.Relationship relationship)
|
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 |
RelationshipPath
public RelationshipPath(org.neo4j.graphdb.Relationship relationship)
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 © 2012 SpringSource. All Rights Reserved.