Skip navigation links

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


oracle.spatial.network.lod
Interface LogicalNetLink

All Superinterfaces:
LogicalLink
All Known Subinterfaces:
SpatialNetLink
All Known Implementing Classes:
LogicalNetLinkImpl

public interface LogicalNetLink
extends LogicalLink

A LogicalNetLink defines a network link, which is a LogicalLink with reference to the LogicalNetNode objects of its start and end nodes.

Since:
11gR1

Method Summary
 java.lang.Object clone()
          Support cloneable.
 LogicalNetNode getEndNode()
          Returns the reference to the end node.
 LogicalNetNode getStartNode()
          Returns the reference to the start node.
 UserData getUserData(int category)
          Returns user data for the specified category.
 void setEndNode(LogicalNetNode endNode)
          Sets the reference to the end node of this link.
 void setStartNode(LogicalNetNode startNode)
          Sets the reference to the start node of this link.
 void setUserData(int category, UserData userData)
          Sets user data for the specified category.
 LogicalLink toStandAloneLink()
          Returns a new instance of a standalone link, which has the same properties as this link.

 

Methods inherited from interface oracle.spatial.network.lod.LogicalLink
getCategorizedUserData, getCost, getEndNodeId, getId, getLevel, getStartNodeId, getUserData, getUserData, isActive, isBidirected, setCategorizedUserData, setCost, setEndNodeId, setIsActive, setIsBidirected, setStartNodeId, setUserData, setUserData, toLogicalNetLink, update

 

Method Detail

getStartNode

LogicalNetNode getStartNode()
Returns the reference to the start node.
Returns:
start node object

getEndNode

LogicalNetNode getEndNode()
Returns the reference to the end node.
Returns:
end node object

setStartNode

void setStartNode(LogicalNetNode startNode)
Sets the reference to the start node of this link.
Parameters:
startNode - start node

setEndNode

void setEndNode(LogicalNetNode endNode)
Sets the reference to the end node of this link.
Parameters:
endNode - end node

toStandAloneLink

LogicalLink toStandAloneLink()
Returns a new instance of a standalone link, which has the same properties as this link.
Returns:
a standalone link

clone

java.lang.Object clone()
                       throws java.lang.CloneNotSupportedException
Support cloneable.
Specified by:
clone in interface LogicalLink
Returns:
cloned object
Throws:
java.lang.CloneNotSupportedException

getUserData

UserData getUserData(int category)
Returns user data for the specified category.
Returns:

setUserData

void setUserData(int category,
                 UserData userData)
Sets user data for the specified category.
Parameters:
userData -

Skip navigation links

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


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