Oracle Application Server Wireless Java API Reference
B10400-01

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.

 

Method Summary
 java.lang.String getCityName()
           
 java.lang.String getCountryName()
           
 java.lang.String getStateName()
           

 

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

 

Constructor Detail

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.
Method Detail

getCityName

public java.lang.String getCityName()

getStateName

public java.lang.String getStateName()

getCountryName

public java.lang.String getCountryName()

Oracle Application Server Wireless Java API Reference
B10400-01

Copyright © 2003 Oracle Corporation. All Rights Reserved.