Skip navigation links

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


oracle.spatial.network.lod
Interface LogicalNode

All Known Subinterfaces:
LogicalNetNode, SpatialNetNode, SpatialNode
All Known Implementing Classes:
LogicalNetNodeImpl

public interface LogicalNode

This interface defines a standalone node.

Since:
11gR1

Method Summary
 CategorizedUserData getCategorizedUserData()
          Returns categorized user data.
 double getCost()
          Returns the cost of this node.
 long getId()
          Returns the node ID
 int getMaxLinkLevel()
          Returns the maximum link level of the links incident to this node.
 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.  
 boolean isActive()
          Checks whether the node is active.
 void setCategorizedUserData(CategorizedUserData userData)
          Sets categorized user data.
 void setCost(double cost)
          Sets the cost of this node.
 void setIsActive(boolean isActive)
          Sets whether this node is active.
 void setMaxLinkLevel(int maxLinkLevel)
          Sets the maximum link level of the links incident to this node.
 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.  
 void update(LogicalNode node)
          Copies the attributes of the input node to this node.

 

Method Detail

getId

long getId()
Returns the node ID
Returns:
node ID

getCost

double getCost()
Returns the cost of this node.
Returns:
node cost

setCost

void setCost(double cost)
Sets the cost of this node.
Parameters:
cost - node cost

getMaxLinkLevel

int getMaxLinkLevel()
Returns the maximum link level of the links incident to this node.
Returns:
the maximum link level of the links incident to this node

setMaxLinkLevel

void setMaxLinkLevel(int maxLinkLevel)
Sets the maximum link level of the links incident to this node.
Parameters:
maxLinkLevel - maximum link level of the links incident to this node

isActive

boolean isActive()
Checks whether the node is active.
Returns:
true if the node is active

setIsActive

void setIsActive(boolean isActive)
Sets whether this node is active.
Parameters:
isActive - true if the node is active; false otherwise.

update

void update(LogicalNode node)
Copies the attributes of the input node to this node.
Parameters:
node - node containing the attributes to copy from

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.