facebook4j.internal.json
Class MilestoneJSONImpl
java.lang.Object
facebook4j.internal.json.FacebookResponseImpl
facebook4j.internal.json.MilestoneJSONImpl
- All Implemented Interfaces:
- FacebookResponse, Milestone, java.io.Serializable
final class MilestoneJSONImpl
- extends FacebookResponseImpl
- implements Milestone, 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 |
id
private java.lang.String id
title
private java.lang.String title
description
private java.lang.String description
from
private Category from
startTime
private java.util.Date startTime
endTime
private java.util.Date endTime
createdTime
private java.util.Date createdTime
updatedTime
private java.util.Date updatedTime
MilestoneJSONImpl
MilestoneJSONImpl(HttpResponse res,
Configuration conf)
throws FacebookException
- Throws:
FacebookException
MilestoneJSONImpl
MilestoneJSONImpl(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 Milestone
getTitle
public java.lang.String getTitle()
- Specified by:
getTitle in interface Milestone
getDescription
public java.lang.String getDescription()
- Specified by:
getDescription in interface Milestone
getFrom
public Category getFrom()
- Specified by:
getFrom in interface Milestone
getStartTime
public java.util.Date getStartTime()
- Specified by:
getStartTime in interface Milestone
getEndTime
public java.util.Date getEndTime()
- Specified by:
getEndTime in interface Milestone
getCreatedTime
public java.util.Date getCreatedTime()
- Specified by:
getCreatedTime in interface Milestone
getUpdatedTime
public java.util.Date getUpdatedTime()
- Specified by:
getUpdatedTime in interface Milestone
createMilestoneList
static ResponseList<Milestone> createMilestoneList(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