public enum ReservationTypeEnum extends Enum<ReservationTypeEnum>
Java class for ReservationTypeEnum.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="ReservationTypeEnum">
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="optional"/>
<enumeration value="mandatory"/>
<enumeration value="notAvailable"/>
<enumeration value="partly"/>
<enumeration value="unknown"/>
<enumeration value="unspecified"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
MANDATORY |
NOT_AVAILABLE |
OPTIONAL |
PARTLY |
UNKNOWN |
UNSPECIFIED |
| Modifier and Type | Method and Description |
|---|---|
static ReservationTypeEnum |
fromValue(String v) |
String |
value() |
static ReservationTypeEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ReservationTypeEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ReservationTypeEnum OPTIONAL
public static final ReservationTypeEnum MANDATORY
public static final ReservationTypeEnum NOT_AVAILABLE
public static final ReservationTypeEnum PARTLY
public static final ReservationTypeEnum UNKNOWN
public static final ReservationTypeEnum UNSPECIFIED
public static ReservationTypeEnum[] values()
for (ReservationTypeEnum c : ReservationTypeEnum.values()) System.out.println(c);
public static ReservationTypeEnum 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 ReservationTypeEnum fromValue(String v)
Copyright © 2014–2015 Centrum dopravního výzkumu, v.v.i.. All rights reserved.