Interface Node


public interface Node
Node in a Schema
Author:
Frantisek Hartman, Michael J. Simons
  • Method Details

    • label

      Optional<String> label()
      Primary - the most specific - label of the node
      Returns:
      label
    • relationships

      Map<String,Relationship> relationships()
      Relationships declared on this node The key in the map is the a name of the relationship, not type. E.g. a field name in the class
      Returns:
      relationship
    • types

      default Collection<String> types(String relationshipName)
      Returns:
      The types for which the relationship is mapped under relationshipName in the schema.