Enum Class TariffBasisEnumeration

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

@Generated public enum TariffBasisEnumeration extends Enum<TariffBasisEnumeration> implements com.google.protobuf.ProtocolMessageEnum
 Allowed values for TariffBasis.  [netex_part_3/part3_fares/netex_fareStructureElement_support.xsd at 104:48]
 
Protobuf enum uk.org.netex.www.netex.TariffBasisEnumeration
  • Enum Constant Details

    • TARIFF_BASIS_ENUMERATION_UNSPECIFIED

      public static final TariffBasisEnumeration TARIFF_BASIS_ENUMERATION_UNSPECIFIED
       Default
       
      TARIFF_BASIS_ENUMERATION_UNSPECIFIED = 0;
    • TARIFF_BASIS_ENUMERATION_FLAT

      public static final TariffBasisEnumeration TARIFF_BASIS_ENUMERATION_FLAT
       Tariff is flat, i.e. not based on spatial elements.  [netex_part_3/part3_fares/netex_fareStructureElement_support.xsd at 109:34]
       
      TARIFF_BASIS_ENUMERATION_FLAT = 1;
    • TARIFF_BASIS_ENUMERATION_DISTANCE

      public static final TariffBasisEnumeration TARIFF_BASIS_ENUMERATION_DISTANCE
       Tariff is based on spatial distance.  [netex_part_3/part3_fares/netex_fareStructureElement_support.xsd at 114:38]
       
      TARIFF_BASIS_ENUMERATION_DISTANCE = 2;
    • TARIFF_BASIS_ENUMERATION_UNIT_SECTION

      public static final TariffBasisEnumeration TARIFF_BASIS_ENUMERATION_UNIT_SECTION
       [netex_part_3/part3_fares/netex_fareStructureElement_support.xsd at 119:42]
       
      TARIFF_BASIS_ENUMERATION_UNIT_SECTION = 3;
    • TARIFF_BASIS_ENUMERATION_ZONE

      public static final TariffBasisEnumeration TARIFF_BASIS_ENUMERATION_ZONE
       Tariff is based on use of specified zones.  [netex_part_3/part3_fares/netex_fareStructureElement_support.xsd at 120:34]
       
      TARIFF_BASIS_ENUMERATION_ZONE = 4;
    • TARIFF_BASIS_ENUMERATION_ZONE_TO_ZONE

      public static final TariffBasisEnumeration TARIFF_BASIS_ENUMERATION_ZONE_TO_ZONE
       Tariff is based on specified zone to zone transitions.  [netex_part_3/part3_fares/netex_fareStructureElement_support.xsd at 125:40]
       
      TARIFF_BASIS_ENUMERATION_ZONE_TO_ZONE = 5;
    • TARIFF_BASIS_ENUMERATION_POINT_TO_POINT

      public static final TariffBasisEnumeration TARIFF_BASIS_ENUMERATION_POINT_TO_POINT
       Tariff is based on specified point to point transitions.  [netex_part_3/part3_fares/netex_fareStructureElement_support.xsd at 130:42]
       
      TARIFF_BASIS_ENUMERATION_POINT_TO_POINT = 6;
    • TARIFF_BASIS_ENUMERATION_ROUTE

      public static final TariffBasisEnumeration TARIFF_BASIS_ENUMERATION_ROUTE
       Tariff is based on specific routes, eg. for SERIES CONSTRAINTs.  [netex_part_3/part3_fares/netex_fareStructureElement_support.xsd at 135:35]
       
      TARIFF_BASIS_ENUMERATION_ROUTE = 7;
    • TARIFF_BASIS_ENUMERATION_TOUR

      public static final TariffBasisEnumeration TARIFF_BASIS_ENUMERATION_TOUR
       Tariff is based on a specific tour.  [netex_part_3/part3_fares/netex_fareStructureElement_support.xsd at 140:34]
       
      TARIFF_BASIS_ENUMERATION_TOUR = 8;
    • TARIFF_BASIS_ENUMERATION_GROUP

      public static final TariffBasisEnumeration TARIFF_BASIS_ENUMERATION_GROUP
       Tariff is based on size of group.  [netex_part_3/part3_fares/netex_fareStructureElement_support.xsd at 145:35]
       
      TARIFF_BASIS_ENUMERATION_GROUP = 9;
    • TARIFF_BASIS_ENUMERATION_DISCOUNT

      public static final TariffBasisEnumeration TARIFF_BASIS_ENUMERATION_DISCOUNT
       Tariff is for discount rates.  [netex_part_3/part3_fares/netex_fareStructureElement_support.xsd at 150:38]
       
      TARIFF_BASIS_ENUMERATION_DISCOUNT = 10;
    • TARIFF_BASIS_ENUMERATION_PERIOD

      public static final TariffBasisEnumeration TARIFF_BASIS_ENUMERATION_PERIOD
       Tariff is based on temporal durtaions, e.g minutes or days of travel.  [netex_part_3/part3_fares/netex_fareStructureElement_support.xsd at 155:36]
       
      TARIFF_BASIS_ENUMERATION_PERIOD = 11;
    • TARIFF_BASIS_ENUMERATION_FREE

      public static final TariffBasisEnumeration TARIFF_BASIS_ENUMERATION_FREE
       Tariff is free to user.  [netex_part_3/part3_fares/netex_fareStructureElement_support.xsd at 160:34]
       
      TARIFF_BASIS_ENUMERATION_FREE = 12;
    • TARIFF_BASIS_ENUMERATION_OTHER

      public static final TariffBasisEnumeration TARIFF_BASIS_ENUMERATION_OTHER
       Other Tariff Basis.  [netex_part_3/part3_fares/netex_fareStructureElement_support.xsd at 165:35]
       
      TARIFF_BASIS_ENUMERATION_OTHER = 13;
    • UNRECOGNIZED

      public static final TariffBasisEnumeration UNRECOGNIZED
  • Field Details

    • TARIFF_BASIS_ENUMERATION_UNSPECIFIED_VALUE

      public static final int TARIFF_BASIS_ENUMERATION_UNSPECIFIED_VALUE
       Default
       
      TARIFF_BASIS_ENUMERATION_UNSPECIFIED = 0;
      See Also:
    • TARIFF_BASIS_ENUMERATION_FLAT_VALUE

      public static final int TARIFF_BASIS_ENUMERATION_FLAT_VALUE
       Tariff is flat, i.e. not based on spatial elements.  [netex_part_3/part3_fares/netex_fareStructureElement_support.xsd at 109:34]
       
      TARIFF_BASIS_ENUMERATION_FLAT = 1;
      See Also:
    • TARIFF_BASIS_ENUMERATION_DISTANCE_VALUE

      public static final int TARIFF_BASIS_ENUMERATION_DISTANCE_VALUE
       Tariff is based on spatial distance.  [netex_part_3/part3_fares/netex_fareStructureElement_support.xsd at 114:38]
       
      TARIFF_BASIS_ENUMERATION_DISTANCE = 2;
      See Also:
    • TARIFF_BASIS_ENUMERATION_UNIT_SECTION_VALUE

      public static final int TARIFF_BASIS_ENUMERATION_UNIT_SECTION_VALUE
       [netex_part_3/part3_fares/netex_fareStructureElement_support.xsd at 119:42]
       
      TARIFF_BASIS_ENUMERATION_UNIT_SECTION = 3;
      See Also:
    • TARIFF_BASIS_ENUMERATION_ZONE_VALUE

      public static final int TARIFF_BASIS_ENUMERATION_ZONE_VALUE
       Tariff is based on use of specified zones.  [netex_part_3/part3_fares/netex_fareStructureElement_support.xsd at 120:34]
       
      TARIFF_BASIS_ENUMERATION_ZONE = 4;
      See Also:
    • TARIFF_BASIS_ENUMERATION_ZONE_TO_ZONE_VALUE

      public static final int TARIFF_BASIS_ENUMERATION_ZONE_TO_ZONE_VALUE
       Tariff is based on specified zone to zone transitions.  [netex_part_3/part3_fares/netex_fareStructureElement_support.xsd at 125:40]
       
      TARIFF_BASIS_ENUMERATION_ZONE_TO_ZONE = 5;
      See Also:
    • TARIFF_BASIS_ENUMERATION_POINT_TO_POINT_VALUE

      public static final int TARIFF_BASIS_ENUMERATION_POINT_TO_POINT_VALUE
       Tariff is based on specified point to point transitions.  [netex_part_3/part3_fares/netex_fareStructureElement_support.xsd at 130:42]
       
      TARIFF_BASIS_ENUMERATION_POINT_TO_POINT = 6;
      See Also:
    • TARIFF_BASIS_ENUMERATION_ROUTE_VALUE

      public static final int TARIFF_BASIS_ENUMERATION_ROUTE_VALUE
       Tariff is based on specific routes, eg. for SERIES CONSTRAINTs.  [netex_part_3/part3_fares/netex_fareStructureElement_support.xsd at 135:35]
       
      TARIFF_BASIS_ENUMERATION_ROUTE = 7;
      See Also:
    • TARIFF_BASIS_ENUMERATION_TOUR_VALUE

      public static final int TARIFF_BASIS_ENUMERATION_TOUR_VALUE
       Tariff is based on a specific tour.  [netex_part_3/part3_fares/netex_fareStructureElement_support.xsd at 140:34]
       
      TARIFF_BASIS_ENUMERATION_TOUR = 8;
      See Also:
    • TARIFF_BASIS_ENUMERATION_GROUP_VALUE

      public static final int TARIFF_BASIS_ENUMERATION_GROUP_VALUE
       Tariff is based on size of group.  [netex_part_3/part3_fares/netex_fareStructureElement_support.xsd at 145:35]
       
      TARIFF_BASIS_ENUMERATION_GROUP = 9;
      See Also:
    • TARIFF_BASIS_ENUMERATION_DISCOUNT_VALUE

      public static final int TARIFF_BASIS_ENUMERATION_DISCOUNT_VALUE
       Tariff is for discount rates.  [netex_part_3/part3_fares/netex_fareStructureElement_support.xsd at 150:38]
       
      TARIFF_BASIS_ENUMERATION_DISCOUNT = 10;
      See Also:
    • TARIFF_BASIS_ENUMERATION_PERIOD_VALUE

      public static final int TARIFF_BASIS_ENUMERATION_PERIOD_VALUE
       Tariff is based on temporal durtaions, e.g minutes or days of travel.  [netex_part_3/part3_fares/netex_fareStructureElement_support.xsd at 155:36]
       
      TARIFF_BASIS_ENUMERATION_PERIOD = 11;
      See Also:
    • TARIFF_BASIS_ENUMERATION_FREE_VALUE

      public static final int TARIFF_BASIS_ENUMERATION_FREE_VALUE
       Tariff is free to user.  [netex_part_3/part3_fares/netex_fareStructureElement_support.xsd at 160:34]
       
      TARIFF_BASIS_ENUMERATION_FREE = 12;
      See Also:
    • TARIFF_BASIS_ENUMERATION_OTHER_VALUE

      public static final int TARIFF_BASIS_ENUMERATION_OTHER_VALUE
       Other Tariff Basis.  [netex_part_3/part3_fares/netex_fareStructureElement_support.xsd at 165:35]
       
      TARIFF_BASIS_ENUMERATION_OTHER = 13;
      See Also:
  • Method Details

    • values

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