Package uk.org.netex.www.netex
Enum Class ReservationEnumeration
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<ReservationEnumeration>,Constable
@Generated
public enum ReservationEnumeration
extends Enum<ReservationEnumeration>
implements com.google.protobuf.ProtocolMessageEnum
Allowed values for Reservation. UIC 7037 Code list. [netex_framework/netex_reusableComponents/netex_serviceRestrictions_support.xsd at 155:48]Protobuf enum
uk.org.netex.www.netex.ReservationEnumeration-
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_serviceRestrictions_support.xsd at 173:60][netex_framework/netex_reusableComponents/netex_serviceRestrictions_support.xsd at 169:53][netex_framework/netex_reusableComponents/netex_serviceRestrictions_support.xsd at 170:46][netex_framework/netex_reusableComponents/netex_serviceRestrictions_support.xsd at 171:53][netex_framework/netex_reusableComponents/netex_serviceRestrictions_support.xsd at 160:53][netex_framework/netex_reusableComponents/netex_serviceRestrictions_support.xsd at 162:66][netex_framework/netex_reusableComponents/netex_serviceRestrictions_support.xsd at 161:62][netex_framework/netex_reusableComponents/netex_serviceRestrictions_support.xsd at 163:70][netex_framework/netex_reusableComponents/netex_serviceRestrictions_support.xsd at 165:51][netex_framework/netex_reusableComponents/netex_serviceRestrictions_support.xsd at 168:68][netex_framework/netex_reusableComponents/netex_serviceRestrictions_support.xsd at 166:67][netex_framework/netex_reusableComponents/netex_serviceRestrictions_support.xsd at 167:68][netex_framework/netex_reusableComponents/netex_serviceRestrictions_support.xsd at 164:54][netex_framework/netex_reusableComponents/netex_serviceRestrictions_support.xsd at 174:60][netex_framework/netex_reusableComponents/netex_serviceRestrictions_support.xsd at 175:38]Default[netex_framework/netex_reusableComponents/netex_serviceRestrictions_support.xsd at 172:57] -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int[netex_framework/netex_reusableComponents/netex_serviceRestrictions_support.xsd at 173:60]static final int[netex_framework/netex_reusableComponents/netex_serviceRestrictions_support.xsd at 169:53]static final int[netex_framework/netex_reusableComponents/netex_serviceRestrictions_support.xsd at 170:46]static final int[netex_framework/netex_reusableComponents/netex_serviceRestrictions_support.xsd at 171:53]static final int[netex_framework/netex_reusableComponents/netex_serviceRestrictions_support.xsd at 162:66]static final int[netex_framework/netex_reusableComponents/netex_serviceRestrictions_support.xsd at 161:62]static final int[netex_framework/netex_reusableComponents/netex_serviceRestrictions_support.xsd at 163:70]static final int[netex_framework/netex_reusableComponents/netex_serviceRestrictions_support.xsd at 160:53]static final int[netex_framework/netex_reusableComponents/netex_serviceRestrictions_support.xsd at 168:68]static final int[netex_framework/netex_reusableComponents/netex_serviceRestrictions_support.xsd at 166:67]static final int[netex_framework/netex_reusableComponents/netex_serviceRestrictions_support.xsd at 167:68]static final int[netex_framework/netex_reusableComponents/netex_serviceRestrictions_support.xsd at 165:51]static final int[netex_framework/netex_reusableComponents/netex_serviceRestrictions_support.xsd at 164:54]static final int[netex_framework/netex_reusableComponents/netex_serviceRestrictions_support.xsd at 174:60]static final int[netex_framework/netex_reusableComponents/netex_serviceRestrictions_support.xsd at 175:38]static final intDefaultstatic final int[netex_framework/netex_reusableComponents/netex_serviceRestrictions_support.xsd at 172:57] -
Method Summary
Modifier and TypeMethodDescriptionstatic ReservationEnumerationforNumber(int value) static com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<ReservationEnumeration> static ReservationEnumerationvalueOf(int value) Deprecated.static ReservationEnumerationvalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this class with the specified name.static ReservationEnumerationReturns the enum constant of this class with the specified name.static ReservationEnumeration[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
RESERVATION_ENUMERATION_UNSPECIFIED
Default
RESERVATION_ENUMERATION_UNSPECIFIED = 0; -
RESERVATION_ENUMERATION_RESERVATIONS_COMPULSORY
[netex_framework/netex_reusableComponents/netex_serviceRestrictions_support.xsd at 160:53]
RESERVATION_ENUMERATION_RESERVATIONS_COMPULSORY = 1; -
RESERVATION_ENUMERATION_RESERVATIONS_COMPULSORY_FOR_GROUPS
public static final ReservationEnumeration RESERVATION_ENUMERATION_RESERVATIONS_COMPULSORY_FOR_GROUPS[netex_framework/netex_reusableComponents/netex_serviceRestrictions_support.xsd at 161:62]
RESERVATION_ENUMERATION_RESERVATIONS_COMPULSORY_FOR_GROUPS = 2; -
RESERVATION_ENUMERATION_RESERVATIONS_COMPULSORY_FOR_FIRST_CLASS
public static final ReservationEnumeration RESERVATION_ENUMERATION_RESERVATIONS_COMPULSORY_FOR_FIRST_CLASS[netex_framework/netex_reusableComponents/netex_serviceRestrictions_support.xsd at 162:66]
RESERVATION_ENUMERATION_RESERVATIONS_COMPULSORY_FOR_FIRST_CLASS = 3; -
RESERVATION_ENUMERATION_RESERVATIONS_COMPULSORY_FROM_ORIGIN_STATION
public static final ReservationEnumeration RESERVATION_ENUMERATION_RESERVATIONS_COMPULSORY_FROM_ORIGIN_STATION[netex_framework/netex_reusableComponents/netex_serviceRestrictions_support.xsd at 163:70]
RESERVATION_ENUMERATION_RESERVATIONS_COMPULSORY_FROM_ORIGIN_STATION = 4; -
RESERVATION_ENUMERATION_RESERVATIONS_RECOMMENDED
[netex_framework/netex_reusableComponents/netex_serviceRestrictions_support.xsd at 164:54]
RESERVATION_ENUMERATION_RESERVATIONS_RECOMMENDED = 5; -
RESERVATION_ENUMERATION_RESERVATIONS_POSSIBLE
[netex_framework/netex_reusableComponents/netex_serviceRestrictions_support.xsd at 165:51]
RESERVATION_ENUMERATION_RESERVATIONS_POSSIBLE = 6; -
RESERVATION_ENUMERATION_RESERVATIONS_POSSIBLE_ONLY_IN_FIRST_CLASS
public static final ReservationEnumeration RESERVATION_ENUMERATION_RESERVATIONS_POSSIBLE_ONLY_IN_FIRST_CLASS[netex_framework/netex_reusableComponents/netex_serviceRestrictions_support.xsd at 166:67]
RESERVATION_ENUMERATION_RESERVATIONS_POSSIBLE_ONLY_IN_FIRST_CLASS = 7; -
RESERVATION_ENUMERATION_RESERVATIONS_POSSIBLE_ONLY_IN_SECOND_CLASS
public static final ReservationEnumeration RESERVATION_ENUMERATION_RESERVATIONS_POSSIBLE_ONLY_IN_SECOND_CLASS[netex_framework/netex_reusableComponents/netex_serviceRestrictions_support.xsd at 167:68]
RESERVATION_ENUMERATION_RESERVATIONS_POSSIBLE_ONLY_IN_SECOND_CLASS = 8; -
RESERVATION_ENUMERATION_RESERVATIONS_POSSIBLE_FOR_CERTAIN_CLASSES
public static final ReservationEnumeration RESERVATION_ENUMERATION_RESERVATIONS_POSSIBLE_FOR_CERTAIN_CLASSES[netex_framework/netex_reusableComponents/netex_serviceRestrictions_support.xsd at 168:68]
RESERVATION_ENUMERATION_RESERVATIONS_POSSIBLE_FOR_CERTAIN_CLASSES = 9; -
RESERVATION_ENUMERATION_GROUP_BOOKING_RESTRICTED
[netex_framework/netex_reusableComponents/netex_serviceRestrictions_support.xsd at 169:53]
RESERVATION_ENUMERATION_GROUP_BOOKING_RESTRICTED = 10; -
RESERVATION_ENUMERATION_NO_GROUPS_ALLOWED
[netex_framework/netex_reusableComponents/netex_serviceRestrictions_support.xsd at 170:46]
RESERVATION_ENUMERATION_NO_GROUPS_ALLOWED = 11; -
RESERVATION_ENUMERATION_NO_RESERVATIONS_POSSIBLE
[netex_framework/netex_reusableComponents/netex_serviceRestrictions_support.xsd at 171:53]
RESERVATION_ENUMERATION_NO_RESERVATIONS_POSSIBLE = 12; -
RESERVATION_ENUMERATION_WHEELCHAIR_ONLY_RESERVATIONS
[netex_framework/netex_reusableComponents/netex_serviceRestrictions_support.xsd at 172:57]
RESERVATION_ENUMERATION_WHEELCHAIR_ONLY_RESERVATIONS = 13; -
RESERVATION_ENUMERATION_BICYCLE_RESERVATIONS_COMPULSORY
[netex_framework/netex_reusableComponents/netex_serviceRestrictions_support.xsd at 173:60]
RESERVATION_ENUMERATION_BICYCLE_RESERVATIONS_COMPULSORY = 14; -
RESERVATION_ENUMERATION_RESERVATIONS_SUPPLEMENT_CHARGED
[netex_framework/netex_reusableComponents/netex_serviceRestrictions_support.xsd at 174:60]
RESERVATION_ENUMERATION_RESERVATIONS_SUPPLEMENT_CHARGED = 15; -
RESERVATION_ENUMERATION_UNKNOWN
[netex_framework/netex_reusableComponents/netex_serviceRestrictions_support.xsd at 175:38]
RESERVATION_ENUMERATION_UNKNOWN = 16; -
UNRECOGNIZED
-
-
Field Details
-
RESERVATION_ENUMERATION_UNSPECIFIED_VALUE
public static final int RESERVATION_ENUMERATION_UNSPECIFIED_VALUEDefault
RESERVATION_ENUMERATION_UNSPECIFIED = 0;- See Also:
-
RESERVATION_ENUMERATION_RESERVATIONS_COMPULSORY_VALUE
public static final int RESERVATION_ENUMERATION_RESERVATIONS_COMPULSORY_VALUE[netex_framework/netex_reusableComponents/netex_serviceRestrictions_support.xsd at 160:53]
RESERVATION_ENUMERATION_RESERVATIONS_COMPULSORY = 1;- See Also:
-
RESERVATION_ENUMERATION_RESERVATIONS_COMPULSORY_FOR_GROUPS_VALUE
public static final int RESERVATION_ENUMERATION_RESERVATIONS_COMPULSORY_FOR_GROUPS_VALUE[netex_framework/netex_reusableComponents/netex_serviceRestrictions_support.xsd at 161:62]
RESERVATION_ENUMERATION_RESERVATIONS_COMPULSORY_FOR_GROUPS = 2;- See Also:
-
RESERVATION_ENUMERATION_RESERVATIONS_COMPULSORY_FOR_FIRST_CLASS_VALUE
public static final int RESERVATION_ENUMERATION_RESERVATIONS_COMPULSORY_FOR_FIRST_CLASS_VALUE[netex_framework/netex_reusableComponents/netex_serviceRestrictions_support.xsd at 162:66]
RESERVATION_ENUMERATION_RESERVATIONS_COMPULSORY_FOR_FIRST_CLASS = 3;- See Also:
-
RESERVATION_ENUMERATION_RESERVATIONS_COMPULSORY_FROM_ORIGIN_STATION_VALUE
public static final int RESERVATION_ENUMERATION_RESERVATIONS_COMPULSORY_FROM_ORIGIN_STATION_VALUE[netex_framework/netex_reusableComponents/netex_serviceRestrictions_support.xsd at 163:70]
RESERVATION_ENUMERATION_RESERVATIONS_COMPULSORY_FROM_ORIGIN_STATION = 4;- See Also:
-
RESERVATION_ENUMERATION_RESERVATIONS_RECOMMENDED_VALUE
public static final int RESERVATION_ENUMERATION_RESERVATIONS_RECOMMENDED_VALUE[netex_framework/netex_reusableComponents/netex_serviceRestrictions_support.xsd at 164:54]
RESERVATION_ENUMERATION_RESERVATIONS_RECOMMENDED = 5;- See Also:
-
RESERVATION_ENUMERATION_RESERVATIONS_POSSIBLE_VALUE
public static final int RESERVATION_ENUMERATION_RESERVATIONS_POSSIBLE_VALUE[netex_framework/netex_reusableComponents/netex_serviceRestrictions_support.xsd at 165:51]
RESERVATION_ENUMERATION_RESERVATIONS_POSSIBLE = 6;- See Also:
-
RESERVATION_ENUMERATION_RESERVATIONS_POSSIBLE_ONLY_IN_FIRST_CLASS_VALUE
public static final int RESERVATION_ENUMERATION_RESERVATIONS_POSSIBLE_ONLY_IN_FIRST_CLASS_VALUE[netex_framework/netex_reusableComponents/netex_serviceRestrictions_support.xsd at 166:67]
RESERVATION_ENUMERATION_RESERVATIONS_POSSIBLE_ONLY_IN_FIRST_CLASS = 7;- See Also:
-
RESERVATION_ENUMERATION_RESERVATIONS_POSSIBLE_ONLY_IN_SECOND_CLASS_VALUE
public static final int RESERVATION_ENUMERATION_RESERVATIONS_POSSIBLE_ONLY_IN_SECOND_CLASS_VALUE[netex_framework/netex_reusableComponents/netex_serviceRestrictions_support.xsd at 167:68]
RESERVATION_ENUMERATION_RESERVATIONS_POSSIBLE_ONLY_IN_SECOND_CLASS = 8;- See Also:
-
RESERVATION_ENUMERATION_RESERVATIONS_POSSIBLE_FOR_CERTAIN_CLASSES_VALUE
public static final int RESERVATION_ENUMERATION_RESERVATIONS_POSSIBLE_FOR_CERTAIN_CLASSES_VALUE[netex_framework/netex_reusableComponents/netex_serviceRestrictions_support.xsd at 168:68]
RESERVATION_ENUMERATION_RESERVATIONS_POSSIBLE_FOR_CERTAIN_CLASSES = 9;- See Also:
-
RESERVATION_ENUMERATION_GROUP_BOOKING_RESTRICTED_VALUE
public static final int RESERVATION_ENUMERATION_GROUP_BOOKING_RESTRICTED_VALUE[netex_framework/netex_reusableComponents/netex_serviceRestrictions_support.xsd at 169:53]
RESERVATION_ENUMERATION_GROUP_BOOKING_RESTRICTED = 10;- See Also:
-
RESERVATION_ENUMERATION_NO_GROUPS_ALLOWED_VALUE
public static final int RESERVATION_ENUMERATION_NO_GROUPS_ALLOWED_VALUE[netex_framework/netex_reusableComponents/netex_serviceRestrictions_support.xsd at 170:46]
RESERVATION_ENUMERATION_NO_GROUPS_ALLOWED = 11;- See Also:
-
RESERVATION_ENUMERATION_NO_RESERVATIONS_POSSIBLE_VALUE
public static final int RESERVATION_ENUMERATION_NO_RESERVATIONS_POSSIBLE_VALUE[netex_framework/netex_reusableComponents/netex_serviceRestrictions_support.xsd at 171:53]
RESERVATION_ENUMERATION_NO_RESERVATIONS_POSSIBLE = 12;- See Also:
-
RESERVATION_ENUMERATION_WHEELCHAIR_ONLY_RESERVATIONS_VALUE
public static final int RESERVATION_ENUMERATION_WHEELCHAIR_ONLY_RESERVATIONS_VALUE[netex_framework/netex_reusableComponents/netex_serviceRestrictions_support.xsd at 172:57]
RESERVATION_ENUMERATION_WHEELCHAIR_ONLY_RESERVATIONS = 13;- See Also:
-
RESERVATION_ENUMERATION_BICYCLE_RESERVATIONS_COMPULSORY_VALUE
public static final int RESERVATION_ENUMERATION_BICYCLE_RESERVATIONS_COMPULSORY_VALUE[netex_framework/netex_reusableComponents/netex_serviceRestrictions_support.xsd at 173:60]
RESERVATION_ENUMERATION_BICYCLE_RESERVATIONS_COMPULSORY = 14;- See Also:
-
RESERVATION_ENUMERATION_RESERVATIONS_SUPPLEMENT_CHARGED_VALUE
public static final int RESERVATION_ENUMERATION_RESERVATIONS_SUPPLEMENT_CHARGED_VALUE[netex_framework/netex_reusableComponents/netex_serviceRestrictions_support.xsd at 174:60]
RESERVATION_ENUMERATION_RESERVATIONS_SUPPLEMENT_CHARGED = 15;- See Also:
-
RESERVATION_ENUMERATION_UNKNOWN_VALUE
public static final int RESERVATION_ENUMERATION_UNKNOWN_VALUE[netex_framework/netex_reusableComponents/netex_serviceRestrictions_support.xsd at 175:38]
RESERVATION_ENUMERATION_UNKNOWN = 16;- 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<ReservationEnumeration> 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 com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() -
valueOf
public static ReservationEnumeration 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
-