com.evdb.javaapi.data
Class Location
java.lang.Object
com.evdb.javaapi.data.Location
public class Location
- extends java.lang.Object
Data representation of the Location object
Mapped from XML using JAXB
- Author:
- tylerv
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Location
public Location()
getOriginal
public java.lang.String getOriginal()
- Returns:
- The original request that we were asked to resolve
setOriginal
public void setOriginal(java.lang.String original)
- Parameters:
original - the original to set
getPostalCode
public java.lang.String getPostalCode()
- Returns:
- The postal code of the location
setPostalCode
public void setPostalCode(java.lang.String postalCode)
- Parameters:
postalCode - the postalCode to set
getCity
public java.lang.String getCity()
- Returns:
- The city name of the location
setCity
public void setCity(java.lang.String city)
- Parameters:
city - the city name to set
getMetro
public java.lang.String getMetro()
- Returns:
- Metro Name, only returned if the city is in a metro
setMetro
public void setMetro(java.lang.String metro)
- Parameters:
metro - the metro name to set
getRegion
public java.lang.String getRegion()
- Returns:
- Region name
setRegion
public void setRegion(java.lang.String region)
- Parameters:
region - the region name to set
getCountry
public java.lang.String getCountry()
- Returns:
- Country name
setCountry
public void setCountry(java.lang.String country)
- Parameters:
country - the country name to set
getLatitude
public double getLatitude()
- Returns:
- Latitude of the location, only applies to cities and postal codes
setLatitude
public void setLatitude(double latitude)
- Parameters:
latitude - the latitude to set
getLongitude
public double getLongitude()
- Returns:
- Longitude of the location, only applies to cities and postal codes
setLongitude
public void setLongitude(double longitude)
- Parameters:
longitude - the longitude to set
Copyright © 2007 Eventful Inc. All Rights Reserved.