public class ReviewMedia extends Media
Place
. Each individual Review
contains
information about the review itself, the user who contributed the review, and a rating that the
user offered for the place.Place.getReviews()
Media.Type
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getDate()
Gets the date when the user contributed the review.
|
java.lang.String |
getDescription()
Gets the review content for the
Place . |
java.lang.String |
getId()
Get the review identifier.
|
java.lang.String |
getIsoLanguageCode()
Gets the ISO language code identifying the language in which the review is available.
|
double |
getRating()
Gets the rating that the contributor of the review gave to the
Place . |
java.lang.String |
getTitle()
Gets the title of the review that the user contributed.
|
UserLink |
getUser()
Gets the
Link to details about the user who contributed the review. |
int |
hashCode() |
getAttributionText, getSupplier, getType, getUrl, getVia
public java.lang.String getDate()
public java.lang.String getTitle()
Note: a title for a review is optional, so a call to this method could return null
.
null
).public double getRating()
Place
.Ratings
public java.lang.String getDescription()
Place
. Depending on the supplier, the full
description might not be displayed and the full review might be available only within the
resource to which the optional via
attribute links.Media.getVia()
public java.lang.String getIsoLanguageCode()
Note: a language code for a review is optional, so a call to this method could return
null
.
null
).public java.lang.String getId()
public UserLink getUser()
Link
to details about the user who contributed the review.Link