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