Package org.neo4j.ogm.metadata.schema
Interface Relationship
public interface Relationship
Relationship in a
Schema
- Author:
- Frantisek Hartman
-
Method Summary
-
Method Details
-
type
String type()Type of this relationship -
direction
Direction of the relationship from given node- Returns:
- direction
-
start
Node start()Return start node of this relationship- Returns:
- start node
-
other
Return the other node on this side of the relationship- Parameters:
node
- node- Returns:
- the other node
-