Skip navigation links

Oracle® Spatial Java API Reference
11g Release 2 (11.2)
E11829-01


oracle.spatial.network.lod
Interface LogicalSubNetwork

All Superinterfaces:
java.lang.Cloneable, LogicalBasicNetwork
All Known Subinterfaces:
LogicalPartition, SpatialPartition, SpatialSubNetwork
All Known Implementing Classes:
LogicalPartitionImpl

public interface LogicalSubNetwork
extends LogicalBasicNetwork

A LogicalSubNetwork is a LogicalNetwork that connects to external nodes.

Since:
11gR1

Method Summary
 void addNode(LogicalNetNode node, boolean isInternal)
          Adds a logical node to the sub-network.
 long[] getBoundaryLinkIds()
          Returns all the boundary link IDs in the sub-network.
 long[] getExternalNodeIds()
          Returns all the external node IDs in the sub-network.
 long[] getIncomingLinkIds()
          Returns all the incoming link IDs in the sub-network.
 long[] getInternalBoundaryNodeIds()
          Returns all the internal node IDs in the sub-network without a link to any external nodes.
 long[] getInternalLinkIds()
          Returns all the internal link IDs in the sub-network.
 long[] getInternalNodeIds()
          Returns all the internal node IDs in the sub-network.
 long[] getInternalNonBoundaryNodeIds()
          Returns all the internal node IDs in the sub-network without a link to any external nodes.
 int getNumberOfBoundaryLinks()
          Returns the number of boundary links in the sub-network, which includes both incoming links and outgoing links.
 int getNumberOfExternalNodes()
          Returns the number of external nodes in the sub-network.
 int getNumberOfIncomingLinks()
          Returns the number of incoming links to the sub-network.
 int getNumberOfInternalLinks()
          Returns the number of internal links in the sub-network.
 int getNumberOfInternalNodes()
          Returns the number of internal nodes in the sub-network.
 int getNumberOfOutgoingLinks()
          Returns the number of outgoing links from the sub-network.
 long[] getOutgoingLinkIds()
          Returns all the outgoing link IDs in the sub-network.
 boolean isIncomingLink(long linkId)
          Checks whether the input link is an incoming link or not.
 boolean isInternalLink(long linkId)
          Checks whether the input link is an internal link or not.
 boolean isInternalNode(long nodeId)
          Checks whether the input node is an internal node or not.
 boolean isOutgoingLink(long linkId)
          Checks whether the input link is an outgoing link or not.

 

Methods inherited from interface oracle.spatial.network.lod.LogicalBasicNetwork
addLink, addNode, addUserData, addUserDataCategory, clone, getLink, getLinkIds, getLinks, getName, getNode, getNodeIds, getNodes, getNumberOfLinks, getNumberOfNodes, getUserDataCategories, isUserDataCategoryLoaded, isUserDataLoaded, removeLink, removeNode, setIsUserDataLoaded

 

Method Detail

getNumberOfInternalNodes

int getNumberOfInternalNodes()
Returns the number of internal nodes in the sub-network.
Returns:
number of internal nodes

getNumberOfExternalNodes

int getNumberOfExternalNodes()
Returns the number of external nodes in the sub-network.
Returns:
number of external nodes

getNumberOfInternalLinks

int getNumberOfInternalLinks()
Returns the number of internal links in the sub-network.
Returns:
number of internal links

getNumberOfBoundaryLinks

int getNumberOfBoundaryLinks()
Returns the number of boundary links in the sub-network, which includes both incoming links and outgoing links.
Returns:
number of boundary links

getNumberOfIncomingLinks

int getNumberOfIncomingLinks()
Returns the number of incoming links to the sub-network.
Returns:
number of incoming links

getNumberOfOutgoingLinks

int getNumberOfOutgoingLinks()
Returns the number of outgoing links from the sub-network.
Returns:
number of outgoing links

getInternalNodeIds

long[] getInternalNodeIds()
Returns all the internal node IDs in the sub-network.
Returns:
array of internal node IDs

getInternalBoundaryNodeIds

long[] getInternalBoundaryNodeIds()
Returns all the internal node IDs in the sub-network without a link to any external nodes.
Returns:
array of internal boundary node IDs

getInternalNonBoundaryNodeIds

long[] getInternalNonBoundaryNodeIds()
Returns all the internal node IDs in the sub-network without a link to any external nodes.
Returns:
array of internal non-boundary node IDs

getExternalNodeIds

long[] getExternalNodeIds()
Returns all the external node IDs in the sub-network.
Returns:
array of external node IDs

isInternalNode

boolean isInternalNode(long nodeId)
Checks whether the input node is an internal node or not.
Parameters:
nodeId - node id
Returns:
true, if the input node is an internal node; false, otherwise.

isInternalLink

boolean isInternalLink(long linkId)
Checks whether the input link is an internal link or not.
Parameters:
linkId - link ID
Returns:
true, if the input link is an internal link; false, otherwise.

isIncomingLink

boolean isIncomingLink(long linkId)
Checks whether the input link is an incoming link or not.
Parameters:
linkId - link ID
Returns:
true, if the input link is an incoming link; false, otherwise.

isOutgoingLink

boolean isOutgoingLink(long linkId)
Checks whether the input link is an outgoing link or not.
Parameters:
linkId - link ID
Returns:
true, if the input link is an outgoing link; false, otherwise.

getInternalLinkIds

long[] getInternalLinkIds()
Returns all the internal link IDs in the sub-network.
Returns:
array of internal link IDs.

getBoundaryLinkIds

long[] getBoundaryLinkIds()
Returns all the boundary link IDs in the sub-network.
Returns:
array of boundary link IDs.

getIncomingLinkIds

long[] getIncomingLinkIds()
Returns all the incoming link IDs in the sub-network.
Returns:
array of incoming link IDs.

getOutgoingLinkIds

long[] getOutgoingLinkIds()
Returns all the outgoing link IDs in the sub-network.
Returns:
array of outgoing link IDs.

addNode

void addNode(LogicalNetNode node,
             boolean isInternal)
Adds a logical node to the sub-network.
Parameters:
node - logical node
isInternal - set to true, if the node is an internal node; false, otherwise.

Skip navigation links

Oracle® Spatial Java API Reference
11g Release 2 (11.2)
E11829-01


Copyright © 2007, 2009, Oracle and/or its affiliates. All Rights Reserved.