Interface NESTNodeObject

    • Method Detail

      • getIngoingEdges

        Set<NESTEdgeObject> getIngoingEdges()
        Returns the set of ingoing edges of this node.
        Returns:
        The set of ingoing edges of this node.
      • getOutgoingEdges

        Set<NESTEdgeObject> getOutgoingEdges()
        Returns the set of outgoing edges of this node.
        Returns:
        The set of outgoing edges of this node.
      • getEdges

        Set<NESTEdgeObject> getEdges()
        Returns the set of edges of this node.
        Returns:
        The set of edges of this node.
      • getIngoingEdges

        Set<NESTEdgeObject> getIngoingEdges​(Predicate<? super NESTEdgeObject> filter)
        Returns the set of ingoing edges of this node.
        Parameters:
        filter - filter to apply
        Returns:
        The set of ingoing edges of this node.
      • getOutgoingEdges

        Set<NESTEdgeObject> getOutgoingEdges​(Predicate<? super NESTEdgeObject> filter)
        Returns the set of outgoing edges of this node.
        Parameters:
        filter - filter to apply
        Returns:
        The set of outgoing edges of this node.
      • getEdges

        Set<NESTEdgeObject> getEdges​(Predicate<? super NESTEdgeObject> filter)
        Returns the set of edges of this node.
        Parameters:
        filter - filter to apply
        Returns:
        The set of edges of this node.
      • addIngoingEdge

        void addIngoingEdge​(NESTEdgeObject newEdge)
        Adds the given edge to the list of ingoing edges of this node.
        Parameters:
        newEdge - The edge, which should be added.
      • removeIngoingEdge

        void removeIngoingEdge​(NESTEdgeObject edgeToRemove)
        Removes the given edge from the list of ingoing edges of this node.
        Parameters:
        edgeToRemove - The edge, which should be removed.
      • addOutgoingEdge

        void addOutgoingEdge​(NESTEdgeObject newEdge)
        Adds the given edge to the list of outgoing edges of this node.
        Parameters:
        newEdge - The edge, which should be added.
      • removeOutgoingEdge

        void removeOutgoingEdge​(NESTEdgeObject edgeToRemove)
        Removes the given edge from the list of outgoing edges of this node.
        Parameters:
        edgeToRemove - The edge, which should be removed.
      • removeAllEdges

        void removeAllEdges()
      • removeAllIngoingEdges

        void removeAllIngoingEdges()
      • removeAllOutgoingEdges

        void removeAllOutgoingEdges()
      • isPartOf

        boolean isPartOf​(NESTNodeObject parentNode)
        Check if this node has a transitive part-of edge connection to the given parent node.
        Parameters:
        parentNode - to be checked.
        Returns:
        whether this node is a part of the given parent node.
      • isDirectPartOf

        boolean isDirectPartOf​(NESTNodeObject parentNode)
        Check if this node has a direct part-of edge to the given parent node.
        Parameters:
        parentNode - to be checked.
        Returns:
        whether this node is a part of the given parent node.
      • getParentNodes

        Set<NESTNodeObject> getParentNodes()
        Returns all nodes that have a transitive part-of connection to this node via outgoing part-of edges.
        Returns:
        parent node or null otherwise
      • getDirectParentNode

        NESTNodeObject getDirectParentNode()
        Returns a node that is directly connected to this node via outgoing part-of edge.
        Returns:
        parent node or null otherwise