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
-
Method Summary
Modifier and TypeMethodDescriptiongetFrom()
Person who rated the pagegetLikes()
getPlace()
Time the rating took placeTime the rating took placeboolean
void
setApplication
(Application application) void
setComments
(Comments comments) void
setFrom
(NamedFacebookType from) Person who rated the pagevoid
setIsDraft
(Boolean isDraft) void
setLanguage
(String language) void
void
setMessage
(String message) void
setNoFeedStory
(Boolean noFeedStory) void
void
setPublishTime
(Date publishTime) Time the rating took placevoid
setRatingScale
(Long ratingScale) void
setRatingValue
(Double ratingValue) void
setRecommendationType
(RecommendationType recommendationType) void
setReviewText
(String reviewText) void
setStartTime
(Date startTime) Time the rating took placeMethods 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 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:
getMessage
in interfaceHasMessage
-
setMessage
-
getApplication
-
setApplication
-
getNoFeedStory
-
setNoFeedStory
-
getComments
- Specified by:
getComments
in interfaceHasComments
-
setComments
-
getLikes
-
setLikes
-
getRatingValue
-
setRatingValue
-
getRatingScale
-
setRatingScale
-
getReviewText
-
setReviewText
-
getIsDraft
-
setIsDraft
-
getLanguage
-
setLanguage
-
getPlace
-
setPlace
-
getRecommendationType
-
setRecommendationType
-