public interface LogicalLink
| Modifier and Type | Method and Description | 
|---|---|
java.lang.Object | 
clone()
Support cloneable. 
 | 
CategorizedUserData | 
getCategorizedUserData()
Returns categorized user data. 
 | 
double | 
getCost()
Returns the cost of this link. 
 | 
long | 
getEndNodeId()
Returns the end node ID. 
 | 
long | 
getId()
Returns the link ID. 
 | 
int | 
getLevel()
Returns the link level. 
 | 
long | 
getStartNodeId()
Returns the start node ID. 
 | 
UserData | 
getUserData(int category)
Returns user data for the specified category. 
 | 
boolean | 
isActive()
Checks whether the link is active. 
 | 
boolean | 
isBidirected()
Checks whether this link is bidirected or not. 
 | 
void | 
setCategorizedUserData(CategorizedUserData userData)
Sets categorized user data. 
 | 
void | 
setCost(double cost)
Sets the cost of this link. 
 | 
void | 
setEndNodeId(long endNodeId)
Sets the end node ID. 
 | 
void | 
setIsActive(boolean isActive)
Sets whether the link is active. 
 | 
void | 
setIsBidirected(boolean isBidirected)
Sets whether the link is bidirected or not. 
 | 
void | 
setStartNodeId(long startNodeId)
Sets the start node ID. 
 | 
void | 
setUserData(int category, UserData userData)
Sets user data for the specified category. 
 | 
LogicalNetLink | 
toLogicalNetLink(LogicalPartition partition)
Converts the standalone link to a partition link 
 | 
void | 
update(LogicalLink link)
Copies the attributes of the input link to this link. 
 | 
long getId()
int getLevel()
long getStartNodeId()
void setStartNodeId(long startNodeId)
startNodeId - start node IDlong getEndNodeId()
void setEndNodeId(long endNodeId)
endNodeId - end node IDdouble getCost()
void setCost(double cost)
cost - link costboolean isBidirected()
void setIsBidirected(boolean isBidirected)
isBidirected - true, if this link is bidirected; false, otherwise.LogicalNetLink toLogicalNetLink(LogicalPartition partition)
partition - the partition that contains the linkboolean isActive()
void setIsActive(boolean isActive)
isActive - true if the link is active; false otherwise.void update(LogicalLink link)
link - link to copy from
java.lang.Object clone()
                throws java.lang.CloneNotSupportedException
java.lang.CloneNotSupportedExceptionCategorizedUserData getCategorizedUserData()
void setCategorizedUserData(CategorizedUserData userData)
userData -UserData getUserData(int category)
void setUserData(int category,
                 UserData userData)
userData -