com.google.appengine.api.datastore
Class Rating
- java.lang.Object
-
- com.google.appengine.api.datastore.Rating
-
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<Rating>
public final class Rating extends java.lang.Object implements java.io.Serializable, java.lang.Comparable<Rating>
A user-provided integer rating for a piece of content. Normalized to a 0-100 scale.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field and Description static int
MAX_VALUE
The maximum legal value for a rating.static int
MIN_VALUE
The minimum legal value for a rating.static long
serialVersionUID
-
Constructor Summary
Constructors Constructor and Description Rating(int rating)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description int
compareTo(Rating o)
boolean
equals(java.lang.Object o)
int
getRating()
int
hashCode()
-
-
-
Field Detail
-
serialVersionUID
public static final long serialVersionUID
- See Also:
- Constant Field Values
-
MIN_VALUE
public static final int MIN_VALUE
The minimum legal value for a rating.- See Also:
- Constant Field Values
-
MAX_VALUE
public static final int MAX_VALUE
The maximum legal value for a rating.- See Also:
- Constant Field Values
-
-