Oracle Application Server Wireless Java API Reference
B10400-01

oracle.panama.spatial.traffic
Interface City


public interface City

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

Author:
Yingmei Sun

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.

getStateName

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

getCountryName

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

getRoutes

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

getProvider

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

Oracle Application Server Wireless Java API Reference
B10400-01

Copyright © 2003 Oracle Corporation. All Rights Reserved.