public class PlaceReview extends MapObject
Modifier and Type | Class and Description |
---|---|
protected static class |
PlaceReview.ArrayProperty |
Constructor and Description |
---|
PlaceReview()
Creates new PlaceReview object.
|
PlaceReview(Map map)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
PlaceAspectRating[] |
getAspects()
Returns value of aspects property.
|
java.lang.String |
getAuthorName()
Returns value of authorName property.
|
java.lang.String |
getAuthorUrl()
Returns value of authorUrl property.
|
java.lang.String |
getLanguage()
Returns value of language property.
|
java.lang.String |
getText()
Returns value of reviews property.
|
void |
setAspects(PlaceAspectRating[] aspects)
Sets new value for aspects property.
|
void |
setAuthorName(java.lang.String value)
Sets new value for authorName property.
|
void |
setAuthorUrl(java.lang.String value)
Contains a link to the reviewer's profile.
|
void |
setLanguage(java.lang.String value)
Sets new value for language property.
|
void |
setText(java.lang.String value)
Sets new value for text property.
|
addEventListener, attachObject, cacheProperties, cacheProperties, clone, createJSValue, dispose, fromJSValue, getJSObject, getMap, getProperties, invokeMethod, propertyChanged, removeEventListener, updateProperty
public PlaceReview()
@Deprecated public PlaceReview(Map map)
map
- owner Map objectpublic java.lang.String getAuthorName()
Contains the name of the reviewer.
setAuthorName(java.lang.String)
public void setAuthorName(java.lang.String value)
value
- new property valuegetAuthorName()
public java.lang.String getAuthorUrl()
Contains a link to the reviewer's profile. This will be undefined when the reviewer's profile is unavailable.
setAuthorUrl(java.lang.String)
public void setAuthorUrl(java.lang.String value)
value
- new property valuegetAuthorUrl()
public java.lang.String getLanguage()
Contains a link to the reviewer's profile. This will be undefined when the reviewer's profile is unavailable.
setLanguage(java.lang.String)
public void setLanguage(java.lang.String value)
value
- new property valuegetLanguage()
public java.lang.String getText()
Contains an IETF language code indicating the language in which this review is written. Note that this code includes only the main language tag without any secondary tag indicating country or region. For example, all the English reviews are tagged as 'en' rather than 'en-AU' or 'en-UK'.
setText(java.lang.String)
public void setText(java.lang.String value)
value
- new property valuegetText()
public PlaceAspectRating[] getAspects()
Contains the text of a review.
setAspects(com.teamdev.jxmaps.PlaceAspectRating[])
public void setAspects(PlaceAspectRating[] aspects)
aspects
- new property valuegetAspects()