public interface LogicalNetNode extends LogicalNode
Modifier and Type | Method and Description |
---|---|
void |
addInLink(LogicalNetLink link)
Adds an incoming link to this node.
|
void |
addOutLink(LogicalNetLink link)
Adds an outgoing link to this node.
|
java.lang.Object |
clone()
Support cloneable.
|
long[] |
getAdjacentNodeIds(boolean activeOnly)
Returns the IDs of all the nodes with a direct link to or from this node.
|
CategorizedUserData |
getCategorizedUserData()
Returns categorized user data.
|
LogicalNetLink[] |
getIncidentLinks(boolean activeOnly)
Returns the IDs of all the links incident to this node.
|
LogicalNetLink[] |
getInLinks(boolean activeOnly)
Returns the array of incoming links to this node.
|
int |
getLinkLevel()
Returns the link level of the containing partition.
|
long[] |
getNextNodeIds(boolean activeOnly)
Returns the IDs of all the nodes with a direct link from this node.
|
int |
getNumberOfInLinks()
Returns the number of incoming links.
|
int |
getNumberOfOutLinks()
Returns the number of outgoing links.
|
LogicalNetLink[] |
getOutLinks(boolean activeOnly)
Returns the array of outgoing links from this node.
|
int |
getPartitionId()
Returns the partition ID.
|
long[] |
getPreviousNodeIds(boolean activeOnly)
Returns the IDs of all the nodes with a direct link to this node.
|
UserData |
getUserData(int category)
Returns user data for the specified category.
|
boolean |
isDummyExternalNode()
Returns true if the net node object is an external node and
|
boolean |
isPartiallyLoaded()
Returns true if the net node object is an external node and partially loaded.
|
void |
removeInLink(long linkId)
Removes the incoming link with the specified link ID.
|
void |
removeOutLink(long linkId)
Removes the outgoing link with the specified link ID.
|
void |
setCategorizedUserData(CategorizedUserData userData)
Sets categorized user data.
|
void |
setPartitionId(int partitionId)
Sets the partition ID.
|
void |
setUserData(int category, UserData userData)
Sets user data for the specified category.
|
LogicalNode |
toStandAloneNode()
Returns a new instance of a standalone node, which has the same properties as this node.
|
getCost, getId, getMaxLinkLevel, isActive, setCost, setIsActive, setMaxLinkLevel, update
int getLinkLevel()
int getPartitionId()
void setPartitionId(int partitionId)
partitionId
-LogicalNetLink[] getInLinks(boolean activeOnly)
LogicalNetLink[] getOutLinks(boolean activeOnly)
int getNumberOfInLinks()
int getNumberOfOutLinks()
void addInLink(LogicalNetLink link)
link
- incoming linkvoid addOutLink(LogicalNetLink link)
link
- outgoing linkLogicalNetLink[] getIncidentLinks(boolean activeOnly)
long[] getPreviousNodeIds(boolean activeOnly)
long[] getNextNodeIds(boolean activeOnly)
long[] getAdjacentNodeIds(boolean activeOnly)
void removeInLink(long linkId)
linkId
- link IDvoid removeOutLink(long linkId)
linkId
- link IDboolean isPartiallyLoaded()
boolean isDummyExternalNode()
LogicalNode toStandAloneNode()
java.lang.Object clone() throws java.lang.CloneNotSupportedException
java.lang.CloneNotSupportedException
CategorizedUserData getCategorizedUserData()
void setCategorizedUserData(CategorizedUserData userData)
userData
-UserData getUserData(int category)
void setUserData(int category, UserData userData)
userData
-