facebook4j.internal.json
Class PokeJSONImpl

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

final class PokeJSONImpl
extends FacebookResponseImpl
implements Poke, 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  java.util.Date createdTime
           
private  IdNameEntity from
           
private static long serialVersionUID
           
private  IdNameEntity to
           
 
Constructor Summary
PokeJSONImpl(HttpResponse res, Configuration conf)
           
PokeJSONImpl(JSONObject json)
           
 
Method Summary
(package private) static ResponseList<Poke> createPokeList(HttpResponse res, Configuration conf)
           
 boolean equals(java.lang.Object obj)
           
 java.util.Date getCreatedTime()
           
 IdNameEntity getFrom()
           
 IdNameEntity getTo()
           
 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

to

private IdNameEntity to

from

private IdNameEntity from

createdTime

private java.util.Date createdTime
Constructor Detail

PokeJSONImpl

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

PokeJSONImpl

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

init

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

getTo

public IdNameEntity getTo()
Specified by:
getTo in interface Poke

getFrom

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

getCreatedTime

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

createPokeList

static ResponseList<Poke> createPokeList(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