facebook4j.internal.json
Class InsightJSONImpl
java.lang.Object
facebook4j.internal.json.FacebookResponseImpl
facebook4j.internal.json.InsightJSONImpl
- All Implemented Interfaces:
- FacebookResponse, Insight, java.io.Serializable
final class InsightJSONImpl
- extends FacebookResponseImpl
- implements Insight, 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
name
private java.lang.String name
period
private java.lang.String period
values
private java.util.List<Insight.Value> values
title
private java.lang.String title
description
private java.lang.String description
InsightJSONImpl
InsightJSONImpl(HttpResponse res,
Configuration conf)
throws FacebookException
- Throws:
FacebookException
InsightJSONImpl
InsightJSONImpl(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 Insight
getName
public java.lang.String getName()
- Specified by:
getName in interface Insight
getPeriod
public java.lang.String getPeriod()
- Specified by:
getPeriod in interface Insight
getValues
public java.util.List<Insight.Value> getValues()
- Specified by:
getValues in interface Insight
getTitle
public java.lang.String getTitle()
- Specified by:
getTitle in interface Insight
getDescription
public java.lang.String getDescription()
- Specified by:
getDescription in interface Insight
createInsightList
static ResponseList<Insight> createInsightList(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
createValueList
private java.util.List<Insight.Value> createValueList(JSONObject json)
throws FacebookException
- Throws:
FacebookException