Package uk.org.siri.siri10
Enum RefreshmentFacilityEnumeration
- java.lang.Object
-
- java.lang.Enum<RefreshmentFacilityEnumeration>
-
- uk.org.siri.siri10.RefreshmentFacilityEnumeration
-
- All Implemented Interfaces:
Serializable,Comparable<RefreshmentFacilityEnumeration>
public enum RefreshmentFacilityEnumeration extends Enum<RefreshmentFacilityEnumeration>
Java class for RefreshmentFacilityEnumeration.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="RefreshmentFacilityEnumeration"> <restriction base="{http://www.w3.org/2001/XMLSchema}NMTOKEN"> <enumeration value="unknown"/> <enumeration value="pti23_1"/> <enumeration value="restaurantService"/> <enumeration value="pti23_2"/> <enumeration value="snacksService"/> <enumeration value="pti23"/> <enumeration value="trolley"/> <enumeration value="pti23_18"/> <enumeration value="bar"/> <enumeration value="pti23_19"/> <enumeration value="foodNotAvailable"/> <enumeration value="pti23_20"/> <enumeration value="beveragesNotAvailable"/> <enumeration value="pti23_26"/> <enumeration value="bistro"/> </restriction> </simpleType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BARBEVERAGES_NOT_AVAILABLEBISTROFOOD_NOT_AVAILABLEPTI_23PTI_23_1PTI_23_18PTI_23_19PTI_23_2PTI_23_20PTI_23_26RESTAURANT_SERVICESNACKS_SERVICETROLLEYUNKNOWN
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static RefreshmentFacilityEnumerationfromValue(String v)Stringvalue()static RefreshmentFacilityEnumerationvalueOf(String name)Returns the enum constant of this type with the specified name.static RefreshmentFacilityEnumeration[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UNKNOWN
public static final RefreshmentFacilityEnumeration UNKNOWN
-
PTI_23_1
public static final RefreshmentFacilityEnumeration PTI_23_1
-
RESTAURANT_SERVICE
public static final RefreshmentFacilityEnumeration RESTAURANT_SERVICE
-
PTI_23_2
public static final RefreshmentFacilityEnumeration PTI_23_2
-
SNACKS_SERVICE
public static final RefreshmentFacilityEnumeration SNACKS_SERVICE
-
PTI_23
public static final RefreshmentFacilityEnumeration PTI_23
-
TROLLEY
public static final RefreshmentFacilityEnumeration TROLLEY
-
PTI_23_18
public static final RefreshmentFacilityEnumeration PTI_23_18
-
BAR
public static final RefreshmentFacilityEnumeration BAR
-
PTI_23_19
public static final RefreshmentFacilityEnumeration PTI_23_19
-
FOOD_NOT_AVAILABLE
public static final RefreshmentFacilityEnumeration FOOD_NOT_AVAILABLE
-
PTI_23_20
public static final RefreshmentFacilityEnumeration PTI_23_20
-
BEVERAGES_NOT_AVAILABLE
public static final RefreshmentFacilityEnumeration BEVERAGES_NOT_AVAILABLE
-
PTI_23_26
public static final RefreshmentFacilityEnumeration PTI_23_26
-
BISTRO
public static final RefreshmentFacilityEnumeration BISTRO
-
-
Method Detail
-
values
public static RefreshmentFacilityEnumeration[] 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 (RefreshmentFacilityEnumeration c : RefreshmentFacilityEnumeration.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static RefreshmentFacilityEnumeration 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 RefreshmentFacilityEnumeration fromValue(String v)
-
-