|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<ReservationType>
com.ace.moab.api.reservation.ReservationType
public enum ReservationType
This enumeration specifies the type of a reservation.
Enum Constant Summary | |
---|---|
JOB
|
|
META
|
|
NONE
|
|
USER
|
Method Summary | |
---|---|
static java.util.List<java.lang.String> |
getTypeNames()
Returns the names of the reservation types. |
static ReservationType |
parseString(java.lang.String string)
Parse the string to a given reservation type object. |
java.lang.String |
toString()
|
static ReservationType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static ReservationType[] |
values()
Returns an array containing the constants of this enum type, in the order they're declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, valueOf |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final ReservationType NONE
public static final ReservationType JOB
public static final ReservationType USER
public static final ReservationType META
Method Detail |
---|
public static final ReservationType[] values()
for(ReservationType c : ReservationType.values()) System.out.println(c);
public static ReservationType 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 namepublic java.lang.String toString()
toString
in class java.lang.Enum<ReservationType>
public static ReservationType parseString(java.lang.String string) throws java.text.ParseException
string
- A string representing a reservation type.
java.text.ParseException
- If a reservation type could not be found using the input
string.public static java.util.List<java.lang.String> getTypeNames()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |