public static enum Fixture.BookingStatus extends Enum<Fixture.BookingStatus>
Enum Constant and Description |
---|
Bookable |
Booked |
Buyable |
Unavailable |
Modifier and Type | Method and Description |
---|---|
static Fixture.BookingStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Fixture.BookingStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Fixture.BookingStatus Buyable
public static final Fixture.BookingStatus Bookable
public static final Fixture.BookingStatus Booked
public static final Fixture.BookingStatus Unavailable
public static Fixture.BookingStatus[] values()
for (Fixture.BookingStatus c : Fixture.BookingStatus.values()) System.out.println(c);
public static Fixture.BookingStatus 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 nullCopyright © 2016–2017. All rights reserved.