|
Oracle Application Server Wireless Java API Reference B14043-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.panama.spatial.traffic.CityInfo
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 |
public CityInfo(java.lang.String cityName, java.lang.String countryName)
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.public CityInfo(java.lang.String cityName, java.lang.String stateName, java.lang.String countryName)
CityInfo
instance. Note the offical city name must be used here. For example, use New York instead of NY.Method Detail |
public java.lang.String getCityName()
public java.lang.String getCountryName()
public java.lang.String getStateName()
|
Oracle Application Server Wireless Java API Reference B14043-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |