Enum Class FareBasisEnumeration

java.lang.Object
java.lang.Enum<FareBasisEnumeration>
uk.org.netex.www.netex.FareBasisEnumeration
All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite, com.google.protobuf.ProtocolMessageEnum, Serializable, Comparable<FareBasisEnumeration>, Constable

@Generated public enum FareBasisEnumeration extends Enum<FareBasisEnumeration> implements com.google.protobuf.ProtocolMessageEnum
 Allowed values for Fare Basis.  [netex_part_3/part3_fares/netex_fareSeries_support.xsd at 119:46]
 
Protobuf enum uk.org.netex.www.netex.FareBasisEnumeration
  • Enum Constant Details

    • FARE_BASIS_ENUMERATION_UNSPECIFIED

      public static final FareBasisEnumeration FARE_BASIS_ENUMERATION_UNSPECIFIED
       Default
       
      FARE_BASIS_ENUMERATION_UNSPECIFIED = 0;
    • FARE_BASIS_ENUMERATION_ROUTE

      public static final FareBasisEnumeration FARE_BASIS_ENUMERATION_ROUTE
       [netex_part_3/part3_fares/netex_fareSeries_support.xsd at 124:36]
       
      FARE_BASIS_ENUMERATION_ROUTE = 1;
    • FARE_BASIS_ENUMERATION_DISTANCE

      public static final FareBasisEnumeration FARE_BASIS_ENUMERATION_DISTANCE
       [netex_part_3/part3_fares/netex_fareSeries_support.xsd at 125:39]
       
      FARE_BASIS_ENUMERATION_DISTANCE = 2;
    • UNRECOGNIZED

      public static final FareBasisEnumeration UNRECOGNIZED
  • Field Details

    • FARE_BASIS_ENUMERATION_UNSPECIFIED_VALUE

      public static final int FARE_BASIS_ENUMERATION_UNSPECIFIED_VALUE
       Default
       
      FARE_BASIS_ENUMERATION_UNSPECIFIED = 0;
      See Also:
    • FARE_BASIS_ENUMERATION_ROUTE_VALUE

      public static final int FARE_BASIS_ENUMERATION_ROUTE_VALUE
       [netex_part_3/part3_fares/netex_fareSeries_support.xsd at 124:36]
       
      FARE_BASIS_ENUMERATION_ROUTE = 1;
      See Also:
    • FARE_BASIS_ENUMERATION_DISTANCE_VALUE

      public static final int FARE_BASIS_ENUMERATION_DISTANCE_VALUE
       [netex_part_3/part3_fares/netex_fareSeries_support.xsd at 125:39]
       
      FARE_BASIS_ENUMERATION_DISTANCE = 2;
      See Also:
  • Method Details

    • values

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