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