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