Enum Class FareClassEnumeration

java.lang.Object
java.lang.Enum<FareClassEnumeration>
uk.org.netex.www.netex.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
  • Enum Constant Details

    • FARE_CLASS_ENUMERATION_UNSPECIFIED

      public static final FareClassEnumeration FARE_CLASS_ENUMERATION_UNSPECIFIED
       Default
       
      FARE_CLASS_ENUMERATION_UNSPECIFIED = 0;
    • FARE_CLASS_ENUMERATION_UNKNOWN

      public static final FareClassEnumeration 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

      public static final FareClassEnumeration 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

      public static final FareClassEnumeration 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

      public static final FareClassEnumeration 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

      public static final FareClassEnumeration 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

      public static final FareClassEnumeration 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

      public static final FareClassEnumeration 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

      public static final FareClassEnumeration 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

      public static final FareClassEnumeration 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

      public static final FareClassEnumeration 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

      public static final FareClassEnumeration FARE_CLASS_ENUMERATION_ANY
       [netex_framework/netex_reusableComponents/netex_serviceRestrictions_support.xsd at 151:34]
       
      FARE_CLASS_ENUMERATION_ANY = 11;
    • UNRECOGNIZED

      public static final FareClassEnumeration UNRECOGNIZED
  • Field Details

    • FARE_CLASS_ENUMERATION_UNSPECIFIED_VALUE

      public static final int FARE_CLASS_ENUMERATION_UNSPECIFIED_VALUE
       Default
       
      FARE_CLASS_ENUMERATION_UNSPECIFIED = 0;
      See Also:
    • FARE_CLASS_ENUMERATION_UNKNOWN_VALUE

      public static final int FARE_CLASS_ENUMERATION_UNKNOWN_VALUE
       pti23_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_VALUE
       pti23_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_VALUE
       pti23_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_VALUE
       pti23_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_VALUE
       pti23_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_VALUE
       Business 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_VALUE
       Standard 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_VALUE
       pti23_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

      public static FareClassEnumeration[] 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

      public static FareClassEnumeration valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • getNumber

      public final int getNumber()
      Specified by:
      getNumber in interface com.google.protobuf.Internal.EnumLite
      Specified by:
      getNumber in interface com.google.protobuf.ProtocolMessageEnum
    • valueOf

      @Deprecated public static FareClassEnumeration valueOf(int value)
      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 name
      NullPointerException - if the argument is null
    • forNumber

      public static FareClassEnumeration forNumber(int value)
      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<FareClassEnumeration> internalGetValueMap()
    • getValueDescriptor

      public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
      Specified by:
      getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnum
    • getDescriptorForType

      public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.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 name
      NullPointerException - if the argument is null