facebook4j.internal.json
Class NoteJSONImpl
java.lang.Object
facebook4j.internal.json.FacebookResponseImpl
facebook4j.internal.json.NoteJSONImpl
- All Implemented Interfaces:
- FacebookResponse, Note, java.io.Serializable
final class NoteJSONImpl
- extends FacebookResponseImpl
- implements Note, 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
subject
private java.lang.String subject
message
private java.lang.String message
comments
private PagableList<Comment> comments
createdTime
private java.util.Date createdTime
updatedTime
private java.util.Date updatedTime
icon
private java.net.URL icon
NoteJSONImpl
NoteJSONImpl(HttpResponse res,
Configuration conf)
throws FacebookException
- Throws:
FacebookException
NoteJSONImpl
NoteJSONImpl(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 Note
getFrom
public Category getFrom()
- Specified by:
getFrom in interface Note
getSubject
public java.lang.String getSubject()
- Specified by:
getSubject in interface Note
getMessage
public java.lang.String getMessage()
- Specified by:
getMessage in interface Note
getComments
public PagableList<Comment> getComments()
- Specified by:
getComments in interface Note
getCreatedTime
public java.util.Date getCreatedTime()
- Specified by:
getCreatedTime in interface Note
getUpdatedTime
public java.util.Date getUpdatedTime()
- Specified by:
getUpdatedTime in interface Note
getIcon
public java.net.URL getIcon()
- Specified by:
getIcon in interface Note
createNoteList
static ResponseList<Note> createNoteList(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