public class FacebookVideoDescription extends java.lang.Object
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <videoDescription> <likeCount>4075233559748723039</likeCount> <createdTimestamp>1970-04-09T03:49:13+0200</createdTimestamp> <commentList> <createdTimestamp>1996-12-29T23:31:54+0200</createdTimestamp> <from>fCIllhUskRevETJgFAagrWzgReJpqbnmOXTWJboVWpmveJftsnbUnUtopfcSfPfm</from> <likeCount>5305540543807804504</likeCount> <message>anpsLuqUerbIoJTfuFHecjEYIVzgmkNCRFtxJHlRdZffeZmtJPuFlEmqeDAJleIP</message> </commentList> <from>iyTCkvtjqeZKrlzZevdFgsZyutccPUdCNsjdDYDJOzvSVMZVuTCvWcaMZRcxcFCf</from> <updatedTimestamp>1971-07-30T11:57:14+0200</updatedTimestamp> <description>RMlOHJkXHuRxqHTwLxhQPpxHQirsVhgSlLnXzWMTZLSUqCoqTAccsBWNrJYUOpzp</description> </videoDescription>
Video
Constructor and Description |
---|
FacebookVideoDescription() |
FacebookVideoDescription(com.restfb.types.Video video) |
Modifier and Type | Method and Description |
---|---|
java.util.Date |
getCreatedTime() |
java.lang.String |
getDescription() |
java.util.List<FacebookComment> |
getDescriptionComments() |
java.lang.Integer |
getDescriptionWeight() |
static java.util.List<FacebookVideoDescription> |
getFacebookVideoDescriptions(java.util.List<com.restfb.types.Video> videos) |
java.lang.String |
getFromName() |
java.lang.String |
getId() |
java.lang.Long |
getLikeCount() |
java.util.Date |
getUpdatedTime() |
WeightedStringElement |
getWDescription() |
boolean |
isValid() |
void |
setCreatedTime(java.util.Date date) |
void |
setDescription(java.lang.String description) |
void |
setDescriptionComments(java.util.List<FacebookComment> comments) |
void |
setDescriptionWeight(java.lang.Integer descriptionWeight) |
void |
setFromName(java.lang.String name) |
void |
setId(java.lang.String id) |
void |
setLikeCount(java.lang.Long likeCount) |
void |
setUpdatedTime(java.util.Date date) |
public FacebookVideoDescription()
public FacebookVideoDescription(com.restfb.types.Video video) throws java.lang.IllegalArgumentException
video
- java.lang.IllegalArgumentException
public boolean isValid()
public void setFromName(java.lang.String name)
name
- getFromName()
public java.lang.String getFromName()
Video.getFrom()
,
NamedFacebookType.getName()
,
setFromName(String)
public WeightedStringElement getWDescription()
Video.getDescription()
,
getDescription()
public java.util.List<FacebookComment> getDescriptionComments()
Video.getComments()
,
setDescriptionComments(List)
public void setDescriptionComments(java.util.List<FacebookComment> comments)
comments
- replace currently set comments with the passed list of commentsgetDescriptionComments()
public java.util.Date getCreatedTime()
Video.getCreatedTime()
,
setCreatedTime(Date)
public java.util.Date getUpdatedTime()
Video.getUpdatedTime()
,
setUpdatedTime(Date)
public java.lang.Long getLikeCount()
setLikeCount(Long)
public void setLikeCount(java.lang.Long likeCount)
likeCount
- getLikeCount()
public java.lang.Integer getDescriptionWeight()
setDescriptionWeight(Integer)
public void setDescriptionWeight(java.lang.Integer descriptionWeight)
descriptionWeight
- the descriptionWeight to setgetDescriptionWeight()
public void setCreatedTime(java.util.Date date)
date
- Video.setCreatedTime(java.util.Date)
,
getCreatedTime()
public void setDescription(java.lang.String description)
description
- Video.setDescription(java.lang.String)
,
getDescription()
public void setUpdatedTime(java.util.Date date)
date
- Video.setUpdatedTime(java.util.Date)
,
getUpdatedTime()
public java.lang.String getId()
FacebookType.getId()
,
setId(String)
public void setId(java.lang.String id)
id
- FacebookType.setId(java.lang.String)
,
getId()
public static java.util.List<FacebookVideoDescription> getFacebookVideoDescriptions(java.util.List<com.restfb.types.Video> videos)
videos
- public java.lang.String getDescription()
Video.getDescription()
,
setDescription(String)
Copyright © 2015 Tampere University of Technology, Pori Department.