|
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 LogicalNetNode
A LogicalNetNode is a LogicalNode with reference to adjacent node and link objects.
Method Summary | |
---|---|
void |
addInLink(LogicalNetLink link) Adds an incoming link to this node. |
void |
addOutLink(LogicalNetLink link) Adds an outgoing link to this node. |
java.lang.Object |
clone() Support cloneable. |
long[] |
getAdjacentNodeIds(boolean activeOnly) Returns the IDs of all the nodes with a direct link to or from this node. |
CategorizedUserData |
getCategorizedUserData() Returns categorized user data. |
LogicalNetLink[] |
getIncidentLinks(boolean activeOnly) Returns the IDs of all the links incident to this node. |
LogicalNetLink[] |
getInLinks(boolean activeOnly) Returns the array of incoming links to this node. |
long[] |
getNextNodeIds(boolean activeOnly) Returns the IDs of all the nodes with a direct link from this node. |
int |
getNumberOfInLinks() Returns the number of incoming links. |
int |
getNumberOfOutLinks() Returns the number of outgoing links. |
LogicalNetLink[] |
getOutLinks(boolean activeOnly) Returns the array of outgoing links from this node. |
int |
getPartitionId() Returns the partition ID. |
long[] |
getPreviousNodeIds(boolean activeOnly) Returns the IDs of all the nodes with a direct link 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. |
void |
removeInLink(long linkId) Removes the incoming link with the specified link ID. |
void |
removeOutLink(long linkId) Removes the outgoing link with the specified link ID. |
void |
setCategorizedUserData(CategorizedUserData userData) Sets categorized user data. |
void |
setPartitionId(int partitionId) Sets the partition ID. |
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. |
LogicalNode |
toStandAloneNode() Returns a new instance of a standalone node, which has the same properties as this node. |
Methods inherited from interface oracle.spatial.network.lod.LogicalNode |
---|
getCost, getId, getMaxLinkLevel, isActive, setCost, setIsActive, setMaxLinkLevel, update |
Method Detail |
---|
int getPartitionId()
void setPartitionId(int partitionId)
partitionId
-LogicalNetLink[] getInLinks(boolean activeOnly)
LogicalNetLink[] getOutLinks(boolean activeOnly)
int getNumberOfInLinks()
int getNumberOfOutLinks()
void addInLink(LogicalNetLink link)
link
- incoming linkvoid addOutLink(LogicalNetLink link)
link
- outgoing linkLogicalNetLink[] getIncidentLinks(boolean activeOnly)
long[] getPreviousNodeIds(boolean activeOnly)
long[] getNextNodeIds(boolean activeOnly)
long[] getAdjacentNodeIds(boolean activeOnly)
void removeInLink(long linkId)
linkId
- link IDvoid removeOutLink(long linkId)
linkId
- link IDLogicalNode toStandAloneNode()
java.lang.Object clone() throws java.lang.CloneNotSupportedException
java.lang.CloneNotSupportedException
java.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 |