|
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 |
java.lang.Object
oracle.spatial.network.lod.NetworkUpdate
public class NetworkUpdate
An instance of this class contains the network update information for a network.
Constructor Summary | |
---|---|
NetworkUpdate() |
Method Summary | |
---|---|
void |
deleteLink(long linkId) Deletes a link from the network |
void |
deleteLink(long linkId, int enclosingPartitionId) Deletes a link from the network |
void |
deleteNode(long nodeId) Deletes a node from the network |
void |
deleteNode(long nodeId, int enclosingPartitionId) Delete a node from the network. |
java.util.Set<java.lang.Long> |
getDeletedLinkIds() |
java.util.Set<java.lang.Long> |
getDeletedNodeIds() |
LogicalLink |
getLink(long linkId) |
LogicalNode |
getNode(long nodeId) |
int |
getNodePartitionId(long nodeId) Returns the partition ID the node is assigned to. |
PartitionUpdate |
getPartitionUpdate(int partitionId) Returns the update information of the specified partition. |
int[] |
getUpdatedPartitionIds() Returns the IDs of all the updated partitions. |
void |
setPartitionUpdate(int partitionId, PartitionUpdate partitionUpdate) Sets the update information for the specified partition. |
void |
updateLink(LogicalLink link, int enclosingPartitionId) Adds or updates a link in the network |
void |
updateNode(LogicalNode node, int enclosingPartitionId, int nodePartitionId) Adds or updates a node in the network. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public NetworkUpdate()
Method Detail |
---|
public int[] getUpdatedPartitionIds()
public PartitionUpdate getPartitionUpdate(int partitionId)
partitionId
- partition IDpublic void setPartitionUpdate(int partitionId, PartitionUpdate partitionUpdate)
partitionId
- partition IDpartitionUpdate
- partition update informationpublic void updateNode(LogicalNode node, int enclosingPartitionId, int nodePartitionId)
node
- node to be updatedenclosingPartitionId
- the network partition to update the node in. Note that, when the node is an external node in the enclosing partition, the enclosing partition ID is different from the partition ID the node is assigned to.nodePartitionId
- the partition ID the node is assigned topublic void deleteNode(long nodeId, int enclosingPartitionId)
nodeId
- ID of the node to be deletedenclosingPartitionId
- the network partition to delete the node from. Note that, when the node is an external node in the enclosing partition, the enclosing partition ID is different from the partition ID the node is assigned to.public void deleteNode(long nodeId)
nodeId
- ID of the node to be deletedpublic void updateLink(LogicalLink link, int enclosingPartitionId)
link
- link to be updatedenclosingPartitionId
- the network partition to update the link inpublic void deleteLink(long linkId, int enclosingPartitionId)
linkId
- ID of the link to be deletedenclosingPartitionId
- the network partition to delele the link frompublic void deleteLink(long linkId)
linkId
- ID of the link to be deletedpublic int getNodePartitionId(long nodeId)
nodeId
- node IDpublic LogicalNode getNode(long nodeId)
public LogicalLink getLink(long linkId)
public java.util.Set<java.lang.Long> getDeletedNodeIds()
public java.util.Set<java.lang.Long> getDeletedLinkIds()
|
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 |