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