public static enum Validation.InnerEnum extends Enum<Validation.InnerEnum>
Modifier and Type | Method and Description |
---|---|
static Validation.InnerEnum |
fromValue(String value) |
String |
getValue() |
String |
toString() |
static Validation.InnerEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Validation.InnerEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Validation.InnerEnum YES
public static final Validation.InnerEnum ABSTAIN
public static final Validation.InnerEnum NO
public static Validation.InnerEnum[] values()
for (Validation.InnerEnum c : Validation.InnerEnum.values()) System.out.println(c);
public static Validation.InnerEnum 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 nullpublic String getValue()
public String toString()
toString
in class Enum<Validation.InnerEnum>
public static Validation.InnerEnum fromValue(String value)