facebook4j.internal.json
Class GroupDocJSONImpl

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

final class GroupDocJSONImpl
extends FacebookResponseImpl
implements GroupDoc, 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.lang.Boolean canDelete
           
private  java.lang.Boolean canEdit
           
private  java.util.Date createdTime
           
private  IdNameEntity from
           
private  java.net.URL icon
           
private  java.lang.String id
           
private  java.lang.String message
           
private  java.lang.Long revision
           
private static long serialVersionUID
           
private  java.lang.String subject
           
private  java.util.Date updatedTime
           
 
Constructor Summary
GroupDocJSONImpl(HttpResponse res, Configuration conf)
           
GroupDocJSONImpl(JSONObject json)
           
 
Method Summary
 java.lang.Boolean canDelete()
           
 java.lang.Boolean canEdit()
           
(package private) static ResponseList<GroupDoc> createGroupDocList(HttpResponse res, Configuration conf)
           
 boolean equals(java.lang.Object obj)
           
 java.util.Date getCreatedTime()
           
 IdNameEntity getFrom()
           
 java.net.URL getIcon()
           
 java.lang.String getId()
           
 java.lang.String getMessage()
           
 java.lang.Long getRevision()
           
 java.lang.String getSubject()
           
 java.util.Date getUpdatedTime()
           
 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

subject

private java.lang.String subject

message

private java.lang.String message

icon

private java.net.URL icon

createdTime

private java.util.Date createdTime

updatedTime

private java.util.Date updatedTime

revision

private java.lang.Long revision

canEdit

private java.lang.Boolean canEdit

canDelete

private java.lang.Boolean canDelete
Constructor Detail

GroupDocJSONImpl

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

GroupDocJSONImpl

GroupDocJSONImpl(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 GroupDoc

getFrom

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

getSubject

public java.lang.String getSubject()
Specified by:
getSubject in interface GroupDoc

getMessage

public java.lang.String getMessage()
Specified by:
getMessage in interface GroupDoc

getIcon

public java.net.URL getIcon()
Specified by:
getIcon in interface GroupDoc

getCreatedTime

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

getUpdatedTime

public java.util.Date getUpdatedTime()
Specified by:
getUpdatedTime in interface GroupDoc

getRevision

public java.lang.Long getRevision()
Specified by:
getRevision in interface GroupDoc

canEdit

public java.lang.Boolean canEdit()
Specified by:
canEdit in interface GroupDoc

canDelete

public java.lang.Boolean canDelete()
Specified by:
canDelete in interface GroupDoc

createGroupDocList

static ResponseList<GroupDoc> createGroupDocList(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