public enum InstanceToBalance extends Enum<InstanceToBalance> implements Enumerator
ConfigurationPackage.getInstanceToBalance()| Enum Constant and Description |
|---|
ALL
The 'ALL' literal object.
|
CURRENT
The 'CURRENT' literal object.
|
| Modifier and Type | Field and Description |
|---|---|
static int |
ALL_VALUE
The 'ALL' literal value.
|
static int |
CURRENT_VALUE
The 'CURRENT' literal value.
|
static List<InstanceToBalance> |
VALUES
A public read-only list of all the 'Instance To Balance' enumerators.
|
| Modifier and Type | Method and Description |
|---|---|
static InstanceToBalance |
get(int value)
Returns the 'Instance To Balance' literal with the specified integer value.
|
static InstanceToBalance |
get(String literal)
Returns the 'Instance To Balance' literal with the specified literal value.
|
static InstanceToBalance |
getByName(String name)
Returns the 'Instance To Balance' literal with the specified name.
|
String |
getLiteral() |
String |
getName() |
int |
getValue() |
String |
toString()
Returns the literal value of the enumerator, which is its string representation.
|
static InstanceToBalance |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static InstanceToBalance[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final InstanceToBalance CURRENT
CURRENT_VALUEpublic static final InstanceToBalance ALL
ALL_VALUEpublic static final int CURRENT_VALUE
If the meaning of 'CURRENT' literal object isn't clear, there really should be more of a description here...
CURRENT,
Constant Field Valuespublic static final int ALL_VALUE
If the meaning of 'ALL' literal object isn't clear, there really should be more of a description here...
ALL,
Constant Field Valuespublic static final List<InstanceToBalance> VALUES
public static InstanceToBalance[] values()
for (InstanceToBalance c : InstanceToBalance.values()) System.out.println(c);
public static InstanceToBalance 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 InstanceToBalance get(String literal)
public static InstanceToBalance getByName(String name)
public static InstanceToBalance get(int value)
public int getValue()
getValue in interface Enumeratorpublic String getName()
getName in interface Enumeratorpublic String getLiteral()
getLiteral in interface Enumeratorpublic String toString()
toString in class Enum<InstanceToBalance>