Interface LogicalNetNode

  • All Superinterfaces:
    LogicalNode
    All Known Subinterfaces:
    SpatialNetNode
    All Known Implementing Classes:
    LogicalNetNodeImpl

    public interface LogicalNetNode
    extends LogicalNode
    A LogicalNetNode is a LogicalNode with reference to adjacent node and link objects.
    Since:
    11gR1
    • Method Detail

      • getLinkLevel

        int getLinkLevel()
        Returns the link level of the containing partition.
        Returns:
      • getPartitionId

        int getPartitionId()
        Returns the partition ID.
        Returns:
      • setPartitionId

        void setPartitionId​(int partitionId)
        Sets the partition ID.
        Parameters:
        partitionId -
      • getInLinks

        LogicalNetLink[] getInLinks​(boolean activeOnly)
        Returns the array of incoming links to this node.
        Returns:
        array of links
      • getOutLinks

        LogicalNetLink[] getOutLinks​(boolean activeOnly)
        Returns the array of outgoing links from this node.
        Returns:
        array of links
      • getNumberOfInLinks

        int getNumberOfInLinks()
        Returns the number of incoming links.
        Returns:
        number of incoming links
      • getNumberOfOutLinks

        int getNumberOfOutLinks()
        Returns the number of outgoing links.
        Returns:
        number of outgoing links
      • addInLink

        void addInLink​(LogicalNetLink link)
        Adds an incoming link to this node.
        Parameters:
        link - incoming link
      • addOutLink

        void addOutLink​(LogicalNetLink link)
        Adds an outgoing link to this node.
        Parameters:
        link - outgoing link
      • getIncidentLinks

        LogicalNetLink[] getIncidentLinks​(boolean activeOnly)
        Returns the IDs of all the links incident to this node.
        Returns:
        array of incident link IDs
      • getPreviousNodeIds

        long[] getPreviousNodeIds​(boolean activeOnly)
        Returns the IDs of all the nodes with a direct link to this node.
        Returns:
        array of previous node IDs
      • getNextNodeIds

        long[] getNextNodeIds​(boolean activeOnly)
        Returns the IDs of all the nodes with a direct link from this node.
        Returns:
        array of next node IDs
      • getAdjacentNodeIds

        long[] getAdjacentNodeIds​(boolean activeOnly)
        Returns the IDs of all the nodes with a direct link to or from this node.
        Returns:
        array of adjacent node IDs
      • removeInLink

        void removeInLink​(long linkId)
        Removes the incoming link with the specified link ID.
        Parameters:
        linkId - link ID
      • removeOutLink

        void removeOutLink​(long linkId)
        Removes the outgoing link with the specified link ID.
        Parameters:
        linkId - link ID
      • isPartiallyLoaded

        boolean isPartiallyLoaded()
        Returns true if the net node object is an external node and partially loaded.
        Returns:
      • isDummyExternalNode

        boolean isDummyExternalNode()
        Returns true if the net node object is an external node and
        Returns:
      • toStandAloneNode

        LogicalNode toStandAloneNode()
        Returns a new instance of a standalone node, which has the same properties as this node.
        Returns:
        a standalone node
      • clone

        java.lang.Object clone()
                        throws java.lang.CloneNotSupportedException
        Support cloneable.
        Returns:
        cloned object
        Throws:
        java.lang.CloneNotSupportedException
      • getCategorizedUserData

        CategorizedUserData getCategorizedUserData()
        Returns categorized user data.
        Returns:
      • setCategorizedUserData

        void setCategorizedUserData​(CategorizedUserData userData)
        Sets categorized user data.
        Parameters:
        userData -
      • getUserData

        UserData getUserData​(int category)
        Returns user data for the specified category.
        Returns:
      • setUserData

        void setUserData​(int category,
                         UserData userData)
        Sets user data for the specified category.
        Parameters:
        userData -