Skip navigation links

Oracle® Spatial Java API Reference
11g Release 1 (11.1)
B28401-01


oracle.spatial.network.lod
Interface LogicalNetNode

All Superinterfaces:
java.lang.Cloneable, LogicalNode
All Known Subinterfaces:
SpatialNetNode

public interface LogicalNetNode
extends LogicalNode

A LogicalNetNode is a LogicalNode with reference to adjacent node and link objects.

Since:
11gR1

Method Summary
 void addInLink(LogicalNetLink link)
          Adds an incoming link to this node.
 void addOutLink(LogicalNetLink link)
          Adds an outgoing link to this node.
 long[] getAdjacentNodeIds(boolean activeOnly)
          Returns the IDs of all the nodes with a direct link to or from this node.
 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.
 long[] getPreviousNodeIds(boolean activeOnly)
          Returns the IDs of all the nodes with a direct link to this node.
 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.
 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, getUserData, getUserData, isActive, setCost, setIsActive, setUserData, setUserData, update

 

Method Detail

getInLinks

LogicalNetLink[] getInLinks(boolean activeOnly)
Returns the array of incoming links to this node.
Returns:
array of links

getOutLinks

LogicalNetLink[] getOutLinks(boolean activeOnly)
Returns the array of outgoing links from this node.
Returns:
array of links

getNumberOfInLinks

int getNumberOfInLinks()
Returns the number of incoming links.
Returns:
number of incoming links

getNumberOfOutLinks

int getNumberOfOutLinks()
Returns the number of outgoing links.
Returns:
number of outgoing links

addInLink

void addInLink(LogicalNetLink link)
Adds an incoming link to this node.
Parameters:
link - incoming link

addOutLink

void addOutLink(LogicalNetLink link)
Adds an outgoing link to this node.
Parameters:
link - outgoing link

getIncidentLinks

LogicalNetLink[] getIncidentLinks(boolean activeOnly)
Returns the IDs of all the links incident to this node.
Returns:
array of incident link IDs

getPreviousNodeIds

long[] getPreviousNodeIds(boolean activeOnly)
Returns the IDs of all the nodes with a direct link to this node.
Returns:
array of previous node IDs

getNextNodeIds

long[] getNextNodeIds(boolean activeOnly)
Returns the IDs of all the nodes with a direct link from this node.
Returns:
array of next node IDs

getAdjacentNodeIds

long[] getAdjacentNodeIds(boolean activeOnly)
Returns the IDs of all the nodes with a direct link to or from this node.
Returns:
array of adjacent node IDs

removeInLink

void removeInLink(long linkId)
Removes the incoming link with the specified link ID.
Parameters:
linkId - link ID

removeOutLink

void removeOutLink(long linkId)
Removes the outgoing link with the specified link ID.
Parameters:
linkId - link ID

toStandAloneNode

LogicalNode toStandAloneNode()
Returns a new instance of a standalone node, which has the same properties as this node.
Returns:
a standalone node

Skip navigation links

Oracle® Spatial Java API Reference
11g Release 1 (11.1)
B28401-01


Copyright © 2007, Oracle. All Rights Reserved.