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. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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.
getName
public java.lang.String getName()
getType
public java.lang.String getType()
Copyright © 2003 Oracle Corporation. All Rights Reserved.