|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<GenreTypes>
org.eclipse.emf.test.models.movie.db.GenreTypes
public enum GenreTypes
A representation of the literals of the enumeration 'Genre Types', and utility methods for working with them.
DBPackage.getGenreTypes()| Enum Constant Summary | |
|---|---|
ACTION
The 'Action' literal object |
|
ANIMATION
The 'Animation' literal object |
|
CLASSICS
The 'Classics' literal object |
|
COMEDY
The 'Comedy' literal object |
|
DOCUMENTARY
The 'Documentary' literal object |
|
DRAMA
The 'Drama' literal object |
|
FAMILY
The 'Family' literal object |
|
HORROR
The 'Horror' literal object |
|
NEW_RELEASE
The 'New Release' literal object |
|
ROMANCE
The 'Romance' literal object |
|
SCI_FI
The 'Sci Fi' literal object |
|
THRILLER
The 'Thriller' literal object |
|
| Field Summary | |
|---|---|
static int |
ACTION_VALUE
The 'Action' literal value |
static int |
ANIMATION_VALUE
The 'Animation' literal value |
static int |
CLASSICS_VALUE
The 'Classics' literal value |
static int |
COMEDY_VALUE
The 'Comedy' literal value |
static int |
DOCUMENTARY_VALUE
The 'Documentary' literal value |
static int |
DRAMA_VALUE
The 'Drama' literal value |
static int |
FAMILY_VALUE
The 'Family' literal value |
static int |
HORROR_VALUE
The 'Horror' literal value |
static int |
NEW_RELEASE_VALUE
The 'New Release' literal value |
static int |
ROMANCE_VALUE
The 'Romance' literal value |
static int |
SCI_FI_VALUE
The 'Sci Fi' literal value |
static int |
THRILLER_VALUE
The 'Thriller' literal value |
static java.util.List<GenreTypes> |
VALUES
A public read-only list of all the 'Genre Types' enumerators |
| Method Summary | |
|---|---|
static GenreTypes |
get(int value)
Returns the 'Genre Types' literal with the specified integer value |
static GenreTypes |
get(java.lang.String literal)
Returns the 'Genre Types' literal with the specified literal value |
static GenreTypes |
getByName(java.lang.String name)
Returns the 'Genre Types' literal with the specified name |
java.lang.String |
getLiteral()
|
java.lang.String |
getName()
|
int |
getValue()
|
java.lang.String |
toString()
Returns the literal value of the enumerator, which is its string representation |
static GenreTypes |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static GenreTypes[] |
values()
Returns an array containing the constants of this enum type, in the order they're declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, valueOf |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final GenreTypes NEW_RELEASE
NEW_RELEASE_VALUEpublic static final GenreTypes ACTION
ACTION_VALUEpublic static final GenreTypes ANIMATION
ANIMATION_VALUEpublic static final GenreTypes FAMILY
FAMILY_VALUEpublic static final GenreTypes CLASSICS
CLASSICS_VALUEpublic static final GenreTypes COMEDY
COMEDY_VALUEpublic static final GenreTypes DOCUMENTARY
DOCUMENTARY_VALUEpublic static final GenreTypes DRAMA
DRAMA_VALUEpublic static final GenreTypes HORROR
HORROR_VALUEpublic static final GenreTypes ROMANCE
ROMANCE_VALUEpublic static final GenreTypes SCI_FI
SCI_FI_VALUEpublic static final GenreTypes THRILLER
THRILLER_VALUE| Field Detail |
|---|
public static final int NEW_RELEASE_VALUE
If the meaning of 'New Release' literal object isn't clear, there really should be more of a description here...
NEW_RELEASE,
Constant Field Valuespublic static final int ACTION_VALUE
If the meaning of 'Action' literal object isn't clear, there really should be more of a description here...
ACTION,
Constant Field Valuespublic static final int ANIMATION_VALUE
If the meaning of 'Animation' literal object isn't clear, there really should be more of a description here...
ANIMATION,
Constant Field Valuespublic static final int FAMILY_VALUE
If the meaning of 'Family' literal object isn't clear, there really should be more of a description here...
FAMILY,
Constant Field Valuespublic static final int CLASSICS_VALUE
If the meaning of 'Classics' literal object isn't clear, there really should be more of a description here...
CLASSICS,
Constant Field Valuespublic static final int COMEDY_VALUE
If the meaning of 'Comedy' literal object isn't clear, there really should be more of a description here...
COMEDY,
Constant Field Valuespublic static final int DOCUMENTARY_VALUE
If the meaning of 'Documentary' literal object isn't clear, there really should be more of a description here...
DOCUMENTARY,
Constant Field Valuespublic static final int DRAMA_VALUE
If the meaning of 'Drama' literal object isn't clear, there really should be more of a description here...
DRAMA,
Constant Field Valuespublic static final int HORROR_VALUE
If the meaning of 'Horror' literal object isn't clear, there really should be more of a description here...
HORROR,
Constant Field Valuespublic static final int ROMANCE_VALUE
If the meaning of 'Romance' literal object isn't clear, there really should be more of a description here...
ROMANCE,
Constant Field Valuespublic static final int SCI_FI_VALUE
If the meaning of 'Sci Fi' literal object isn't clear, there really should be more of a description here...
SCI_FI,
Constant Field Valuespublic static final int THRILLER_VALUE
If the meaning of 'Thriller' literal object isn't clear, there really should be more of a description here...
THRILLER,
Constant Field Valuespublic static final java.util.List<GenreTypes> VALUES
| Method Detail |
|---|
public static final GenreTypes[] values()
for(GenreTypes c : GenreTypes.values())
System.out.println(c);
public static GenreTypes valueOf(java.lang.String name)
name - the name of the enum constant to be returned.
java.lang.IllegalArgumentException - if this enum type has no constant
with the specified namepublic static GenreTypes get(java.lang.String literal)
public static GenreTypes getByName(java.lang.String name)
public static GenreTypes get(int value)
public int getValue()
getValue in interface Enumeratorpublic java.lang.String getName()
getName in interface Enumeratorpublic java.lang.String getLiteral()
getLiteral in interface Enumeratorpublic java.lang.String toString()
toString in class java.lang.Enum<GenreTypes>
|
Copyright 2001-2006 IBM Corporation and others. All Rights Reserved. |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||