|
Oracle® Spatial Java API Reference 11g Release 2 (11.2) E11829-02 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface LogicalNode
This interface defines a standalone node.
Method Summary | |
---|---|
CategorizedUserData |
getCategorizedUserData() Returns categorized user data. |
double |
getCost() Returns the cost of this node. |
long |
getId() Returns the node ID |
int |
getMaxLinkLevel() Returns the maximum link level of the links incident to this node. |
java.util.Map<java.lang.String,java.lang.Object> |
getUserData() Deprecated. |
UserData |
getUserData(int category) Returns user data for the specified category. |
java.lang.Object |
getUserData(java.lang.String dataName) Deprecated. |
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 |
setUserData(java.util.Map<java.lang.String,java.lang.Object> userData) Deprecated. |
void |
setUserData(java.lang.String dataName, java.lang.Object dataValue) Deprecated. |
void |
update(LogicalNode node) Copies the attributes of the input node to this node. |
Method Detail |
---|
long getId()
double getCost()
void setCost(double cost)
cost
- node costint getMaxLinkLevel()
void setMaxLinkLevel(int maxLinkLevel)
maxLinkLevel
- maximum link level of the links incident to this nodeboolean isActive()
void setIsActive(boolean isActive)
isActive
- true if the node is active; false otherwise.void update(LogicalNode node)
node
- node containing the attributes to copy fromjava.lang.Object getUserData(java.lang.String dataName)
dataName
- name of the user datavoid setUserData(java.lang.String dataName, java.lang.Object dataValue)
dataName
- name of the user datadataValue
- value of the user dataCategorizedUserData getCategorizedUserData()
void setCategorizedUserData(CategorizedUserData userData)
userData
-UserData getUserData(int category)
void setUserData(int category, UserData userData)
userData
-java.util.Map<java.lang.String,java.lang.Object> getUserData()
void setUserData(java.util.Map<java.lang.String,java.lang.Object> userData)
userData
- user Data
|
Oracle® Spatial Java API Reference 11g Release 2 (11.2) E11829-02 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |