|
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 LogicalPartition
This interface defines methods supported by a logical network partition.
Method Summary | |
---|---|
void |
addNode(LogicalNetNode node, int partitionId) Adds a node to the network partition. |
int |
getNodePartitionId(long nodeId) Returns the ID of the partition that the input node belongs to. |
int |
getPartitionId() Returns the partition ID of this partition. |
void |
setNodePartitionId(long nodeId, int partitionId) Sets the partition the node belongs to. |
void |
update(PartitionUpdate pu) Updates this network partition with the input partition update information. |
Methods inherited from interface oracle.spatial.network.lod.LogicalSubNetwork |
---|
addNode, getBoundaryLinkIds, getExternalNodeIds, getIncomingLinkIds, getInternalBoundaryNodeIds, getInternalLinkIds, getInternalNodeIds, getInternalNonBoundaryNodeIds, getNumberOfBoundaryLinks, getNumberOfExternalNodes, getNumberOfIncomingLinks, getNumberOfInternalLinks, getNumberOfInternalNodes, getNumberOfOutgoingLinks, getOutgoingLinkIds, isIncomingLink, isInternalLink, isInternalNode, isOutgoingLink |
Methods inherited from interface oracle.spatial.network.lod.LogicalBasicNetwork |
---|
addLink, addNode, addUserData, clone, getLink, getLinkIds, getLinks, getName, getNode, getNodeIds, getNodes, getNumberOfLinks, getNumberOfNodes, isUserDataLoaded, removeLink, removeNode, setIsUserDataLoaded |
Method Detail |
---|
int getPartitionId()
void addNode(LogicalNetNode node, int partitionId)
node
- logical nodepartitionId
- ID of the partition that the node belongs toint getNodePartitionId(long nodeId) throws NodeNotFoundException
nodeId
- node idNodeNotFoundException
void setNodePartitionId(long nodeId, int partitionId)
nodeId
- node IDpartitionId
- partition IDvoid update(PartitionUpdate pu) throws LODNetworkException
pu
- partition update informationLODNetworkException
|
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 |