Spring Data Neo4j

org.springframework.data.neo4j.support.path
Class RelationshipPath

java.lang.Object
  extended by 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)
           
 
Method Summary
 org.neo4j.graphdb.Node endNode()
           
 Iterator<org.neo4j.graphdb.PropertyContainer> iterator()
           
 org.neo4j.graphdb.Relationship lastRelationship()
           
 int length()
           
 Iterable<org.neo4j.graphdb.Node> nodes()
           
 Iterable<org.neo4j.graphdb.Relationship> relationships()
           
 org.neo4j.graphdb.Node startNode()
           
 
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
 

Constructor Detail

RelationshipPath

public RelationshipPath(org.neo4j.graphdb.Relationship relationship)
Method Detail

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

Spring Data Neo4j

Copyright © 2011 SpringSource. All Rights Reserved.