Oracle Application Server Wireless Java API Reference
B14043-01


oracle.panama.spatial.traffic
Class CityInfo

java.lang.Object
  extended byoracle.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.


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()
Returns the city name
java.lang.String getCountryName()
Returns the country name
java.lang.String getStateName()
Returns the state name

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

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.

Method Detail

getCityName

public java.lang.String getCityName()
Returns the city name
Returns:
the city name

getCountryName

public java.lang.String getCountryName()
Returns the country name
Returns:
the country name

getStateName

public java.lang.String getStateName()
Returns the state name
Returns:
the state name

Oracle Application Server Wireless Java API Reference
B14043-01


Copyright © 2004 Oracle Corporation. All Rights Reserved.