public class FacebookComment extends java.lang.Object
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <comment> <createdTimestamp>1996-03-23T04:01:20+0200</createdTimestamp> <from>SoQaRHQEZFWEbtFBsWrEdjsoosPFzJTooYyfDYpqJrOqMzYrZIVMIuoxyNmIlbbP</from> <likeCount>8933585722358387863</likeCount> <message>PECVVdyzknaaaRzRpFuWuLVqaccAQVEbUsEfGGStmQEKxTdmdJDXApVjoAXqHiSL</message> </comment>
Comment
Constructor and Description |
---|
FacebookComment() |
FacebookComment(com.restfb.types.Comment comment) |
Modifier and Type | Method and Description |
---|---|
static java.util.List<FacebookComment> |
getCommentList(java.util.List<com.restfb.types.Comment> comments)
convert the given list of comments to FacebookComments
|
java.util.Date |
getCreatedTime() |
java.lang.String |
getFromName() |
java.lang.Long |
getLikeCount() |
java.lang.String |
getMessage() |
java.lang.Integer |
getMessageWeight() |
WeightedStringElement |
getWMessage() |
void |
setCreatedTime(java.util.Date date) |
void |
setFromName(java.lang.String fromName) |
void |
setLikeCount(java.lang.Long count) |
void |
setMessage(java.lang.String message) |
void |
setMessageWeight(java.lang.Integer messageWeight) |
public FacebookComment()
public FacebookComment(com.restfb.types.Comment comment) throws java.lang.IllegalArgumentException
comment
- java.lang.IllegalArgumentException
public void setCreatedTime(java.util.Date date)
date
- Comment.setCreatedTime(java.util.Date)
,
getCreatedTime()
public void setLikeCount(java.lang.Long count)
count
- Comment.setLikeCount(java.lang.Long)
,
getLikeCount()
public void setMessage(java.lang.String message)
message
- Comment.setMessage(java.lang.String)
,
getMessage()
public static java.util.List<FacebookComment> getCommentList(java.util.List<com.restfb.types.Comment> comments)
comments
- public java.util.Date getCreatedTime()
Comment.getCreatedTime()
,
setCreatedTime(Date)
public java.lang.String getFromName()
Comment.getFrom()
,
NamedFacebookType.getName()
,
setFromName(String)
public void setFromName(java.lang.String fromName)
fromName
- the fromName to setgetFromName()
public WeightedStringElement getWMessage()
Comment.getMessage()
,
getMessage()
public java.lang.Long getLikeCount()
Comment.getLikeCount()
,
setLikeCount(Long)
public java.lang.Integer getMessageWeight()
setMessageWeight(Integer)
public void setMessageWeight(java.lang.Integer messageWeight)
messageWeight
- the commentWeight to setgetMessageWeight()
public java.lang.String getMessage()
Comment.getMessage()
,
setMessage(String)
Copyright © 2015 Tampere University of Technology, Pori Department.