|
Oracle® Spatial Java API Reference 11g Release 1 (11.1) B28401-02 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface LogicalBasicNetwork
This interface defines methods supported by a logical network.
| Method Summary | |
|---|---|
void |
addLink(LogicalNetLink link)Add a logical link to the network. |
void |
addNode(LogicalNetNode node)Add a logical node to the network. |
void |
addUserData(java.lang.String tableType, long[] ids, java.util.Map<java.lang.String,java.lang.Object>[] userData)Adds user data to the network. |
java.lang.Object |
clone()Support cloneable |
LogicalNetLink |
getLink(long linkId)Returns the logical link object for the specified link id. |
long[] |
getLinkIds()Returns all the link ids in the network. |
LogicalNetLink[] |
getLinks()Returns all the links in the network. |
java.lang.String |
getName()Returns the internal network name, for example, the network name stored in spatial network metadata table. |
LogicalNetNode |
getNode(long nodeId)Returns the logical node object for the specified node id. |
long[] |
getNodeIds()Returns all the node ids in the network. |
LogicalNetNode[] |
getNodes()Returns all the nodes in the network. |
int |
getNumberOfLinks()Returns the total number of links in the network. |
int |
getNumberOfNodes()Returns the total number of nodes in the network. |
boolean |
isUserDataLoaded()Returns whether the user data are loaded to the network. |
void |
removeLink(long linkId)Removes a link from the network. |
void |
removeNode(long nodeId)Removes a node from the network. |
void |
setIsUserDataLoaded(boolean isUserDataLoaded)Sets whether the user data is loaded to the network. |
| Method Detail |
|---|
java.lang.String getName()
void addLink(LogicalNetLink link)
link - logical linkvoid addNode(LogicalNetNode node)
node -int getNumberOfNodes()
int getNumberOfLinks()
LogicalNetNode[] getNodes()
LogicalNetLink[] getLinks()
LogicalNetNode getNode(long nodeId)
nodeId - node idLogicalNetLink getLink(long linkId)
linkId - link idlong[] getNodeIds()
long[] getLinkIds()
boolean isUserDataLoaded()
void setIsUserDataLoaded(boolean isUserDataLoaded)
isUserDataLoaded - true, if the user data are loaded; false, otherwise.
void addUserData(java.lang.String tableType,
long[] ids,
java.util.Map<java.lang.String,java.lang.Object>[] userData)
tableType - table type of the user dataids - IDs of the objects to which the user data are addeduserData - arrays of user data mapsvoid removeNode(long nodeId)
nodeId - ID of the node to be removedvoid removeLink(long linkId)
linkId - ID of the link to be removed
java.lang.Object clone()
throws java.lang.CloneNotSupportedException
java.lang.CloneNotSupportedException
|
Oracle® Spatial Java API Reference 11g Release 1 (11.1) B28401-02 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||