Interface NodeContext


public interface NodeContext
Gets data related to a node.
  • Method Details

    • getOutgoingLinks

      @Deprecated List<Link> getOutgoingLinks(NodeContext endNode)
      Deprecated.
      Returns a list of links from the current node to the end node.
    • getIncomingLinks

      @Deprecated List<Link> getIncomingLinks(NodeContext startNode)
      Deprecated.
      Returns a list of links from the start node to the current node.
    • getContexts

      List<NodeContext> getContexts(LinkType linkType, RelationShipType relationshipType)
      Get sources/targets/children/parents of the current node.
      Parameters:
      linkType - a type of link.
      relationshipType - a type of relationship
      Returns:
      a list of node contexts.
    • getNode

      Node getNode()
      Returns the current node.