Package uk.org.netex.www.netex
Enum Class MealFacilityEnumeration
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<MealFacilityEnumeration>,Constable
public enum MealFacilityEnumeration
extends Enum<MealFacilityEnumeration>
implements com.google.protobuf.ProtocolMessageEnum
Allowed values for Meal Facility. [netex_framework/netex_reusableComponents/netex_facility_support.xsd at 470:49]Protobuf enum
uk.org.netex.www.netex.MealFacilityEnumeration-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescription[netex_framework/netex_reusableComponents/netex_facility_support.xsd at 475:40][netex_framework/netex_reusableComponents/netex_facility_support.xsd at 477:37][netex_framework/netex_reusableComponents/netex_facility_support.xsd at 479:37][netex_framework/netex_reusableComponents/netex_facility_support.xsd at 476:36][netex_framework/netex_reusableComponents/netex_facility_support.xsd at 478:36]Default -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int[netex_framework/netex_reusableComponents/netex_facility_support.xsd at 475:40]static final int[netex_framework/netex_reusableComponents/netex_facility_support.xsd at 477:37]static final int[netex_framework/netex_reusableComponents/netex_facility_support.xsd at 479:37]static final int[netex_framework/netex_reusableComponents/netex_facility_support.xsd at 476:36]static final int[netex_framework/netex_reusableComponents/netex_facility_support.xsd at 478:36]static final intDefault -
Method Summary
Modifier and TypeMethodDescriptionstatic MealFacilityEnumerationforNumber(int value) static final com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<MealFacilityEnumeration> static MealFacilityEnumerationvalueOf(int value) Deprecated.static MealFacilityEnumerationvalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this class with the specified name.static MealFacilityEnumerationReturns the enum constant of this class with the specified name.static MealFacilityEnumeration[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
MEAL_FACILITY_ENUMERATION_UNSPECIFIED
Default
MEAL_FACILITY_ENUMERATION_UNSPECIFIED = 0; -
MEAL_FACILITY_ENUMERATION_BREAKFAST
[netex_framework/netex_reusableComponents/netex_facility_support.xsd at 475:40]
MEAL_FACILITY_ENUMERATION_BREAKFAST = 1; -
MEAL_FACILITY_ENUMERATION_LUNCH
[netex_framework/netex_reusableComponents/netex_facility_support.xsd at 476:36]
MEAL_FACILITY_ENUMERATION_LUNCH = 2; -
MEAL_FACILITY_ENUMERATION_DINNER
[netex_framework/netex_reusableComponents/netex_facility_support.xsd at 477:37]
MEAL_FACILITY_ENUMERATION_DINNER = 3; -
MEAL_FACILITY_ENUMERATION_SNACK
[netex_framework/netex_reusableComponents/netex_facility_support.xsd at 478:36]
MEAL_FACILITY_ENUMERATION_SNACK = 4; -
MEAL_FACILITY_ENUMERATION_DRINKS
[netex_framework/netex_reusableComponents/netex_facility_support.xsd at 479:37]
MEAL_FACILITY_ENUMERATION_DRINKS = 5; -
UNRECOGNIZED
-
-
Field Details
-
MEAL_FACILITY_ENUMERATION_UNSPECIFIED_VALUE
public static final int MEAL_FACILITY_ENUMERATION_UNSPECIFIED_VALUEDefault
MEAL_FACILITY_ENUMERATION_UNSPECIFIED = 0;- See Also:
-
MEAL_FACILITY_ENUMERATION_BREAKFAST_VALUE
public static final int MEAL_FACILITY_ENUMERATION_BREAKFAST_VALUE[netex_framework/netex_reusableComponents/netex_facility_support.xsd at 475:40]
MEAL_FACILITY_ENUMERATION_BREAKFAST = 1;- See Also:
-
MEAL_FACILITY_ENUMERATION_LUNCH_VALUE
public static final int MEAL_FACILITY_ENUMERATION_LUNCH_VALUE[netex_framework/netex_reusableComponents/netex_facility_support.xsd at 476:36]
MEAL_FACILITY_ENUMERATION_LUNCH = 2;- See Also:
-
MEAL_FACILITY_ENUMERATION_DINNER_VALUE
public static final int MEAL_FACILITY_ENUMERATION_DINNER_VALUE[netex_framework/netex_reusableComponents/netex_facility_support.xsd at 477:37]
MEAL_FACILITY_ENUMERATION_DINNER = 3;- See Also:
-
MEAL_FACILITY_ENUMERATION_SNACK_VALUE
public static final int MEAL_FACILITY_ENUMERATION_SNACK_VALUE[netex_framework/netex_reusableComponents/netex_facility_support.xsd at 478:36]
MEAL_FACILITY_ENUMERATION_SNACK = 4;- See Also:
-
MEAL_FACILITY_ENUMERATION_DRINKS_VALUE
public static final int MEAL_FACILITY_ENUMERATION_DRINKS_VALUE[netex_framework/netex_reusableComponents/netex_facility_support.xsd at 479:37]
MEAL_FACILITY_ENUMERATION_DRINKS = 5;- See Also:
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-
getNumber
public final int getNumber()- Specified by:
getNumberin interfacecom.google.protobuf.Internal.EnumLite- Specified by:
getNumberin interfacecom.google.protobuf.ProtocolMessageEnum
-
valueOf
Deprecated.Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
value- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
forNumber
- Parameters:
value- The numeric wire value of the corresponding enum entry.- Returns:
- The enum associated with the given numeric wire value.
-
internalGetValueMap
public static com.google.protobuf.Internal.EnumLiteMap<MealFacilityEnumeration> internalGetValueMap() -
getValueDescriptor
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()- Specified by:
getValueDescriptorin interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptor
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() -
valueOf
public static MealFacilityEnumeration valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
desc- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-