public enum ModuleState extends java.lang.Enum<ModuleState>
Enum Constant and Description |
---|
SOMODULESTATEACTIVATED |
SOMODULESTATEDESACTIVATED |
Modifier and Type | Field and Description |
---|---|
static int |
SOMODULESTATEACTIVATED_VALUE |
static int |
SOMODULESTATEDESACTIVATED_VALUE |
static java.util.List<ModuleState> |
VALUES |
Modifier and Type | Method and Description |
---|---|
static ModuleState |
get(int value) |
static ModuleState |
get(java.lang.String literal) |
static ModuleState |
getByName(java.lang.String name) |
java.lang.String |
getLiteral() |
java.lang.String |
getName() |
int |
getValue() |
java.lang.String |
toString() |
static ModuleState |
valueOf(java.lang.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 java.util.List<ModuleState> VALUES
public static ModuleState[] values()
for (ModuleState c : ModuleState.values()) System.out.println(c);
public static ModuleState 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 namejava.lang.NullPointerException
- if the argument is nullpublic static ModuleState get(java.lang.String literal)
public static ModuleState getByName(java.lang.String name)
public static ModuleState get(int value)
public int getValue()
public java.lang.String getName()
public java.lang.String getLiteral()
public java.lang.String toString()
toString
in class java.lang.Enum<ModuleState>