|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectnet.sf.xtvdclient.xtvd.datatypes.MovieAdvisories
public class MovieAdvisories
A ordinal-based typesafe enum class that represents
the pre-defined values for tms:movieAdvisoriess as defined
in the XTVD schema.
Copyright 2004, Tribune Media Services
$Id: MovieAdvisories.java,v 1.4 2004/03/26 15:56:16 rakesh Exp $| Field Summary | |
|---|---|
static MovieAdvisories |
ADOLESCENTES_Y_ADULTOS
The typesafe representation of the Adolescentes y Adultos
movieAdvisories. |
static MovieAdvisories |
ADULT_SITUATIONS
The typesafe representation of the Adult Situations
movieAdvisories. |
static MovieAdvisories |
ADULTOS
The typesafe representation of the Adultos
movieAdvisories. |
static MovieAdvisories |
BRIEF_NUDITY
The typesafe representation of the Brief Nudity
movieAdvisories. |
static MovieAdvisories |
GRAPHIC_LANGUAGE
The typesafe representation of the Graphic Language
movieAdvisories. |
static MovieAdvisories |
GRAPHIC_VIOLENCE
The typesafe representation of the Graphic Violence
movieAdvisories. |
static MovieAdvisories |
LANGUAGE
The typesafe representation of the Language
movieAdvisories. |
static MovieAdvisories |
MILD_VIOLENCE
The typesafe representation of the Mild Violence
movieAdvisories. |
static MovieAdvisories |
NUDITY
The typesafe representation of the Nudity
movieAdvisories. |
static MovieAdvisories |
PUBLICO_GENERAL
The typesafe representation of the Publico General
movieAdvisories. |
static MovieAdvisories |
RAPE
The typesafe representation of the Rape
movieAdvisories. |
static MovieAdvisories |
STRONG_SEXUAL_CONTENT
The typesafe representation of the Strong Sexual
Content movieAdvisories. |
static MovieAdvisories |
VIOLENCE
The typesafe representation of the Violence
movieAdvisories. |
| Method Summary | |
|---|---|
int |
compareTo(java.lang.Object object)
Implementation of the Comparable interface. |
boolean |
equals(java.lang.Object object)
Indicates whether some other object is "equal to" this one. |
static MovieAdvisories |
getMovieAdvisory(java.lang.String advisory)
Return the appropriate MovieAdvisory based upon the
string specified. |
int |
hashCode()
Returns a hash code value for this class. |
java.lang.String |
toString()
Over-ridden to return the value of advisory. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final MovieAdvisories ADULT_SITUATIONS
Adult Situations
movieAdvisories.
public static final MovieAdvisories ADOLESCENTES_Y_ADULTOS
Adolescentes y Adultos
movieAdvisories.
public static final MovieAdvisories ADULTOS
Adultos
movieAdvisories.
public static final MovieAdvisories BRIEF_NUDITY
Brief Nudity
movieAdvisories.
public static final MovieAdvisories GRAPHIC_LANGUAGE
Graphic Language
movieAdvisories.
public static final MovieAdvisories GRAPHIC_VIOLENCE
Graphic Violence
movieAdvisories.
public static final MovieAdvisories LANGUAGE
Language
movieAdvisories.
public static final MovieAdvisories MILD_VIOLENCE
Mild Violence
movieAdvisories.
public static final MovieAdvisories NUDITY
Nudity
movieAdvisories.
public static final MovieAdvisories PUBLICO_GENERAL
Publico General
movieAdvisories.
public static final MovieAdvisories RAPE
Rape
movieAdvisories.
public static final MovieAdvisories STRONG_SEXUAL_CONTENT
Strong Sexual
Content movieAdvisories.
public static final MovieAdvisories VIOLENCE
Violence
movieAdvisories.
| Method Detail |
|---|
public static MovieAdvisories getMovieAdvisory(java.lang.String advisory)
MovieAdvisory based upon the
string specified. If the appropriate movie advisory does not exist
return null.
advisory - The advisory value that is to be used
to fetch the corresponding MovieAdvisories.
null otherwise.public java.lang.String toString()
advisory.
toString in class java.lang.Objectpublic int compareTo(java.lang.Object object)
Comparable interface.
Compares this object with the specified object for order. Returns
a negative integer, zero, or a positive integer as this object is
less than, equal to, or greater than the specified object.
compareTo in interface java.lang.Comparableobject - The object with which this class is to
be compared. No class type checking is done.
public boolean equals(java.lang.Object object)
ordinal value.
equals in class java.lang.Objectobject - The reference object with which to compare.
true if the match succeeds.public int hashCode()
ordinal.
hashCode in class java.lang.Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||