|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<PreferredWaitingTime>
scheduler.configuration.PreferredWaitingTime
public enum PreferredWaitingTime
A representation of the literals of the enumeration 'Preferred Waiting Time', and utility methods for working with them.
ConfigurationPackage.getPreferredWaitingTime()
Enum Constant Summary | |
---|---|
LONG
The 'LONG' literal object. |
|
SHORT
The 'SHORT' literal object. |
Field Summary | |
---|---|
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. |
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final PreferredWaitingTime LONG
LONG_VALUE
public static final PreferredWaitingTime SHORT
SHORT_VALUE
Field Detail |
---|
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
Method Detail |
---|
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 name
NullPointerException
- 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()
public String getName()
public String getLiteral()
public String toString()
toString
in class Enum<PreferredWaitingTime>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |