oracle.panama.spatial.traffic
Class CityInfo
java.lang.Object
|
+--oracle.panama.spatial.traffic.CityInfo
- All Implemented Interfaces:
- XMLTrafficQuery
- public class CityInfo
- extends java.lang.Object
- implements XMLTrafficQuery
Provide city name, state name and country name information of a city.
- Author:
- Yingmei Sun
Constructor Summary |
CityInfo(java.lang.String cityName, java.lang.String countryName)
Create CityInfo using city name and country name. |
CityInfo(java.lang.String cityName, java.lang.String stateName, java.lang.String countryName)
Create a CityInfo instance. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CityInfo
public CityInfo(java.lang.String cityName,
java.lang.String stateName,
java.lang.String countryName)
- Create a
CityInfo
instance. Note the offical city name must be used here. For example, use New York instead of NY.
CityInfo
public CityInfo(java.lang.String cityName,
java.lang.String countryName)
- Create
CityInfo
using city name and country name. The state name is null
. Note the offical city name must be used here. For example, use New York instead of NY.
getCityName
public java.lang.String getCityName()
getStateName
public java.lang.String getStateName()
getCountryName
public java.lang.String getCountryName()
Copyright © 2003 Oracle Corporation. All Rights Reserved.