Package uk.org.netex.www.netex
Enum Class TariffBasisEnumeration
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<TariffBasisEnumeration>,Constable
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-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionTariff is for discount rates.Tariff is based on spatial distance.Tariff is flat, i.e. not based on spatial elements.Tariff is free to user.Tariff is based on size of group.Other Tariff Basis.Tariff is based on temporal durtaions, e.g minutes or days of travel.Tariff is based on specified point to point transitions.Tariff is based on specific routes, eg. for SERIES CONSTRAINTs.Tariff is based on a specific tour.[netex_part_3/part3_fares/netex_fareStructureElement_support.xsd at 119:42]DefaultTariff is based on use of specified zones.Tariff is based on specified zone to zone transitions. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intTariff is for discount rates.static final intTariff is based on spatial distance.static final intTariff is flat, i.e. not based on spatial elements.static final intTariff is free to user.static final intTariff is based on size of group.static final intOther Tariff Basis.static final intTariff is based on temporal durtaions, e.g minutes or days of travel.static final intTariff is based on specified point to point transitions.static final intTariff is based on specific routes, eg. for SERIES CONSTRAINTs.static final intTariff is based on a specific tour.static final int[netex_part_3/part3_fares/netex_fareStructureElement_support.xsd at 119:42]static final intDefaultstatic final intTariff is based on specified zone to zone transitions.static final intTariff is based on use of specified zones. -
Method Summary
Modifier and TypeMethodDescriptionstatic TariffBasisEnumerationforNumber(int value) static final com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<TariffBasisEnumeration> static TariffBasisEnumerationvalueOf(int value) Deprecated.static TariffBasisEnumerationvalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this class with the specified name.static TariffBasisEnumerationReturns the enum constant of this class with the specified name.static TariffBasisEnumeration[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
TARIFF_BASIS_ENUMERATION_UNSPECIFIED
Default
TARIFF_BASIS_ENUMERATION_UNSPECIFIED = 0; -
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
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
[netex_part_3/part3_fares/netex_fareStructureElement_support.xsd at 119:42]
TARIFF_BASIS_ENUMERATION_UNIT_SECTION = 3; -
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
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
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
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
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
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
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
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
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
Other Tariff Basis. [netex_part_3/part3_fares/netex_fareStructureElement_support.xsd at 165:35]
TARIFF_BASIS_ENUMERATION_OTHER = 13; -
UNRECOGNIZED
-
-
Field Details
-
TARIFF_BASIS_ENUMERATION_UNSPECIFIED_VALUE
public static final int TARIFF_BASIS_ENUMERATION_UNSPECIFIED_VALUEDefault
TARIFF_BASIS_ENUMERATION_UNSPECIFIED = 0;- See Also:
-
TARIFF_BASIS_ENUMERATION_FLAT_VALUE
public static final int TARIFF_BASIS_ENUMERATION_FLAT_VALUETariff 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_VALUETariff 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_VALUETariff 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_VALUETariff 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_VALUETariff 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_VALUETariff 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_VALUETariff 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_VALUETariff 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_VALUETariff 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_VALUETariff 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_VALUETariff 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_VALUEOther Tariff Basis. [netex_part_3/part3_fares/netex_fareStructureElement_support.xsd at 165:35]
TARIFF_BASIS_ENUMERATION_OTHER = 13;- 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<TariffBasisEnumeration> 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 final 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 nameNullPointerException- if the argument is null
-