facebook4j.internal.json
Class AchievementJSONImpl
java.lang.Object
facebook4j.internal.json.FacebookResponseImpl
facebook4j.internal.json.AchievementJSONImpl
- All Implemented Interfaces:
- Achievement, FacebookResponse, java.io.Serializable
final class AchievementJSONImpl
- extends FacebookResponseImpl
- implements Achievement, 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
startTime
private java.util.Date startTime
endTime
private java.util.Date endTime
publishTime
private java.util.Date publishTime
application
private Application application
importance
private java.lang.Integer importance
achievement
private Achievement.AchievedObject achievement
likes
private PagableList<Like> likes
comments
private PagableList<Comment> comments
AchievementJSONImpl
AchievementJSONImpl(HttpResponse res,
Configuration conf)
throws FacebookException
- Throws:
FacebookException
AchievementJSONImpl
AchievementJSONImpl(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 Achievement
getFrom
public IdNameEntity getFrom()
- Specified by:
getFrom in interface Achievement
getStartTime
public java.util.Date getStartTime()
- Specified by:
getStartTime in interface Achievement
getEndTime
public java.util.Date getEndTime()
- Specified by:
getEndTime in interface Achievement
getPublishTime
public java.util.Date getPublishTime()
- Specified by:
getPublishTime in interface Achievement
getApplication
public Application getApplication()
- Specified by:
getApplication in interface Achievement
getImportance
public java.lang.Integer getImportance()
- Specified by:
getImportance in interface Achievement
getAchievement
public Achievement.AchievedObject getAchievement()
- Specified by:
getAchievement in interface Achievement
getLikes
public PagableList<Like> getLikes()
- Specified by:
getLikes in interface Achievement
getComments
public PagableList<Comment> getComments()
- Specified by:
getComments in interface Achievement
createAchievementList
static ResponseList<Achievement> createAchievementList(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