Skip navigation links

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


oracle.spatial.network.lod
Interface LogicalLightPath

All Known Subinterfaces:
LogicalPath, SpatialPath

public interface LogicalLightPath

Light-weight logical path, which knows the start and end node IDs on the path, but does not know the complete the list of nodes and links.

Since:
Oracle Database 11g Release 2 (11.2)

Method Summary
 CategorizedUserData getCategorizedUserData()
          Returns categorized user data.
 double getCost()
          Deprecated. use getCosts()
 double[] getCosts()
          Returns the costs of this path.
 long getEndNodeId()
          Returns the end node ID of this path.
 long getFirstLinkId()
          Returns the ID of the first link on this path.
 long getLastLinkId()
          Returns the ID of the last link on this path.
 int getNumberOfLinks()
          Returns the number of links on this path.
 int getNumberOfNodes()
          Returns the number of nodes on this path.
 long getStartNodeId()
          Returns the start node ID of this path.
 java.util.Map<java.lang.String,java.lang.Object> getUserData()
          Deprecated.  
 UserData getUserData(int category)
          Returns user data for the specified category.
 java.lang.Object getUserData(java.lang.String dataName)
          Deprecated.  
 void setCategorizedUserData(CategorizedUserData userData)
          Sets categorized user data.
 void setUserData(int category, UserData userData)
          Sets user data for the specified category.
 void setUserData(java.util.Map<java.lang.String,java.lang.Object> userData)
          Deprecated.  
 void setUserData(java.lang.String dataName, java.lang.Object dataValue)
          Deprecated.  

 

Method Detail

getCost

double getCost()
Deprecated. use getCosts()
Returns the primary cost of this path.
Returns:
primary cost of the path

getCosts

double[] getCosts()
Returns the costs of this path.
Returns:
costs of the path

getStartNodeId

long getStartNodeId()
Returns the start node ID of this path.
Returns:
start node ID

getEndNodeId

long getEndNodeId()
Returns the end node ID of this path.
Returns:
end node ID

getFirstLinkId

long getFirstLinkId()
Returns the ID of the first link on this path.
Returns:
ID of the first link

getLastLinkId

long getLastLinkId()
Returns the ID of the last link on this path.
Returns:
ID of the last link

getNumberOfNodes

int getNumberOfNodes()
Returns the number of nodes on this path.
Returns:
number of nodes

getNumberOfLinks

int getNumberOfLinks()
Returns the number of links on this path.
Returns:
number of links

getUserData

java.lang.Object getUserData(java.lang.String dataName)
Deprecated. 
Returns the user data object for the specified data name.
Parameters:
dataName - name of the user data
Returns:
value of the user data

setUserData

void setUserData(java.lang.String dataName,
                 java.lang.Object dataValue)
Deprecated. 
Sets the value of the user data. No verification of the validity of the data name is done inside this method, therefore, the caller must ensure that the input data name is valid.
Parameters:
dataName - name of the user data
dataValue - value of the user data

getCategorizedUserData

CategorizedUserData getCategorizedUserData()
Returns categorized user data.
Returns:

setCategorizedUserData

void setCategorizedUserData(CategorizedUserData userData)
Sets categorized user data.
Parameters:
userData -

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 -

getUserData

java.util.Map<java.lang.String,java.lang.Object> getUserData()
Deprecated. 
Returns user data.
Returns:
user data

setUserData

void setUserData(java.util.Map<java.lang.String,java.lang.Object> userData)
Deprecated. 
Sets user data.
Parameters:
userData - user Data

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.