public enum ModuleState extends Enum<ModuleState>
Enum Constant and Description |
---|
SOMODULESTATEACTIVATED |
SOMODULESTATEDESACTIVATED |
Modifier and Type | Field and Description |
---|---|
static int |
SOMODULESTATEACTIVATED_VALUE |
static int |
SOMODULESTATEDESACTIVATED_VALUE |
static List<ModuleState> |
VALUES |
Modifier and Type | Method and Description |
---|---|
static ModuleState |
get(int value) |
static ModuleState |
get(String literal) |
static ModuleState |
getByName(String name) |
String |
getLiteral() |
String |
getName() |
int |
getValue() |
String |
toString() |
static ModuleState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ModuleState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ModuleState SOMODULESTATEDESACTIVATED
public static final ModuleState SOMODULESTATEACTIVATED
public static final int SOMODULESTATEDESACTIVATED_VALUE
public static final int SOMODULESTATEACTIVATED_VALUE
public static final List<ModuleState> VALUES
public static ModuleState[] values()
for (ModuleState c : ModuleState.values()) System.out.println(c);
public static ModuleState 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 static ModuleState get(String literal)
public static ModuleState getByName(String name)
public static ModuleState get(int value)
public int getValue()
public String getName()
public String getLiteral()
public String toString()
toString
in class Enum<ModuleState>