public class FacebookPhotoDescription extends java.lang.Object
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <photoDescription> <photoUID>31dedd25-1f9c-46a9-9552-616399e77cea</photoUID> <serviceId>4</serviceId> <createdTimestamp>1973-09-25T21:09:59+0200</createdTimestamp> <commentList> <comment> <createdTimestamp>1990-10-22T00:23:16+0200</createdTimestamp> <from>UAxMhyAKysyKivaZtJhNXXCXyxBIxjsRqUaAOMLQbHkIZxJCTSHNhJjdBwgMsaBs</from> <likeCount>2580215407614194840</likeCount> <message>VTaOYXAepUwRiQbUjZHypTwATrfaiAdDMDoGQHOxeLzPTPaqlVoJBaWqWvmvqwNS</message> </comment> </commentList> <location> <city>PjZnjNqVWIFWPNByppYJwVbqFiybEtVvFqsVRbcUEctXRinMhrghXbFSpDwjivyF</city> <country>VkAmkFtmuIGKCHriohGzjERULjriNaTzocaiTJwufsFFwBxcdpgUNNabOebhgaFs</country> <state>XHtoBxDMyPUXnhMbBiVjfwoVVUKQnPAADnEIXoZOeYQcVrPPwslggnOLLDQklVLi</state> </location> <from>thDQGuYoSUiYSvYvlvhAPytxUBENNTnpInGWlIEklQvQShghhivlbHfUgPiHwISr</from> <likeCount>1</likeCount> <photoTagList> <photoTag> <serviceId>4</serviceId> <value>UVxLeZrhUDIWYczwfdizaEqSAqqTaVaMwQECEafWOKVdxhckXsEfADXuJZTolIpn</value> </photoTag> </photoTagList> <updatedTimestamp>1998-07-03T11:30:22+0300</updatedTimestamp> <description>FRbgkHuevjMawPlOrrDkjsGeUZyOTWIFoTzqusduqiZEljKaQMWTkajFZorpYxqv</description> </photoDescription>
Photo
Constructor and Description |
---|
FacebookPhotoDescription() |
FacebookPhotoDescription(com.restfb.types.Photo photo) |
Modifier and Type | Method and Description |
---|---|
boolean |
addLike(com.restfb.types.NamedFacebookType like) |
void |
addTag(FacebookPhotoTag tag) |
java.util.Date |
getCreatedTime() |
java.lang.String |
getDescription() |
java.util.List<FacebookComment> |
getDescriptionComments() |
java.lang.Integer |
getDescriptionWeight() |
FacebookLocation |
getFacebookLocation() |
static java.util.List<FacebookPhotoDescription> |
getFacebookPhotoDescriptions(java.util.List<com.restfb.types.Photo> photos) |
java.lang.String |
getFromName() |
java.lang.String |
getId() |
java.lang.Long |
getLikeCount() |
java.lang.String |
getPhotoGUID() |
CAContentCore.ServiceType |
getServiceType() |
java.lang.String |
getSource() |
java.util.List<FacebookPhotoTag> |
getTagList() |
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 |
setFacebookLocation(FacebookLocation location) |
void |
setFromName(java.lang.String name) |
void |
setId(java.lang.String id) |
void |
setPhotoGUID(java.lang.String photoGUID) |
void |
setServiceType(CAContentCore.ServiceType serviceType) |
void |
setTagList(java.util.List<FacebookPhotoTag> tags) |
void |
setUpdatedTime(java.util.Date date) |
public FacebookPhotoDescription()
public FacebookPhotoDescription(com.restfb.types.Photo photo) throws java.lang.IllegalArgumentException
photo
- java.lang.IllegalArgumentException
public boolean isValid()
public java.lang.String getFromName()
Photo.getFrom()
,
NamedFacebookType.getName()
,
setFromName(String)
public void setFromName(java.lang.String name)
name
- Photo.setFrom(com.restfb.types.CategorizedFacebookType)
,
getFromName()
public FacebookLocation getFacebookLocation()
Photo.getPlace()
,
setFacebookLocation(FacebookLocation)
public void setFacebookLocation(FacebookLocation location)
location
- Photo.setPlace(Place)
,
getFacebookLocation()
public java.util.Date getCreatedTime()
Photo.getCreatedTime()
,
setCreatedTime(Date)
public java.util.Date getUpdatedTime()
Photo.getUpdatedTime()
,
setUpdatedTime(Date)
public java.util.List<FacebookComment> getDescriptionComments()
Photo.getComments()
,
setDescriptionComments(List)
public void setDescriptionComments(java.util.List<FacebookComment> comments)
comments
- getDescriptionComments()
public java.lang.Long getLikeCount()
Photo.getLikes()
public WeightedStringElement getWDescription()
NamedFacebookType.getName()
,
getDescription()
public java.lang.String getSource()
Photo.getSource()
public java.util.List<FacebookPhotoTag> getTagList()
Photo.getTags()
,
setTagList(List)
public void setTagList(java.util.List<FacebookPhotoTag> tags)
tags
- getTagList()
public void addTag(FacebookPhotoTag tag)
tag
- getTagList()
public java.lang.Integer getDescriptionWeight()
setDescriptionWeight(Integer)
public void setDescriptionWeight(java.lang.Integer descriptionWeight)
descriptionWeight
- the descriptionWeight to setgetDescriptionWeight()
public java.lang.String getPhotoGUID()
setPhotoGUID(String)
public void setPhotoGUID(java.lang.String photoGUID)
photoGUID
- the photoGUID to setgetPhotoGUID()
public CAContentCore.ServiceType getServiceType()
setServiceType(service.tut.pori.contentanalysis.CAContentCore.ServiceType)
public void setServiceType(CAContentCore.ServiceType serviceType)
serviceType
- the serviceType to setgetServiceType()
public boolean addLike(com.restfb.types.NamedFacebookType like)
like
- Photo.addLike(com.restfb.types.NamedFacebookType)
,
getLikeCount()
public java.lang.String getId()
FacebookType.getId()
,
setId(String)
public void setCreatedTime(java.util.Date date)
date
- Photo.setCreatedTime(java.util.Date)
,
getCreatedTime()
public void setUpdatedTime(java.util.Date date)
date
- Photo.setUpdatedTime(java.util.Date)
,
getUpdatedTime()
public java.lang.String getDescription()
NamedFacebookType.getName()
,
setDescription(String)
public void setDescription(java.lang.String description)
description
- NamedFacebookType.setName(java.lang.String)
,
getDescription()
public static java.util.List<FacebookPhotoDescription> getFacebookPhotoDescriptions(java.util.List<com.restfb.types.Photo> photos)
photos
- Copyright © 2015 Tampere University of Technology, Pori Department.