Package uk.org.siri.siri13
Enum LuggageFacilityEnumeration
- java.lang.Object
-
- java.lang.Enum<LuggageFacilityEnumeration>
-
- uk.org.siri.siri13.LuggageFacilityEnumeration
-
- All Implemented Interfaces:
Serializable,Comparable<LuggageFacilityEnumeration>
public enum LuggageFacilityEnumeration extends Enum<LuggageFacilityEnumeration>
Java class for LuggageFacilityEnumeration.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="LuggageFacilityEnumeration"> <restriction base="{http://www.w3.org/2001/XMLSchema}NMTOKEN"> <enumeration value="unknown"/> <enumeration value="pti23_17"/> <enumeration value="bikeCarriage"/> <enumeration value="baggageStorage"/> <enumeration value="leftLuggage"/> <enumeration value="porterage"/> <enumeration value="baggageTrolleys"/> </restriction> </simpleType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BAGGAGE_STORAGEBAGGAGE_TROLLEYSBIKE_CARRIAGELEFT_LUGGAGEPORTERAGEPTI_23_17UNKNOWN
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static LuggageFacilityEnumerationfromValue(String v)Stringvalue()static LuggageFacilityEnumerationvalueOf(String name)Returns the enum constant of this type with the specified name.static LuggageFacilityEnumeration[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UNKNOWN
public static final LuggageFacilityEnumeration UNKNOWN
-
PTI_23_17
public static final LuggageFacilityEnumeration PTI_23_17
-
BIKE_CARRIAGE
public static final LuggageFacilityEnumeration BIKE_CARRIAGE
-
BAGGAGE_STORAGE
public static final LuggageFacilityEnumeration BAGGAGE_STORAGE
-
LEFT_LUGGAGE
public static final LuggageFacilityEnumeration LEFT_LUGGAGE
-
PORTERAGE
public static final LuggageFacilityEnumeration PORTERAGE
-
BAGGAGE_TROLLEYS
public static final LuggageFacilityEnumeration BAGGAGE_TROLLEYS
-
-
Method Detail
-
values
public static LuggageFacilityEnumeration[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (LuggageFacilityEnumeration c : LuggageFacilityEnumeration.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static LuggageFacilityEnumeration valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
value
public String value()
-
fromValue
public static LuggageFacilityEnumeration fromValue(String v)
-
-