com.belerweb.social.weibo.bean
Class Comment

java.lang.Object
  extended by com.belerweb.social.bean.JsonBean
      extended by com.belerweb.social.weibo.bean.Comment

public class Comment
extends JsonBean

评论 文档地址:http://open.weibo.com/wiki/常见返回对象数据结构#.E8.AF.84.E8.AE.BA.EF.BC.88comment.EF.BC.89


Constructor Summary
Comment()
           
 
Method Summary
 Date getCreatedAt()
          评论创建时间
 String getId()
          评论的ID
 String getIdstr()
          字符串型的评论ID
 String getMid()
          评论的MID
 Comment getReplyComment()
          评论来源评论,当本评论属于对另一评论的回复时返回此字段
 String getSource()
          评论的来源
 Status getStatus()
          评论的微博信息字段
 String getText()
          评论的内容
 User getUser()
          评论作者的用户信息字段
static Comment parse(org.json.JSONObject jsonObject)
           
 void setCreatedAt(Date createdAt)
           
 void setId(String 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)
           
 
Methods inherited from class com.belerweb.social.bean.JsonBean
getJsonObject
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Comment

public Comment()
Method Detail

getId

public String getId()
评论的ID


setId

public void setId(String id)

getMid

public String getMid()
评论的MID


setMid

public void setMid(String mid)

getIdstr

public String getIdstr()
字符串型的评论ID


setIdstr

public void setIdstr(String idstr)

getCreatedAt

public Date getCreatedAt()
评论创建时间


setCreatedAt

public void setCreatedAt(Date createdAt)

getText

public String getText()
评论的内容


setText

public void setText(String text)

getSource

public String getSource()
评论的来源


setSource

public void setSource(String source)

getUser

public User getUser()
评论作者的用户信息字段


setUser

public void setUser(User user)

getStatus

public Status getStatus()
评论的微博信息字段


setStatus

public void setStatus(Status status)

getReplyComment

public Comment getReplyComment()
评论来源评论,当本评论属于对另一评论的回复时返回此字段


setReplyComment

public void setReplyComment(Comment replyComment)

parse

public static Comment parse(org.json.JSONObject jsonObject)


Copyright © 2014. All Rights Reserved.