public enum ParkingReservationEnumeration extends Enum<ParkingReservationEnumeration>
Java class for ParkingReservationEnumeration.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="ParkingReservationEnumeration">
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="reservationRequired"/>
<enumeration value="reservationAllowed"/>
<enumeration value="noReservations"/>
<enumeration value="registrationRequired"/>
<enumeration value="other"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
NO_RESERVATIONS |
OTHER |
REGISTRATION_REQUIRED |
RESERVATION_ALLOWED |
RESERVATION_REQUIRED |
| Modifier and Type | Method and Description |
|---|---|
static ParkingReservationEnumeration |
fromValue(String v) |
String |
value() |
static ParkingReservationEnumeration |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ParkingReservationEnumeration[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ParkingReservationEnumeration RESERVATION_REQUIRED
public static final ParkingReservationEnumeration RESERVATION_ALLOWED
public static final ParkingReservationEnumeration NO_RESERVATIONS
public static final ParkingReservationEnumeration REGISTRATION_REQUIRED
public static final ParkingReservationEnumeration OTHER
public static ParkingReservationEnumeration[] values()
for (ParkingReservationEnumeration c : ParkingReservationEnumeration.values()) System.out.println(c);
public static ParkingReservationEnumeration 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 ParkingReservationEnumeration fromValue(String v)
Copyright © 2018 Entur AS. All rights reserved.