|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.restfb.types.Location
public class Location
Represents a location (address and latitude/longitude).
This is used by several Graph API types, e.g. Post
and
Page
.
Constructor Summary | |
---|---|
Location()
|
Method Summary | |
---|---|
boolean |
equals(Object that)
|
String |
getCity()
The city name of this location. |
String |
getCountry()
The country name of this location. |
Double |
getLatitude()
The latitude of this location. |
Double |
getLongitude()
The longitude of this location. |
String |
getState()
The state name of this location. |
String |
getStreet()
The street address of this location. |
String |
getZip()
The postal code of this location. |
int |
hashCode()
|
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Location()
Method Detail |
---|
public int hashCode()
hashCode
in class Object
Object.hashCode()
public boolean equals(Object that)
equals
in class Object
Object.equals(java.lang.Object)
public String toString()
toString
in class Object
Object.toString()
public String getStreet()
public String getCity()
public String getState()
public String getCountry()
public String getZip()
public Double getLatitude()
public Double getLongitude()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |