public class FacebookLocation extends java.lang.Object
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <location> <city>MlgBEAZttCnVTuhWNCHWRxMksKxueawNJlnOxBrJCHjyumdZKUedZilvfzMBVOrK</city> <country>HDDUKEtvMUbQGknNEhZBsvgWEyisXgpXFmBhhGkhaWzqjmLgqSoMDfdKKqzgdhtC</country> <name>jwvayLvNHlZGXUJeaFMYVMSKLpOKNnTlQJvfVePlIBsQvGlHSwTzEKMvAuoSHStk</name> <state>BopyWMRJsGeWWvtcOqZYewGLHUDCwlrdpBhVswMfcaGSGBSRzXwcpIPrpxhfagTo</state> </location>
Location
Constructor and Description |
---|
FacebookLocation() |
FacebookLocation(com.restfb.types.Location location) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getCity() |
java.lang.String |
getCountry() |
static FacebookLocation |
getFacebookLocation(com.restfb.types.NamedFacebookType type) |
static FacebookLocation |
getFacebookLocation(com.restfb.types.Place place) |
static FacebookLocation |
getFacebookLocation(java.lang.String name) |
static FacebookLocation |
getFacebookLocation(com.restfb.types.Venue venue) |
java.lang.String |
getName() |
java.lang.String |
getState() |
void |
setCity(java.lang.String city) |
void |
setCountry(java.lang.String country) |
void |
setName(java.lang.String name) |
void |
setState(java.lang.String state) |
com.restfb.types.NamedFacebookType |
toNamedFacebookType() |
com.restfb.types.Place |
toPlace() |
com.restfb.types.Venue |
toVenue() |
public FacebookLocation()
public FacebookLocation(com.restfb.types.Location location) throws java.lang.IllegalArgumentException
location
- java.lang.IllegalArgumentException
public static FacebookLocation getFacebookLocation(com.restfb.types.Venue venue)
venue
- public static FacebookLocation getFacebookLocation(com.restfb.types.Place place)
place
- public static FacebookLocation getFacebookLocation(java.lang.String name)
name
- public static FacebookLocation getFacebookLocation(com.restfb.types.NamedFacebookType type)
type
- public com.restfb.types.NamedFacebookType toNamedFacebookType()
getName()
,
setName(String)
public java.lang.String getCity()
Location.getCity()
,
setCity(String)
public java.lang.String getName()
setName(String)
public java.lang.String getState()
Location.getState()
,
setState(String)
public java.lang.String getCountry()
Location.getCountry()
,
setCountry(String)
public void setName(java.lang.String name)
name
- the name to setgetName()
public void setCity(java.lang.String city)
city
- Location.setCity(java.lang.String)
,
getCity()
public void setCountry(java.lang.String country)
country
- Location.setCountry(java.lang.String)
,
getCountry()
public void setState(java.lang.String state)
state
- Location.setState(java.lang.String)
,
getState()
public com.restfb.types.Place toPlace()
setCountry(String)
,
getCountry()
,
getState()
,
setState(String)
,
getState()
,
setCity(String)
public com.restfb.types.Venue toVenue()
setCountry(String)
,
getCountry()
,
getState()
,
setState(String)
,
getState()
,
setCity(String)
Copyright © 2015 Tampere University of Technology, Pori Department.