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
Represents the Cover Graph API
type.
- Since:
- 1.6.16
- Author:
- Anand Hemmige, Venil Noronha
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class com.restfb.types.FacebookType
FacebookType.Metadata -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetFrom()Person who rated the pagegetLikes()getPlace()Time the rating took placeTime the rating took placebooleanvoidsetApplication(Application application) voidsetComments(Comments comments) voidsetFrom(NamedFacebookType from) Person who rated the pagevoidsetIsDraft(Boolean isDraft) voidsetLanguage(String language) voidvoidsetMessage(String message) voidsetNoFeedStory(Boolean noFeedStory) voidvoidsetPublishTime(Date publishTime) Time the rating took placevoidsetRatingScale(Long ratingScale) voidsetRatingValue(Double ratingValue) voidsetRecommendationType(RecommendationType recommendationType) voidsetReviewText(String reviewText) voidsetStartTime(Date startTime) Time the rating took placeMethods inherited from class com.restfb.types.FacebookType
getId, getMetadata, getType, setId, setMetadata, setTypeMethods inherited from class com.restfb.types.AbstractFacebookType
equals, hashCode, toString
-
Constructor Details
-
PageRating
public PageRating()
-
-
Method Details
-
isRecommendation
-
getStartTime
Time the rating took place- Returns:
- Time the rating took place
-
setStartTime
Time the rating took place -
getPublishTime
Time the rating took place- Returns:
- Time the rating took place
-
setPublishTime
Time the rating took place -
getFrom
Person who rated the page -
setFrom
Person who rated the page -
getMessage
- Specified by:
getMessagein interfaceHasMessage
-
setMessage
-
getApplication
-
setApplication
-
getNoFeedStory
-
setNoFeedStory
-
getComments
- Specified by:
getCommentsin interfaceHasComments
-
setComments
-
getLikes
-
setLikes
-
getRatingValue
-
setRatingValue
-
getRatingScale
-
setRatingScale
-
getReviewText
-
setReviewText
-
getIsDraft
-
setIsDraft
-
getLanguage
-
setLanguage
-
getPlace
-
setPlace
-
getRecommendationType
-
setRecommendationType
-