Package oracle.spatial.network.lod
Interface LogicalNode
-
- All Known Subinterfaces:
LogicalNetNode
,SpatialNetNode
,SpatialNode
- All Known Implementing Classes:
LogicalNetNodeImpl
public interface LogicalNode
This interface defines a standalone node.- Since:
- 11gR1
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.Object
clone()
Support cloneableCategorizedUserData
getCategorizedUserData()
Returns categorized user data.double
getCost()
Returns the cost of this node.long
getId()
Returns the node IDint
getMaxLinkLevel()
Returns the maximum link level of the links incident to this node.UserData
getUserData(int category)
Returns user data for the specified category.boolean
isActive()
Checks whether the node is active.void
setCategorizedUserData(CategorizedUserData userData)
Sets categorized user data.void
setCost(double cost)
Sets the cost of this node.void
setIsActive(boolean isActive)
Sets whether this node is active.void
setMaxLinkLevel(int maxLinkLevel)
Sets the maximum link level of the links incident to this node.void
setUserData(int category, UserData userData)
Sets user data for the specified category.void
update(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.CloneNotSupportedException
Support cloneable- Returns:
- cloned object
- Throws:
java.lang.CloneNotSupportedException
-
-