| Package | Description |
|---|---|
| com.google.gdata.model.gd |
| Modifier and Type | Field and Description |
|---|---|
static ElementKey<Void,Rating> |
Rating.KEY
The key for this element.
|
| Modifier and Type | Method and Description |
|---|---|
Rating |
MessageEntry.getRating()
Returns the rating.
|
Rating |
Rating.lock() |
Rating |
Rating.setAverage(Float average)
Sets the average rating.
|
Rating |
Rating.setMax(Integer max)
Sets the rating scale's maximum value.
|
Rating |
Rating.setMin(Integer min)
Sets the rating scale's minimum value.
|
Rating |
Rating.setNumRaters(Integer numRaters)
Sets the number of ratings taken into account when computing the average
value.
|
Rating |
Rating.setRel(String rel)
Sets the programmatic value that describes the aspect that's being rated,
if not specified, the rating is an overall rating.
|
Rating |
Rating.setValue(Integer value)
Sets the rating value.
|
| Modifier and Type | Method and Description |
|---|---|
MessageEntry |
MessageEntry.setRating(Rating rating)
Sets the rating.
|
| Constructor and Description |
|---|
Rating(ElementKey<?,? extends Rating> key)
Subclass constructor, allows subclasses to supply their own element key.
|
Rating(ElementKey<?,? extends Rating> key,
Element source)
Constructs a new instance by doing a shallow copy of data from an existing
Element instance. |
Copyright © 2012. All Rights Reserved.