facebook4j.internal.json
Class LinkJSONImpl
java.lang.Object
facebook4j.internal.json.FacebookResponseImpl
facebook4j.internal.json.LinkJSONImpl
- All Implemented Interfaces:
- FacebookResponse, Link, java.io.Serializable
final class LinkJSONImpl
- extends FacebookResponseImpl
- implements Link, 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 IdNameEntity from
link
private java.lang.String link
name
private java.lang.String name
likes
private PagableList<Like> likes
comments
private PagableList<Comment> comments
description
private java.lang.String description
icon
private java.lang.String icon
picture
private java.lang.String picture
message
private java.lang.String message
createdTime
private java.util.Date createdTime
type
private java.lang.String type
privacy
private Privacy privacy
LinkJSONImpl
LinkJSONImpl(HttpResponse res,
Configuration conf)
throws FacebookException
- Throws:
FacebookException
LinkJSONImpl
LinkJSONImpl(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 Link
getFrom
public IdNameEntity getFrom()
- Specified by:
getFrom in interface Link
getLink
public java.lang.String getLink()
- Specified by:
getLink in interface Link
getName
public java.lang.String getName()
- Specified by:
getName in interface Link
getLikes
public PagableList<Like> getLikes()
- Specified by:
getLikes in interface Link
getComments
public PagableList<Comment> getComments()
- Specified by:
getComments in interface Link
getDescription
public java.lang.String getDescription()
- Specified by:
getDescription in interface Link
getIcon
public java.lang.String getIcon()
- Specified by:
getIcon in interface Link
getPicture
public java.lang.String getPicture()
- Specified by:
getPicture in interface Link
getMessage
public java.lang.String getMessage()
- Specified by:
getMessage in interface Link
getCreatedTime
public java.util.Date getCreatedTime()
- Specified by:
getCreatedTime in interface Link
getType
public java.lang.String getType()
- Specified by:
getType in interface Link
getPrivacy
public Privacy getPrivacy()
- Specified by:
getPrivacy in interface Link
createLinkList
static ResponseList<Link> createLinkList(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