Package com.restfb.types
Class PageRating
- java.lang.Object
-
- com.restfb.types.AbstractFacebookType
-
- com.restfb.types.FacebookType
-
- com.restfb.types.PageRating
-
- All Implemented Interfaces:
HasComments
,HasFrom
,HasMessage
,Serializable
public class PageRating extends FacebookType implements HasComments, HasFrom, HasMessage
Represents the Cover Graph API type.- Since:
- 1.6.16
- Author:
- Anand Hemmige, Venil Noronha
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.restfb.types.FacebookType
FacebookType.Metadata
-
-
Constructor Summary
Constructors Constructor Description PageRating()
-
Method Summary
-
Methods inherited from class com.restfb.types.FacebookType
getId, getMetadata, getType, setId, setMetadata, setType
-
Methods inherited from class com.restfb.types.AbstractFacebookType
equals, hashCode, toString
-
-
-
-
Constructor Detail
-
PageRating
public PageRating()
-
-
Method Detail
-
isRecommendation
public boolean isRecommendation()
-
getStartTime
public Date getStartTime()
Time the rating took place- Returns:
- Time the rating took place
-
setStartTime
public void setStartTime(Date startTime)
Time the rating took place
-
getPublishTime
public Date getPublishTime()
Time the rating took place- Returns:
- Time the rating took place
-
setPublishTime
public void setPublishTime(Date publishTime)
Time the rating took place
-
getFrom
public NamedFacebookType getFrom()
Person who rated the page
-
setFrom
public void setFrom(NamedFacebookType from)
Person who rated the page
-
getMessage
public String getMessage()
- Specified by:
getMessage
in interfaceHasMessage
-
setMessage
public void setMessage(String message)
-
getApplication
public Application getApplication()
-
setApplication
public void setApplication(Application application)
-
getNoFeedStory
public Boolean getNoFeedStory()
-
setNoFeedStory
public void setNoFeedStory(Boolean noFeedStory)
-
getComments
public Comments getComments()
- Specified by:
getComments
in interfaceHasComments
-
setComments
public void setComments(Comments comments)
-
getRatingValue
public Double getRatingValue()
-
setRatingValue
public void setRatingValue(Double ratingValue)
-
getRatingScale
public Long getRatingScale()
-
setRatingScale
public void setRatingScale(Long ratingScale)
-
getReviewText
public String getReviewText()
-
setReviewText
public void setReviewText(String reviewText)
-
getIsDraft
public Boolean getIsDraft()
-
setIsDraft
public void setIsDraft(Boolean isDraft)
-
getLanguage
public String getLanguage()
-
setLanguage
public void setLanguage(String language)
-
getRecommendationType
public RecommendationType getRecommendationType()
-
setRecommendationType
public void setRecommendationType(RecommendationType recommendationType)
-
-