Package uk.org.netex.www.netex
Enum Class JourneyAccountingEnumeration
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<JourneyAccountingEnumeration>,Constable
@Generated
public enum JourneyAccountingEnumeration
extends Enum<JourneyAccountingEnumeration>
implements com.google.protobuf.ProtocolMessageEnum
Allowed values for Accounting Coverage. [netex_part_2/part2_journeyTimes/netex_journeyAccounting_support.xsd at 63:54]Protobuf enum
uk.org.netex.www.netex.JourneyAccountingEnumeration-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionERA X01: The connection is guaranteed under any circumstances.ERA X03: The connection is not guaranteed, although the connection time available is longer than the location connection time.ERA X02: The connection is normally guaranteed, although the connection time available is shorter than the location connection time.Default -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intERA X01: The connection is guaranteed under any circumstances.static final intERA X03: The connection is not guaranteed, although the connection time available is longer than the location connection time.static final intERA X02: The connection is normally guaranteed, although the connection time available is shorter than the location connection time.static final intDefault -
Method Summary
Modifier and TypeMethodDescriptionstatic JourneyAccountingEnumerationforNumber(int value) static com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<JourneyAccountingEnumeration> static JourneyAccountingEnumerationvalueOf(int value) Deprecated.static JourneyAccountingEnumerationvalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this class with the specified name.static JourneyAccountingEnumerationReturns the enum constant of this class with the specified name.static JourneyAccountingEnumeration[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
JOURNEY_ACCOUNTING_ENUMERATION_UNSPECIFIED
Default
JOURNEY_ACCOUNTING_ENUMERATION_UNSPECIFIED = 0; -
JOURNEY_ACCOUNTING_ENUMERATION_CONTRACT
ERA X01: The connection is guaranteed under any circumstances. [netex_part_2/part2_journeyTimes/netex_journeyAccounting_support.xsd at 68:38]
JOURNEY_ACCOUNTING_ENUMERATION_CONTRACT = 1; -
JOURNEY_ACCOUNTING_ENUMERATION_SUBSIDY
ERA X02: The connection is normally guaranteed, although the connection time available is shorter than the location connection time. [netex_part_2/part2_journeyTimes/netex_journeyAccounting_support.xsd at 73:37]
JOURNEY_ACCOUNTING_ENUMERATION_SUBSIDY = 2; -
JOURNEY_ACCOUNTING_ENUMERATION_OTHER
ERA X03: The connection is not guaranteed, although the connection time available is longer than the location connection time. [netex_part_2/part2_journeyTimes/netex_journeyAccounting_support.xsd at 78:35]
JOURNEY_ACCOUNTING_ENUMERATION_OTHER = 3; -
UNRECOGNIZED
-
-
Field Details
-
JOURNEY_ACCOUNTING_ENUMERATION_UNSPECIFIED_VALUE
public static final int JOURNEY_ACCOUNTING_ENUMERATION_UNSPECIFIED_VALUEDefault
JOURNEY_ACCOUNTING_ENUMERATION_UNSPECIFIED = 0;- See Also:
-
JOURNEY_ACCOUNTING_ENUMERATION_CONTRACT_VALUE
public static final int JOURNEY_ACCOUNTING_ENUMERATION_CONTRACT_VALUEERA X01: The connection is guaranteed under any circumstances. [netex_part_2/part2_journeyTimes/netex_journeyAccounting_support.xsd at 68:38]
JOURNEY_ACCOUNTING_ENUMERATION_CONTRACT = 1;- See Also:
-
JOURNEY_ACCOUNTING_ENUMERATION_SUBSIDY_VALUE
public static final int JOURNEY_ACCOUNTING_ENUMERATION_SUBSIDY_VALUEERA X02: The connection is normally guaranteed, although the connection time available is shorter than the location connection time. [netex_part_2/part2_journeyTimes/netex_journeyAccounting_support.xsd at 73:37]
JOURNEY_ACCOUNTING_ENUMERATION_SUBSIDY = 2;- See Also:
-
JOURNEY_ACCOUNTING_ENUMERATION_OTHER_VALUE
public static final int JOURNEY_ACCOUNTING_ENUMERATION_OTHER_VALUEERA X03: The connection is not guaranteed, although the connection time available is longer than the location connection time. [netex_part_2/part2_journeyTimes/netex_journeyAccounting_support.xsd at 78:35]
JOURNEY_ACCOUNTING_ENUMERATION_OTHER = 3;- 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<JourneyAccountingEnumeration> 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 JourneyAccountingEnumeration 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
-