facebook4j.internal.json
Class CategoryJSONImpl

java.lang.Object
  extended by facebook4j.internal.json.FacebookResponseImpl
      extended by facebook4j.internal.json.CategoryJSONImpl
All Implemented Interfaces:
Category, FacebookResponse, java.io.Serializable
Direct Known Subclasses:
ActivityJSONImpl, BookJSONImpl, GameJSONImpl, InterestJSONImpl, LikeJSONImpl, MovieJSONImpl, MusicJSONImpl, TelevisionJSONImpl

 class CategoryJSONImpl
extends FacebookResponseImpl
implements Category

Author:
Ryuji Yamashita - roundrop at gmail.com

Nested Class Summary
 
Nested classes/interfaces inherited from interface facebook4j.FacebookResponse
FacebookResponse.Metadata
 
Field Summary
protected  java.lang.String category
           
protected  java.util.Date createdTime
           
protected  java.lang.String id
           
protected  java.lang.String name
           
private static long serialVersionUID
           
 
Constructor Summary
CategoryJSONImpl(HttpResponse res, Configuration conf)
           
CategoryJSONImpl(JSONObject json)
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.lang.String getCategory()
           
 java.util.Date getCreatedTime()
           
 java.lang.String getId()
           
 java.lang.String getName()
           
 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

protected java.lang.String id

name

protected java.lang.String name

category

protected java.lang.String category

createdTime

protected java.util.Date createdTime
Constructor Detail

CategoryJSONImpl

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

CategoryJSONImpl

CategoryJSONImpl(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 Category

getName

public java.lang.String getName()
Specified by:
getName in interface Category

getCategory

public java.lang.String getCategory()
Specified by:
getCategory in interface Category

getCreatedTime

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

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