Interface Relationship


public interface Relationship
Relationship in a Schema
Author:
Frantisek Hartman
  • Method Summary

    Modifier and Type
    Method
    Description
    Direction of the relationship from given node
    other(Node node)
    Return the other node on this side of the relationship
    Return start node of this relationship
    Type of this relationship
  • Method Details

    • type

      String type()
      Type of this relationship
    • direction

      Relationship.Direction direction(Node node)
      Direction of the relationship from given node
      Returns:
      direction
    • start

      Node start()
      Return start node of this relationship
      Returns:
      start node
    • other

      Node other(Node node)
      Return the other node on this side of the relationship
      Parameters:
      node - node
      Returns:
      the other node