|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectit.dtt.ca.ppv.Rating
public class Rating
Provide a classification for pay per view events.
Field Summary | |
---|---|
static int |
ADULTS_ONLY
The event may contain representation of explicit sex, violence, or crude language such that it is inappropriate for people under 18. |
static int |
ALL_AUDIENCE
The event can be viewed by all audience without restrictions. |
static int |
PARENTAL_GUIDANCE
The event describes circumstances for which parental guidance is adviced. |
static int |
RESTRICTED
The event may contain representations of violence, or crude language, for which it is inappropriate for young children. |
Constructor Summary | |
---|---|
Rating(int value)
Create a Rating instance of the specified value. |
Method Summary | |
---|---|
int[] |
getLevelsAsIntegers()
Get the rating level as an array of integers. |
java.lang.String |
getLevelsAsString()
Get the rating level as a String. |
int[] |
getRange()
Get the rating level range as an array of integers. |
int |
getValue()
Get the rating value; this is one of the values defined in this class. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int ALL_AUDIENCE
public static final int PARENTAL_GUIDANCE
public static final int RESTRICTED
public static final int ADULTS_ONLY
Constructor Detail |
---|
public Rating(int value)
value
- the rating value to set.Method Detail |
---|
public int getValue()
public java.lang.String getLevelsAsString()
public int[] getLevelsAsIntegers()
public int[] getRange()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |