public enum GroupBookingEnumeration extends Enum<GroupBookingEnumeration>
Java class for GroupBookingEnumeration.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="GroupBookingEnumeration">
<restriction base="{http://www.w3.org/2001/XMLSchema}normalizedString">
<enumeration value="groupsAllowed"/>
<enumeration value="groupsNotAllowed"/>
<enumeration value="groupsAllowedWithReservation"/>
<enumeration value="groupBookingsRestricted"/>
<enumeration value="unknown"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
GROUP_BOOKINGS_RESTRICTED |
GROUPS_ALLOWED |
GROUPS_ALLOWED_WITH_RESERVATION |
GROUPS_NOT_ALLOWED |
UNKNOWN |
| Modifier and Type | Method and Description |
|---|---|
static GroupBookingEnumeration |
fromValue(String v) |
String |
value() |
static GroupBookingEnumeration |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GroupBookingEnumeration[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GroupBookingEnumeration GROUPS_ALLOWED
public static final GroupBookingEnumeration GROUPS_NOT_ALLOWED
public static final GroupBookingEnumeration GROUPS_ALLOWED_WITH_RESERVATION
public static final GroupBookingEnumeration GROUP_BOOKINGS_RESTRICTED
public static final GroupBookingEnumeration UNKNOWN
public static GroupBookingEnumeration[] values()
for (GroupBookingEnumeration c : GroupBookingEnumeration.values()) System.out.println(c);
public static GroupBookingEnumeration 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 value()
public static GroupBookingEnumeration fromValue(String v)
Copyright © 2018 Entur AS. All rights reserved.