facebook4j.internal.json
Class TagJSONImpl

java.lang.Object
  extended by facebook4j.internal.json.FacebookResponseImpl
      extended by facebook4j.internal.json.TagJSONImpl
All Implemented Interfaces:
FacebookResponse, Tag, java.io.Serializable

final class TagJSONImpl
extends FacebookResponseImpl
implements Tag, java.io.Serializable

Author:
Ryuji Yamashita - roundrop at gmail.com

Nested Class Summary
 
Nested classes/interfaces inherited from interface facebook4j.FacebookResponse
FacebookResponse.Metadata
 
Field Summary
private  java.util.Date createdTime
           
private  java.lang.String id
           
private  java.lang.Integer length
           
private  java.lang.String name
           
private  java.lang.Integer offset
           
private static long serialVersionUID
           
private  java.lang.String type
           
private  java.lang.Double x
           
private  java.lang.Double y
           
 
Constructor Summary
TagJSONImpl(HttpResponse res, Configuration conf)
           
TagJSONImpl(JSONObject json)
           
 
Method Summary
(package private) static ResponseList<Tag> createTagList(HttpResponse res, Configuration conf)
           
 boolean equals(java.lang.Object obj)
           
 java.util.Date getCreatedTime()
           
 java.lang.String getId()
           
 java.lang.Integer getLength()
           
 java.lang.String getName()
           
 java.lang.Integer getOffset()
           
 java.lang.String getType()
           
 java.lang.Double getX()
           
 java.lang.Double getY()
           
 int hashCode()
           
private  void init(JSONObject json)
           
 java.lang.String toString()
           
 
Methods inherited from class facebook4j.internal.json.FacebookResponseImpl
getMetadata
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface facebook4j.FacebookResponse
getMetadata
 

Field Detail

serialVersionUID

private static final long serialVersionUID
See Also:
Constant Field Values

id

private java.lang.String id

name

private java.lang.String name

offset

private java.lang.Integer offset

length

private java.lang.Integer length

type

private java.lang.String type

x

private java.lang.Double x

y

private java.lang.Double y

createdTime

private java.util.Date createdTime
Constructor Detail

TagJSONImpl

TagJSONImpl(HttpResponse res,
            Configuration conf)
      throws FacebookException
Throws:
FacebookException

TagJSONImpl

TagJSONImpl(JSONObject json)
      throws FacebookException
Throws:
FacebookException
Method Detail

init

private void init(JSONObject json)
           throws FacebookException
Throws:
FacebookException

getId

public java.lang.String getId()
Specified by:
getId in interface Tag

getName

public java.lang.String getName()
Specified by:
getName in interface Tag

getOffset

public java.lang.Integer getOffset()
Specified by:
getOffset in interface Tag

getLength

public java.lang.Integer getLength()
Specified by:
getLength in interface Tag

getType

public java.lang.String getType()
Specified by:
getType in interface Tag

getX

public java.lang.Double getX()
Specified by:
getX in interface Tag

getY

public java.lang.Double getY()
Specified by:
getY in interface Tag

getCreatedTime

public java.util.Date getCreatedTime()
Specified by:
getCreatedTime in interface Tag

createTagList

static ResponseList<Tag> createTagList(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