public static enum Program.Role extends Enum<Program.Role>
| Enum Constant and Description |
|---|
ACTOR |
ANCHOR |
CONTESTANT |
CORRESPONDENT |
DIRECTOR |
EXECUTIVE_PRODUCER |
GUEST |
GUEST_STAR |
HOST |
JUDGE |
MUSICAL_GUEST |
NARRATOR |
PRODUCER |
UNKNOWN
An unknown value was provided; provide the value in a bug ticket for future inclusion
|
WRITER |
| Modifier and Type | Method and Description |
|---|---|
static Program.Role |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Program.Role[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Program.Role UNKNOWN
public static final Program.Role ACTOR
public static final Program.Role ANCHOR
public static final Program.Role CONTESTANT
public static final Program.Role CORRESPONDENT
public static final Program.Role DIRECTOR
public static final Program.Role EXECUTIVE_PRODUCER
public static final Program.Role GUEST_STAR
public static final Program.Role GUEST
public static final Program.Role HOST
public static final Program.Role JUDGE
public static final Program.Role MUSICAL_GUEST
public static final Program.Role NARRATOR
public static final Program.Role PRODUCER
public static final Program.Role WRITER
public static Program.Role[] values()
for (Program.Role c : Program.Role.values()) System.out.println(c);
public static Program.Role valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant
with the specified nameNullPointerException - if the argument is nullCopyright © 2012-2014 Battams, Derek. All Rights Reserved.