facebook4j.internal.json
Class LocationJSONImpl

java.lang.Object
  extended by facebook4j.internal.json.FacebookResponseImpl
      extended by facebook4j.internal.json.LocationJSONImpl
All Implemented Interfaces:
FacebookResponse, Location, java.io.Serializable

final class LocationJSONImpl
extends FacebookResponseImpl
implements Location, java.io.Serializable

Author:
Ryuji Yamashita - roundrop at gmail.com

Nested Class Summary
 
Nested classes/interfaces inherited from interface facebook4j.FacebookResponse
FacebookResponse.Metadata
 
Field Summary
private  Application application
           
private  java.util.Date createdTime
           
private  IdNameEntity from
           
private  java.lang.String id
           
private  Place place
           
private static long serialVersionUID
           
private  PagableList<IdNameEntity> tags
           
private  java.lang.String type
           
 
Constructor Summary
LocationJSONImpl(HttpResponse res, Configuration conf)
           
LocationJSONImpl(JSONObject json)
           
 
Method Summary
(package private) static ResponseList<Location> createLocationList(HttpResponse res, Configuration conf)
           
 boolean equals(java.lang.Object obj)
           
 Application getApplication()
           
 java.util.Date getCreatedTime()
           
 IdNameEntity getFrom()
           
 java.lang.String getId()
           
 Place getPlace()
           
 PagableList<IdNameEntity> getTags()
           
 java.lang.String getType()
           
 int hashCode()
           
private  void init(JSONObject json)
           
 java.lang.String toString()
           
 
Methods inherited from class facebook4j.internal.json.FacebookResponseImpl
getMetadata
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface facebook4j.FacebookResponse
getMetadata
 

Field Detail

serialVersionUID

private static final long serialVersionUID
See Also:
Constant Field Values

id

private java.lang.String id

from

private IdNameEntity from

tags

private PagableList<IdNameEntity> tags

place

private Place place

application

private Application application

createdTime

private java.util.Date createdTime

type

private java.lang.String type
Constructor Detail

LocationJSONImpl

LocationJSONImpl(HttpResponse res,
                 Configuration conf)
           throws FacebookException
Throws:
FacebookException

LocationJSONImpl

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

init

private void init(JSONObject json)
           throws FacebookException
Throws:
FacebookException

getId

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

getFrom

public IdNameEntity getFrom()
Specified by:
getFrom in interface Location

getTags

public PagableList<IdNameEntity> getTags()
Specified by:
getTags in interface Location

getPlace

public Place getPlace()
Specified by:
getPlace in interface Location

getApplication

public Application getApplication()
Specified by:
getApplication in interface Location

getCreatedTime

public java.util.Date getCreatedTime()
Specified by:
getCreatedTime in interface Location

getType

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

createLocationList

static ResponseList<Location> createLocationList(HttpResponse res,
                                                 Configuration conf)
                                          throws FacebookException
Throws:
FacebookException

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