Interface NodeContext


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

      • getOutgoingLinks

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

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

        java.util.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.