public enum PassiveResourceType extends Enum<PassiveResourceType> implements Enumerator
ConfigurationPackage.getPassiveResourceType()
Enum Constant and Description |
---|
FAIR
The 'FAIR' literal object.
|
UNFAIR
The 'UNFAIR' literal object.
|
Modifier and Type | Field and Description |
---|---|
static int |
FAIR_VALUE
The 'FAIR' literal value.
|
static int |
UNFAIR_VALUE
The 'UNFAIR' literal value.
|
static List<PassiveResourceType> |
VALUES
A public read-only list of all the 'Passive Resource Type' enumerators.
|
Modifier and Type | Method and Description |
---|---|
static PassiveResourceType |
get(int value)
Returns the 'Passive Resource Type' literal with the specified integer value.
|
static PassiveResourceType |
get(String literal)
Returns the 'Passive Resource Type' literal with the specified literal value.
|
static PassiveResourceType |
getByName(String name)
Returns the 'Passive Resource Type' 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 PassiveResourceType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PassiveResourceType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PassiveResourceType FAIR
FAIR_VALUE
public static final PassiveResourceType UNFAIR
UNFAIR_VALUE
public static final int FAIR_VALUE
If the meaning of 'FAIR' literal object isn't clear, there really should be more of a description here...
FAIR
,
Constant Field Valuespublic static final int UNFAIR_VALUE
If the meaning of 'UNFAIR' literal object isn't clear, there really should be more of a description here...
UNFAIR
,
Constant Field Valuespublic static final List<PassiveResourceType> VALUES
public static PassiveResourceType[] values()
for (PassiveResourceType c : PassiveResourceType.values()) System.out.println(c);
public static PassiveResourceType 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 PassiveResourceType get(String literal)
public static PassiveResourceType getByName(String name)
public static PassiveResourceType get(int value)
public int getValue()
getValue
in interface Enumerator
public String getName()
getName
in interface Enumerator
public String getLiteral()
getLiteral
in interface Enumerator
public String toString()
toString
in class Enum<PassiveResourceType>