|
Oracle® Spatial Java API Reference 11g Release 1 (11.1) B28401-01 |
||||||||
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 | |
---|---|
double |
getCost() Returns the cost of this node. |
long |
getId() Returns the node ID |
java.util.Map<java.lang.String,java.lang.Object> |
getUserData() Returns all the user data name value pairs. |
java.lang.Object |
getUserData(java.lang.String dataName) Returns the user data object for the specified data name. |
boolean |
isActive() Checks whether the node is active. |
void |
setCost(double cost) Sets the cost of this node. |
void |
setIsActive(boolean isActive) Sets whether this node is active. |
void |
setUserData(java.util.Map<java.lang.String,java.lang.Object> userDataMap) Sets the value of the user data. |
void |
setUserData(java.lang.String dataName, java.lang.Object dataValue) Sets the value of the user data. |
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 costjava.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 datajava.util.Map<java.lang.String,java.lang.Object> getUserData()
void setUserData(java.util.Map<java.lang.String,java.lang.Object> userDataMap)
userDataMap
- a map of userdata name value pairsboolean 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 from
|
Oracle® Spatial Java API Reference 11g Release 1 (11.1) B28401-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |