facebook4j.internal.json
Class PhotoJSONImpl
java.lang.Object
facebook4j.internal.json.FacebookResponseImpl
facebook4j.internal.json.PhotoJSONImpl
- All Implemented Interfaces:
- FacebookResponse, Photo, java.io.Serializable
final class PhotoJSONImpl
- extends FacebookResponseImpl
- implements Photo, 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 Category from
tags
private PagableList<Tag> tags
name
private java.lang.String name
icon
private java.net.URL icon
picture
private java.net.URL picture
source
private java.net.URL source
height
private java.lang.Integer height
width
private java.lang.Integer width
images
private java.util.List<Photo.Image> images
link
private java.net.URL link
place
private Place place
createdTime
private java.util.Date createdTime
updatedTime
private java.util.Date updatedTime
position
private java.lang.Integer position
comments
private PagableList<Comment> comments
likes
private PagableList<Like> likes
PhotoJSONImpl
PhotoJSONImpl(HttpResponse res,
Configuration conf)
throws FacebookException
- Throws:
FacebookException
PhotoJSONImpl
PhotoJSONImpl(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 Photo
getFrom
public Category getFrom()
- Specified by:
getFrom in interface Photo
getTags
public PagableList<Tag> getTags()
- Specified by:
getTags in interface Photo
getName
public java.lang.String getName()
- Specified by:
getName in interface Photo
getIcon
public java.net.URL getIcon()
- Specified by:
getIcon in interface Photo
getPicture
public java.net.URL getPicture()
- Specified by:
getPicture in interface Photo
getSource
public java.net.URL getSource()
- Specified by:
getSource in interface Photo
getHeight
public java.lang.Integer getHeight()
- Specified by:
getHeight in interface Photo
getWidth
public java.lang.Integer getWidth()
- Specified by:
getWidth in interface Photo
getImages
public java.util.List<Photo.Image> getImages()
- Specified by:
getImages in interface Photo
getLink
public java.net.URL getLink()
- Specified by:
getLink in interface Photo
getPlace
public Place getPlace()
- Specified by:
getPlace in interface Photo
getCreatedTime
public java.util.Date getCreatedTime()
- Specified by:
getCreatedTime in interface Photo
getUpdatedTime
public java.util.Date getUpdatedTime()
- Specified by:
getUpdatedTime in interface Photo
getPosition
public java.lang.Integer getPosition()
- Specified by:
getPosition in interface Photo
getComments
public PagableList<Comment> getComments()
- Specified by:
getComments in interface Photo
getLikes
public PagableList<Like> getLikes()
- Specified by:
getLikes in interface Photo
createPhotoList
static ResponseList<Photo> createPhotoList(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