Oracle Application Server Wireless Java API Reference
B10400-01

oracle.panama.spatial.traffic
Class RouteInfo

java.lang.Object
  |
  +--oracle.panama.spatial.traffic.RouteInfo

public class RouteInfo
extends java.lang.Object

Provide the information of the route name, and route type.

Author:
Yingmei Sun

Constructor Summary
RouteInfo(java.lang.String name)
          Create a RouteInfo instance.
RouteInfo(java.lang.String name, java.lang.String type)
          Create a RouteInfo instance.

 

Method Summary
 java.lang.String getName()
           
 java.lang.String getType()
           

 

Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Constructor Detail

RouteInfo

public RouteInfo(java.lang.String name,
                 java.lang.String type)
Create a RouteInfo instance. Currently route type is ignored. Note the name must be same as shown from function getRoutesInCity(CityInfo) . So calling getRoutesInCity(CityInfo) is recommended before specifying the name in the RouteInfo constructor.

RouteInfo

public RouteInfo(java.lang.String name)
Create a RouteInfo instance. Route type is null. Note the name must be same as shown from function getRoutesInCity(CityInfo) . So calling getRoutesInCity(CityInfo) is recommended before specifying the name in the RouteInfo constructor.
Method Detail

getName

public java.lang.String getName()

getType

public java.lang.String getType()

Oracle Application Server Wireless Java API Reference
B10400-01

Copyright © 2003 Oracle Corporation. All Rights Reserved.