com.aetrion.flickr.places
Class Location

java.lang.Object
  extended by com.aetrion.flickr.places.Location

public class Location
extends java.lang.Object

A Flickr place.
As a result to PlacesInterface.getInfo(String, String) a Location describes the relation of a place to various types of other places.

Version:
$Id: Location.java,v 1.4 2009/07/12 22:43:07 x-mago Exp $
Author:
mago
See Also:
SearchParameters.setPlaceId(String), Photo.getPlaceId()

Constructor Summary
Location()
           
 
Method Summary
 Place getCountry()
           
 Place getCounty()
           
 double getLatitude()
           
 Place getLocality()
           
 double getLongitude()
           
 java.lang.String getPlaceId()
           
 int getPlaceType()
           
 java.lang.String getPlaceUrl()
           
 Place getRegion()
           
 java.lang.String getWoeId()
           
 void setCountry(Place country)
           
 void setCounty(Place county)
           
 void setLatitude(double latitude)
           
 void setLatitude(java.lang.String latitude)
           
 void setLocality(Place locality)
           
 void setLongitude(double longitude)
           
 void setLongitude(java.lang.String longitude)
           
 void setPlaceId(java.lang.String placeId)
           
 void setPlaceType(int placeType)
           
 void setPlaceUrl(java.lang.String placeUrl)
           
 void setRegion(Place region)
           
 void setWoeId(java.lang.String woeId)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Location

public Location()
Method Detail

getPlaceId

public java.lang.String getPlaceId()

setPlaceId

public void setPlaceId(java.lang.String placeId)

getPlaceUrl

public java.lang.String getPlaceUrl()

setPlaceUrl

public void setPlaceUrl(java.lang.String placeUrl)

getLocality

public Place getLocality()

setLocality

public void setLocality(Place locality)

getCounty

public Place getCounty()

setCounty

public void setCounty(Place county)

getRegion

public Place getRegion()

setRegion

public void setRegion(Place region)

getCountry

public Place getCountry()

setCountry

public void setCountry(Place country)

getWoeId

public java.lang.String getWoeId()
Returns:
woeid
See Also:
SearchParameters.setWoeId(String)

setWoeId

public void setWoeId(java.lang.String woeId)

getLatitude

public double getLatitude()

setLatitude

public void setLatitude(java.lang.String latitude)

setLatitude

public void setLatitude(double latitude)

getLongitude

public double getLongitude()

setLongitude

public void setLongitude(java.lang.String longitude)

setLongitude

public void setLongitude(double longitude)

getPlaceType

public int getPlaceType()

setPlaceType

public void setPlaceType(int placeType)


Copyright (C) 2005-2008 Aetrion LLC. All Rights Reserved.