Oracle Application Server Wireless Java API Reference
B14043-01


oracle.panama.spatial.traffic
Interface City


public interface City

Represent a city in traffic service. City is service provider dependent.


Method Summary
 java.lang.String getCityName()
          Return the offical city name.
 java.lang.String getCountryName()
          Return the country name where the city belongs.
 Provider getProvider()
          Return the service provider that defines the city.
 TrafficRoute[] getRoutes()
          Return routes in city.
 java.lang.String getStateName()
          Return the state name where the city is located.

 

Method Detail

getCityName

public java.lang.String getCityName()
Return the offical city name.

getCountryName

public java.lang.String getCountryName()
Return the country name where the city belongs.

getProvider

public Provider getProvider()
Return the service provider that defines the city.
See Also:
Provider

getRoutes

public TrafficRoute[] getRoutes()
Return routes in city.
Returns:
an array of the TrafficRoute.
See Also:
TrafficRoute

getStateName

public java.lang.String getStateName()
Return the state name where the city is located.

Oracle Application Server Wireless Java API Reference
B14043-01


Copyright © 2004 Oracle Corporation. All Rights Reserved.