Package oracle.spatial.network.lod
Interface LogicalNode
-
- All Known Subinterfaces:
LogicalNetNode,SpatialNetNode,SpatialNode
- All Known Implementing Classes:
LogicalNetNodeImpl
public interface LogicalNodeThis interface defines a standalone node.- Since:
- 11gR1
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.Objectclone()Support cloneableCategorizedUserDatagetCategorizedUserData()Returns categorized user data.doublegetCost()Returns the cost of this node.longgetId()Returns the node IDintgetMaxLinkLevel()Returns the maximum link level of the links incident to this node.UserDatagetUserData(int category)Returns user data for the specified category.booleanisActive()Checks whether the node is active.voidsetCategorizedUserData(CategorizedUserData userData)Sets categorized user data.voidsetCost(double cost)Sets the cost of this node.voidsetIsActive(boolean isActive)Sets whether this node is active.voidsetMaxLinkLevel(int maxLinkLevel)Sets the maximum link level of the links incident to this node.voidsetUserData(int category, UserData userData)Sets user data for the specified category.voidupdate(LogicalNode node)Copies the attributes of the input node to this node.
-
-
-
Method Detail
-
getId
long getId()
Returns the node ID- Returns:
- node ID
-
getCost
double getCost()
Returns the cost of this node.- Returns:
- node cost
-
setCost
void setCost(double cost)
Sets the cost of this node.- Parameters:
cost- node cost
-
getMaxLinkLevel
int getMaxLinkLevel()
Returns the maximum link level of the links incident to this node.- Returns:
- the maximum link level of the links incident to this node
-
setMaxLinkLevel
void setMaxLinkLevel(int maxLinkLevel)
Sets the maximum link level of the links incident to this node.- Parameters:
maxLinkLevel- maximum link level of the links incident to this node
-
isActive
boolean isActive()
Checks whether the node is active.- Returns:
- true if the node is active
-
setIsActive
void setIsActive(boolean isActive)
Sets whether this node is active.- Parameters:
isActive- true if the node is active; false otherwise.
-
update
void update(LogicalNode node)
Copies the attributes of the input node to this node.- Parameters:
node- node containing the attributes to copy from
-
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-
-
clone
java.lang.Object clone() throws java.lang.CloneNotSupportedExceptionSupport cloneable- Returns:
- cloned object
- Throws:
java.lang.CloneNotSupportedException
-
-