facebook4j.internal.json
Class PlaceJSONImpl.LocationJSONImpl

java.lang.Object
  extended by facebook4j.internal.json.PlaceJSONImpl.LocationJSONImpl
All Implemented Interfaces:
Place.Location, java.io.Serializable
Enclosing class:
PlaceJSONImpl

static final class PlaceJSONImpl.LocationJSONImpl
extends java.lang.Object
implements Place.Location, java.io.Serializable


Field Summary
private  java.lang.String city
           
private  java.lang.String country
           
private  java.lang.Double latitude
           
private  java.lang.Double longitude
           
private static long serialVersionUID
           
private  java.lang.String state
           
private  java.lang.String street
           
private  java.lang.String zip
           
 
Constructor Summary
PlaceJSONImpl.LocationJSONImpl(JSONObject json)
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.lang.String getCity()
           
 java.lang.String getCountry()
           
 java.lang.Double getLatitude()
           
 java.lang.Double getLongitude()
           
 java.lang.String getState()
           
 java.lang.String getStreet()
           
 java.lang.String getZip()
           
 int hashCode()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

serialVersionUID

private static final long serialVersionUID
See Also:
Constant Field Values

street

private java.lang.String street

city

private java.lang.String city

state

private java.lang.String state

country

private java.lang.String country

zip

private java.lang.String zip

latitude

private java.lang.Double latitude

longitude

private java.lang.Double longitude
Constructor Detail

PlaceJSONImpl.LocationJSONImpl

PlaceJSONImpl.LocationJSONImpl(JSONObject json)
                         throws FacebookException
Throws:
FacebookException
Method Detail

getStreet

public java.lang.String getStreet()
Specified by:
getStreet in interface Place.Location

getCity

public java.lang.String getCity()
Specified by:
getCity in interface Place.Location

getState

public java.lang.String getState()
Specified by:
getState in interface Place.Location

getCountry

public java.lang.String getCountry()
Specified by:
getCountry in interface Place.Location

getZip

public java.lang.String getZip()
Specified by:
getZip in interface Place.Location

getLatitude

public java.lang.Double getLatitude()
Specified by:
getLatitude in interface Place.Location

getLongitude

public java.lang.Double getLongitude()
Specified by:
getLongitude in interface Place.Location

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object