Package uk.org.netex.www.netex
Enum Class FareClassEnumeration
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<FareClassEnumeration>,Constable
@Generated
public enum FareClassEnumeration
extends Enum<FareClassEnumeration>
implements com.google.protobuf.ProtocolMessageEnum
Values for Fare Class Facility. [netex_framework/netex_reusableComponents/netex_serviceRestrictions_support.xsd at 104:46]Protobuf enum
uk.org.netex.www.netex.FareClassEnumeration-
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 151:34]Business Class - pti23_10 [netex_framework/netex_reusableComponents/netex_serviceRestrictions_support.xsd at 135:43]pti23_9 [netex_framework/netex_reusableComponents/netex_serviceRestrictions_support.xsd at 146:42]pti23_6 [netex_framework/netex_reusableComponents/netex_serviceRestrictions_support.xsd at 114:40][netex_framework/netex_reusableComponents/netex_serviceRestrictions_support.xsd at 129:41]pti23_6_1 [netex_framework/netex_reusableComponents/netex_serviceRestrictions_support.xsd at 130:42]pti23_7 [netex_framework/netex_reusableComponents/netex_serviceRestrictions_support.xsd at 119:41]Standard class Add pti23_7 [netex_framework/netex_reusableComponents/netex_serviceRestrictions_support.xsd at 140:43]pti23_8 [netex_framework/netex_reusableComponents/netex_serviceRestrictions_support.xsd at 124:40][netex_framework/netex_reusableComponents/netex_serviceRestrictions_support.xsd at 145:38]pti23_0 [netex_framework/netex_reusableComponents/netex_serviceRestrictions_support.xsd at 109:37]Default -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int[netex_framework/netex_reusableComponents/netex_serviceRestrictions_support.xsd at 151:34]static final intBusiness Class - pti23_10 [netex_framework/netex_reusableComponents/netex_serviceRestrictions_support.xsd at 135:43]static final intpti23_9 [netex_framework/netex_reusableComponents/netex_serviceRestrictions_support.xsd at 146:42]static final intpti23_6 [netex_framework/netex_reusableComponents/netex_serviceRestrictions_support.xsd at 114:40]static final int[netex_framework/netex_reusableComponents/netex_serviceRestrictions_support.xsd at 129:41]static final intpti23_6_1 [netex_framework/netex_reusableComponents/netex_serviceRestrictions_support.xsd at 130:42]static final intpti23_7 [netex_framework/netex_reusableComponents/netex_serviceRestrictions_support.xsd at 119:41]static final intStandard class Add pti23_7 [netex_framework/netex_reusableComponents/netex_serviceRestrictions_support.xsd at 140:43]static final intpti23_8 [netex_framework/netex_reusableComponents/netex_serviceRestrictions_support.xsd at 124:40]static final int[netex_framework/netex_reusableComponents/netex_serviceRestrictions_support.xsd at 145:38]static final intpti23_0 [netex_framework/netex_reusableComponents/netex_serviceRestrictions_support.xsd at 109:37]static final intDefault -
Method Summary
Modifier and TypeMethodDescriptionstatic FareClassEnumerationforNumber(int value) static com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<FareClassEnumeration> static FareClassEnumerationvalueOf(int value) Deprecated.static FareClassEnumerationvalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this class with the specified name.static FareClassEnumerationReturns the enum constant of this class with the specified name.static FareClassEnumeration[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
FARE_CLASS_ENUMERATION_UNSPECIFIED
Default
FARE_CLASS_ENUMERATION_UNSPECIFIED = 0; -
FARE_CLASS_ENUMERATION_UNKNOWN
pti23_0 [netex_framework/netex_reusableComponents/netex_serviceRestrictions_support.xsd at 109:37]
FARE_CLASS_ENUMERATION_UNKNOWN = 1; -
FARE_CLASS_ENUMERATION_FIRST_CLASS
pti23_6 [netex_framework/netex_reusableComponents/netex_serviceRestrictions_support.xsd at 114:40]
FARE_CLASS_ENUMERATION_FIRST_CLASS = 2; -
FARE_CLASS_ENUMERATION_SECOND_CLASS
pti23_7 [netex_framework/netex_reusableComponents/netex_serviceRestrictions_support.xsd at 119:41]
FARE_CLASS_ENUMERATION_SECOND_CLASS = 3; -
FARE_CLASS_ENUMERATION_THIRD_CLASS
pti23_8 [netex_framework/netex_reusableComponents/netex_serviceRestrictions_support.xsd at 124:40]
FARE_CLASS_ENUMERATION_THIRD_CLASS = 4; -
FARE_CLASS_ENUMERATION_PREFERENTE
[netex_framework/netex_reusableComponents/netex_serviceRestrictions_support.xsd at 129:41]
FARE_CLASS_ENUMERATION_PREFERENTE = 5; -
FARE_CLASS_ENUMERATION_PREMIUM_CLASS
pti23_6_1 [netex_framework/netex_reusableComponents/netex_serviceRestrictions_support.xsd at 130:42]
FARE_CLASS_ENUMERATION_PREMIUM_CLASS = 6; -
FARE_CLASS_ENUMERATION_BUSINESS_CLASS
Business Class - pti23_10 [netex_framework/netex_reusableComponents/netex_serviceRestrictions_support.xsd at 135:43]
FARE_CLASS_ENUMERATION_BUSINESS_CLASS = 7; -
FARE_CLASS_ENUMERATION_STANDARD_CLASS
Standard class Add pti23_7 [netex_framework/netex_reusableComponents/netex_serviceRestrictions_support.xsd at 140:43]
FARE_CLASS_ENUMERATION_STANDARD_CLASS = 8; -
FARE_CLASS_ENUMERATION_TURISTA
[netex_framework/netex_reusableComponents/netex_serviceRestrictions_support.xsd at 145:38]
FARE_CLASS_ENUMERATION_TURISTA = 9; -
FARE_CLASS_ENUMERATION_ECONOMY_CLASS
pti23_9 [netex_framework/netex_reusableComponents/netex_serviceRestrictions_support.xsd at 146:42]
FARE_CLASS_ENUMERATION_ECONOMY_CLASS = 10; -
FARE_CLASS_ENUMERATION_ANY
[netex_framework/netex_reusableComponents/netex_serviceRestrictions_support.xsd at 151:34]
FARE_CLASS_ENUMERATION_ANY = 11; -
UNRECOGNIZED
-
-
Field Details
-
FARE_CLASS_ENUMERATION_UNSPECIFIED_VALUE
public static final int FARE_CLASS_ENUMERATION_UNSPECIFIED_VALUEDefault
FARE_CLASS_ENUMERATION_UNSPECIFIED = 0;- See Also:
-
FARE_CLASS_ENUMERATION_UNKNOWN_VALUE
public static final int FARE_CLASS_ENUMERATION_UNKNOWN_VALUEpti23_0 [netex_framework/netex_reusableComponents/netex_serviceRestrictions_support.xsd at 109:37]
FARE_CLASS_ENUMERATION_UNKNOWN = 1;- See Also:
-
FARE_CLASS_ENUMERATION_FIRST_CLASS_VALUE
public static final int FARE_CLASS_ENUMERATION_FIRST_CLASS_VALUEpti23_6 [netex_framework/netex_reusableComponents/netex_serviceRestrictions_support.xsd at 114:40]
FARE_CLASS_ENUMERATION_FIRST_CLASS = 2;- See Also:
-
FARE_CLASS_ENUMERATION_SECOND_CLASS_VALUE
public static final int FARE_CLASS_ENUMERATION_SECOND_CLASS_VALUEpti23_7 [netex_framework/netex_reusableComponents/netex_serviceRestrictions_support.xsd at 119:41]
FARE_CLASS_ENUMERATION_SECOND_CLASS = 3;- See Also:
-
FARE_CLASS_ENUMERATION_THIRD_CLASS_VALUE
public static final int FARE_CLASS_ENUMERATION_THIRD_CLASS_VALUEpti23_8 [netex_framework/netex_reusableComponents/netex_serviceRestrictions_support.xsd at 124:40]
FARE_CLASS_ENUMERATION_THIRD_CLASS = 4;- See Also:
-
FARE_CLASS_ENUMERATION_PREFERENTE_VALUE
public static final int FARE_CLASS_ENUMERATION_PREFERENTE_VALUE[netex_framework/netex_reusableComponents/netex_serviceRestrictions_support.xsd at 129:41]
FARE_CLASS_ENUMERATION_PREFERENTE = 5;- See Also:
-
FARE_CLASS_ENUMERATION_PREMIUM_CLASS_VALUE
public static final int FARE_CLASS_ENUMERATION_PREMIUM_CLASS_VALUEpti23_6_1 [netex_framework/netex_reusableComponents/netex_serviceRestrictions_support.xsd at 130:42]
FARE_CLASS_ENUMERATION_PREMIUM_CLASS = 6;- See Also:
-
FARE_CLASS_ENUMERATION_BUSINESS_CLASS_VALUE
public static final int FARE_CLASS_ENUMERATION_BUSINESS_CLASS_VALUEBusiness Class - pti23_10 [netex_framework/netex_reusableComponents/netex_serviceRestrictions_support.xsd at 135:43]
FARE_CLASS_ENUMERATION_BUSINESS_CLASS = 7;- See Also:
-
FARE_CLASS_ENUMERATION_STANDARD_CLASS_VALUE
public static final int FARE_CLASS_ENUMERATION_STANDARD_CLASS_VALUEStandard class Add pti23_7 [netex_framework/netex_reusableComponents/netex_serviceRestrictions_support.xsd at 140:43]
FARE_CLASS_ENUMERATION_STANDARD_CLASS = 8;- See Also:
-
FARE_CLASS_ENUMERATION_TURISTA_VALUE
public static final int FARE_CLASS_ENUMERATION_TURISTA_VALUE[netex_framework/netex_reusableComponents/netex_serviceRestrictions_support.xsd at 145:38]
FARE_CLASS_ENUMERATION_TURISTA = 9;- See Also:
-
FARE_CLASS_ENUMERATION_ECONOMY_CLASS_VALUE
public static final int FARE_CLASS_ENUMERATION_ECONOMY_CLASS_VALUEpti23_9 [netex_framework/netex_reusableComponents/netex_serviceRestrictions_support.xsd at 146:42]
FARE_CLASS_ENUMERATION_ECONOMY_CLASS = 10;- See Also:
-
FARE_CLASS_ENUMERATION_ANY_VALUE
public static final int FARE_CLASS_ENUMERATION_ANY_VALUE[netex_framework/netex_reusableComponents/netex_serviceRestrictions_support.xsd at 151:34]
FARE_CLASS_ENUMERATION_ANY = 11;- 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
-
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 FareClassEnumeration 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
-