facebook4j.internal.json
Class TaggedJSONImpl

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

public class TaggedJSONImpl
extends FacebookResponseImpl
implements Tagged, java.io.Serializable

Author:
Ryuji Yamashita - roundrop at gmail.com
See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from interface facebook4j.FacebookResponse
FacebookResponse.Metadata
 
Field Summary
private  java.lang.String id
           
private  java.lang.String message
           
private  java.util.Map<java.lang.String,Tag[]> messageTags
           
private  java.lang.String objectId
           
private  Photo photo
           
private  Post post
           
private  Privacy privacy
           
private static long serialVersionUID
           
private  java.util.List<Category> to
           
private  java.lang.String type
           
private  java.util.Date updatedTime
           
private  Video video
           
 
Constructor Summary
TaggedJSONImpl(HttpResponse res, Configuration conf)
           
TaggedJSONImpl(JSONObject json)
           
 
Method Summary
(package private) static ResponseList<Tagged> createTaggedList(HttpResponse res, Configuration conf)
           
 boolean equals(java.lang.Object o)
           
 java.lang.String getId()
           
 java.lang.String getMessage()
           
 java.util.Map<java.lang.String,Tag[]> getMessageTags()
           
 java.lang.String getObjectId()
           
 Photo getPhoto()
           
 Post getPost()
           
 Privacy getPrivacy()
           
 java.util.List<Category> getTo()
           
 java.lang.String getType()
           
 java.util.Date getUpdatedTime()
           
 Video getVideo()
           
 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
 

Field Detail

serialVersionUID

private static final long serialVersionUID
See Also:
Constant Field Values

id

private java.lang.String id

type

private java.lang.String type

post

private Post post

photo

private Photo photo

video

private Video video

message

private java.lang.String message

messageTags

private java.util.Map<java.lang.String,Tag[]> messageTags

objectId

private java.lang.String objectId

privacy

private Privacy privacy

to

private java.util.List<Category> to

updatedTime

private java.util.Date updatedTime
Constructor Detail

TaggedJSONImpl

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

TaggedJSONImpl

TaggedJSONImpl(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 Tagged

getType

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

getPost

public Post getPost()
Specified by:
getPost in interface Tagged

getPhoto

public Photo getPhoto()
Specified by:
getPhoto in interface Tagged

getVideo

public Video getVideo()
Specified by:
getVideo in interface Tagged

getMessage

public java.lang.String getMessage()
Specified by:
getMessage in interface Tagged

getMessageTags

public java.util.Map<java.lang.String,Tag[]> getMessageTags()
Specified by:
getMessageTags in interface Tagged

getObjectId

public java.lang.String getObjectId()
Specified by:
getObjectId in interface Tagged

getPrivacy

public Privacy getPrivacy()
Specified by:
getPrivacy in interface Tagged

getTo

public java.util.List<Category> getTo()
Specified by:
getTo in interface Tagged

getUpdatedTime

public java.util.Date getUpdatedTime()
Specified by:
getUpdatedTime in interface Tagged

createTaggedList

static ResponseList<Tagged> createTaggedList(HttpResponse res,
                                             Configuration conf)
                                      throws FacebookException
Throws:
FacebookException

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object