public enum Xs2aBookingStatus extends Enum<Xs2aBookingStatus>
| Modifier and Type | Method and Description |
|---|---|
static Xs2aBookingStatus |
forValue(String value) |
String |
getValue() |
static Xs2aBookingStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Xs2aBookingStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Xs2aBookingStatus PENDING
public static final Xs2aBookingStatus BOOKED
public static final Xs2aBookingStatus BOTH
public static Xs2aBookingStatus[] values()
for (Xs2aBookingStatus c : Xs2aBookingStatus.values()) System.out.println(c);
public static Xs2aBookingStatus 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 String getValue()
public static Xs2aBookingStatus forValue(String value)
Copyright © 2018 Pivotal Software, Inc.. All rights reserved.