facebook4j.internal.json
Class CommentJSONImpl
java.lang.Object
facebook4j.internal.json.FacebookResponseImpl
facebook4j.internal.json.CommentJSONImpl
- All Implemented Interfaces:
- Comment, FacebookResponse, java.io.Serializable
final class CommentJSONImpl
- extends FacebookResponseImpl
- implements Comment, java.io.Serializable
- Author:
- Ryuji Yamashita - roundrop at gmail.com
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
id
private java.lang.String id
from
private Category from
message
private java.lang.String message
canRemove
private java.lang.Boolean canRemove
createdTime
private java.util.Date createdTime
likeCount
private java.lang.Integer likeCount
isUserLikes
private java.lang.Boolean isUserLikes
CommentJSONImpl
CommentJSONImpl(HttpResponse res,
Configuration conf)
throws FacebookException
- Throws:
FacebookException
CommentJSONImpl
CommentJSONImpl(JSONObject json)
throws FacebookException
- Throws:
FacebookException
init
private void init(JSONObject json)
throws FacebookException
- Throws:
FacebookException
getId
public java.lang.String getId()
- Specified by:
getId in interface Comment
getFrom
public Category getFrom()
- Specified by:
getFrom in interface Comment
getMessage
public java.lang.String getMessage()
- Specified by:
getMessage in interface Comment
canRemove
public java.lang.Boolean canRemove()
- Specified by:
canRemove in interface Comment
getCreatedTime
public java.util.Date getCreatedTime()
- Specified by:
getCreatedTime in interface Comment
getLikeCount
public java.lang.Integer getLikeCount()
- Specified by:
getLikeCount in interface Comment
isUserLikes
public java.lang.Boolean isUserLikes()
- Specified by:
isUserLikes in interface Comment
createCommentList
static ResponseList<Comment> createCommentList(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