public enum PreferredWaitingTime extends Enum<PreferredWaitingTime> implements Enumerator
ConfigurationPackage.getPreferredWaitingTime()
Enum Constant and Description |
---|
LONG
The 'LONG' literal object.
|
SHORT
The 'SHORT' literal object.
|
Modifier and Type | Field and Description |
---|---|
static int |
LONG_VALUE
The 'LONG' literal value.
|
static int |
SHORT_VALUE
The 'SHORT' literal value.
|
static List<PreferredWaitingTime> |
VALUES
A public read-only list of all the 'Preferred Waiting Time' enumerators.
|
Modifier and Type | Method and Description |
---|---|
static PreferredWaitingTime |
get(int value)
Returns the 'Preferred Waiting Time' literal with the specified integer value.
|
static PreferredWaitingTime |
get(String literal)
Returns the 'Preferred Waiting Time' literal with the specified literal value.
|
static PreferredWaitingTime |
getByName(String name)
Returns the 'Preferred Waiting Time' 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 PreferredWaitingTime |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PreferredWaitingTime[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PreferredWaitingTime LONG
LONG_VALUE
public static final PreferredWaitingTime SHORT
SHORT_VALUE
public static final int LONG_VALUE
If the meaning of 'LONG' literal object isn't clear, there really should be more of a description here...
LONG
,
Constant Field Valuespublic static final int SHORT_VALUE
If the meaning of 'SHORT' literal object isn't clear, there really should be more of a description here...
SHORT
,
Constant Field Valuespublic static final List<PreferredWaitingTime> VALUES
public static PreferredWaitingTime[] values()
for (PreferredWaitingTime c : PreferredWaitingTime.values()) System.out.println(c);
public static PreferredWaitingTime 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 PreferredWaitingTime get(String literal)
public static PreferredWaitingTime getByName(String name)
public static PreferredWaitingTime 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<PreferredWaitingTime>