public class PlaceAspectRating extends MapObject
Modifier and Type | Class and Description |
---|---|
protected static class |
PlaceAspectRating.ArrayProperty |
Constructor and Description |
---|
PlaceAspectRating()
Creates new PlaceAspectRating object.
|
PlaceAspectRating(Map map)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
int |
getRating()
Returns value of rating property.
|
java.lang.String |
getType()
Returns value of type property.
|
void |
setRating(int value)
Sets new value for rating property.
|
void |
setType(java.lang.String value)
Sets new value for type property.
|
addEventListener, attachObject, cacheProperties, cacheProperties, clone, createJSValue, dispose, fromJSValue, getJSObject, getMap, getProperties, invokeMethod, propertyChanged, removeEventListener, updateProperty
public PlaceAspectRating()
@Deprecated public PlaceAspectRating(Map map)
map
- owner Map objectpublic java.lang.String getType()
Contains the aspect type, e.g. "food", "decor", "service", "overall".
setType(java.lang.String)
public void setType(java.lang.String value)
value
- new property valuegetType()
public int getRating()
Contains the rating of this aspect. For individual reviews this is an integer from 0 to 3. For aggregated ratings of a place this is an integer from 0 to 30.
setRating(int)
public void setRating(int value)
value
- new property valuegetRating()