public class Comment extends WeiboResponse implements Serializable
| Constructor and Description |
|---|
Comment(org.json.JSONObject json) |
Comment(Response res) |
Comment(String str) |
| Modifier and Type | Method and Description |
|---|---|
static CommentWapper |
constructWapperComments(Response res) |
boolean |
equals(Object obj) |
Date |
getCreatedAt() |
long |
getId() |
String |
getIdstr() |
String |
getMid() |
Comment |
getReplycomment() |
String |
getSource() |
Status |
getStatus() |
String |
getText() |
User |
getUser() |
int |
hashCode() |
void |
setCreatedAt(Date createdAt) |
void |
setId(long id) |
void |
setIdstr(String idstr) |
void |
setMid(String mid) |
void |
setReplycomment(Comment replycomment) |
void |
setSource(String source) |
void |
setStatus(Status status) |
void |
setText(String text) |
void |
setUser(User user) |
String |
toString() |
ensureRootNodeNameIs, ensureRootNodeNameIs, ensureRootNodeNameIs, getBoolean, getChildBoolean, getChildDate, getChildDate, getChildInt, getChildLong, getChildText, getInt, getLong, getRateLimitLimit, getRateLimitRemaining, getRateLimitReset, getString, getTextContent, isRootNodeNilClasses, parseDatepublic Comment(Response res) throws WeiboException
WeiboExceptionpublic Comment(org.json.JSONObject json)
throws WeiboException,
org.json.JSONException
WeiboExceptionorg.json.JSONExceptionpublic Comment(String str) throws WeiboException, org.json.JSONException
WeiboExceptionorg.json.JSONExceptionpublic static CommentWapper constructWapperComments(Response res) throws WeiboException
WeiboExceptionpublic Date getCreatedAt()
public long getId()
public String getText()
public String getSource()
public Comment getReplycomment()
public User getUser()
public Status getStatus()
public String getMid()
public void setMid(String mid)
public String getIdstr()
public void setIdstr(String idstr)
public void setCreatedAt(Date createdAt)
public void setId(long id)
public void setText(String text)
public void setSource(String source)
public void setReplycomment(Comment replycomment)
public void setUser(User user)
public void setStatus(Status status)
Copyright © 2013. All Rights Reserved.