public class Rating extends java.lang.Object implements ResponseValue
Constructor and Description |
---|
Rating(java.lang.String rating,
java.lang.Float maximum,
java.lang.Float minimum)
Represents the rating given by the user.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Float |
getRating()
Gets the user rating as a float value.
|
java.lang.String |
getResponseValue() |
public Rating(java.lang.String rating, java.lang.Float maximum, java.lang.Float minimum)
rating
- String representation of the value of this particular ratingmaximum
- The maximum value that this rating can haveminimum
- The minimum value that this rating can havepublic java.lang.String getResponseValue()
getResponseValue
in interface ResponseValue
public java.lang.Float getRating()
"Copyright © 2010 - 2020 Adobe Systems Incorporated. All Rights Reserved"