facebook4j.internal.json
Class NotificationJSONImpl
java.lang.Object
facebook4j.internal.json.FacebookResponseImpl
facebook4j.internal.json.NotificationJSONImpl
- All Implemented Interfaces:
- FacebookResponse, Notification, java.io.Serializable
final class NotificationJSONImpl
- extends FacebookResponseImpl
- implements Notification, 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 IdNameEntity from
to
private IdNameEntity to
createdTime
private java.util.Date createdTime
updatedTime
private java.util.Date updatedTime
title
private java.lang.String title
link
private java.net.URL link
application
private Application application
unread
private java.lang.Boolean unread
targetObject
private Notification.TargetObject targetObject
NotificationJSONImpl
NotificationJSONImpl(HttpResponse res,
Configuration conf)
throws FacebookException
- Throws:
FacebookException
NotificationJSONImpl
NotificationJSONImpl(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 Notification
getFrom
public IdNameEntity getFrom()
- Specified by:
getFrom in interface Notification
getTo
public IdNameEntity getTo()
- Specified by:
getTo in interface Notification
getCreatedTime
public java.util.Date getCreatedTime()
- Specified by:
getCreatedTime in interface Notification
getUpdatedTime
public java.util.Date getUpdatedTime()
- Specified by:
getUpdatedTime in interface Notification
getTitle
public java.lang.String getTitle()
- Specified by:
getTitle in interface Notification
getLink
public java.net.URL getLink()
- Specified by:
getLink in interface Notification
getApplication
public Application getApplication()
- Specified by:
getApplication in interface Notification
unread
public java.lang.Boolean unread()
- Specified by:
unread in interface Notification
getTargetObject
public Notification.TargetObject getTargetObject()
- Specified by:
getTargetObject in interface Notification
createNotificationList
static ResponseList<Notification> createNotificationList(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