org.eclipse.emf.test.models.movie.db
Enum GenreTypes

java.lang.Object
  extended by java.lang.Enum<GenreTypes>
      extended by org.eclipse.emf.test.models.movie.db.GenreTypes
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<GenreTypes>, Enumerator

public enum GenreTypes
extends java.lang.Enum<GenreTypes>
implements Enumerator

A representation of the literals of the enumeration 'Genre Types', and utility methods for working with them.

See Also:
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

NEW_RELEASE

public static final GenreTypes NEW_RELEASE
The 'New Release' literal object.

See Also:
NEW_RELEASE_VALUE

ACTION

public static final GenreTypes ACTION
The 'Action' literal object.

See Also:
ACTION_VALUE

ANIMATION

public static final GenreTypes ANIMATION
The 'Animation' literal object.

See Also:
ANIMATION_VALUE

FAMILY

public static final GenreTypes FAMILY
The 'Family' literal object.

See Also:
FAMILY_VALUE

CLASSICS

public static final GenreTypes CLASSICS
The 'Classics' literal object.

See Also:
CLASSICS_VALUE

COMEDY

public static final GenreTypes COMEDY
The 'Comedy' literal object.

See Also:
COMEDY_VALUE

DOCUMENTARY

public static final GenreTypes DOCUMENTARY
The 'Documentary' literal object.

See Also:
DOCUMENTARY_VALUE

DRAMA

public static final GenreTypes DRAMA
The 'Drama' literal object.

See Also:
DRAMA_VALUE

HORROR

public static final GenreTypes HORROR
The 'Horror' literal object.

See Also:
HORROR_VALUE

ROMANCE

public static final GenreTypes ROMANCE
The 'Romance' literal object.

See Also:
ROMANCE_VALUE

SCI_FI

public static final GenreTypes SCI_FI
The 'Sci Fi' literal object.

See Also:
SCI_FI_VALUE

THRILLER

public static final GenreTypes THRILLER
The 'Thriller' literal object.

See Also:
THRILLER_VALUE
Field Detail

NEW_RELEASE_VALUE

public static final int NEW_RELEASE_VALUE
The 'New Release' literal value.

If the meaning of 'New Release' literal object isn't clear, there really should be more of a description here...

See Also:
NEW_RELEASE, Constant Field Values

ACTION_VALUE

public static final int ACTION_VALUE
The 'Action' literal value.

If the meaning of 'Action' literal object isn't clear, there really should be more of a description here...

See Also:
ACTION, Constant Field Values

ANIMATION_VALUE

public static final int ANIMATION_VALUE
The 'Animation' literal value.

If the meaning of 'Animation' literal object isn't clear, there really should be more of a description here...

See Also:
ANIMATION, Constant Field Values

FAMILY_VALUE

public static final int FAMILY_VALUE
The 'Family' literal value.

If the meaning of 'Family' literal object isn't clear, there really should be more of a description here...

See Also:
FAMILY, Constant Field Values

CLASSICS_VALUE

public static final int CLASSICS_VALUE
The 'Classics' literal value.

If the meaning of 'Classics' literal object isn't clear, there really should be more of a description here...

See Also:
CLASSICS, Constant Field Values

COMEDY_VALUE

public static final int COMEDY_VALUE
The 'Comedy' literal value.

If the meaning of 'Comedy' literal object isn't clear, there really should be more of a description here...

See Also:
COMEDY, Constant Field Values

DOCUMENTARY_VALUE

public static final int DOCUMENTARY_VALUE
The 'Documentary' literal value.

If the meaning of 'Documentary' literal object isn't clear, there really should be more of a description here...

See Also:
DOCUMENTARY, Constant Field Values

DRAMA_VALUE

public static final int DRAMA_VALUE
The 'Drama' literal value.

If the meaning of 'Drama' literal object isn't clear, there really should be more of a description here...

See Also:
DRAMA, Constant Field Values

HORROR_VALUE

public static final int HORROR_VALUE
The 'Horror' literal value.

If the meaning of 'Horror' literal object isn't clear, there really should be more of a description here...

See Also:
HORROR, Constant Field Values

ROMANCE_VALUE

public static final int ROMANCE_VALUE
The 'Romance' literal value.

If the meaning of 'Romance' literal object isn't clear, there really should be more of a description here...

See Also:
ROMANCE, Constant Field Values

SCI_FI_VALUE

public static final int SCI_FI_VALUE
The 'Sci Fi' literal value.

If the meaning of 'Sci Fi' literal object isn't clear, there really should be more of a description here...

See Also:
SCI_FI, Constant Field Values

THRILLER_VALUE

public static final int THRILLER_VALUE
The 'Thriller' literal value.

If the meaning of 'Thriller' literal object isn't clear, there really should be more of a description here...

See Also:
THRILLER, Constant Field Values

VALUES

public static final java.util.List<GenreTypes> VALUES
A public read-only list of all the 'Genre Types' enumerators.

Method Detail

values

public static final GenreTypes[] values()
Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants as follows:
for(GenreTypes c : GenreTypes.values())
        System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they're declared

valueOf

public static GenreTypes valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name

get

public static GenreTypes get(java.lang.String literal)
Returns the 'Genre Types' literal with the specified literal value.


getByName

public static GenreTypes getByName(java.lang.String name)
Returns the 'Genre Types' literal with the specified name.


get

public static GenreTypes get(int value)
Returns the 'Genre Types' literal with the specified integer value.


getValue

public int getValue()

Specified by:
getValue in interface Enumerator
Returns:
the value.

getName

public java.lang.String getName()

Specified by:
getName in interface Enumerator
Returns:
the name.

getLiteral

public java.lang.String getLiteral()

Specified by:
getLiteral in interface Enumerator
Returns:
the literal.

toString

public java.lang.String toString()
Returns the literal value of the enumerator, which is its string representation.

Overrides:
toString in class java.lang.Enum<GenreTypes>

Copyright 2001-2006 IBM Corporation and others.
All Rights Reserved.