Package uk.org.netex.www.netex
Enum Class PurchaseMomentEnumeration
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<PurchaseMomentEnumeration>,Constable
@Generated
public enum PurchaseMomentEnumeration
extends Enum<PurchaseMomentEnumeration>
implements com.google.protobuf.ProtocolMessageEnum
Allowed values for Purchase Moment. [netex_framework/netex_reusableComponents/netex_serviceRestrictions_support.xsd at 235:51]Protobuf enum
uk.org.netex.www.netex.PurchaseMomentEnumeration-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionPurchase can be made after boarding transport vehicle.Purchase can be made before boarding transport vehicle.Purchase must be made before boarding transport vehicle.Purchase can be made in advance of travel.Purchase can only be made in advance of travel (e.g. for season ticket or advance ticket).Purchase can be made on boarding transport vehicle.Purchase can only be made on boarding transport vehicle.Purchase can be made on entering transport system.Purchase can be made on leaving transport system.Purchase must be made on reservation in advance of travel.Other moment of Purchase [netex_framework/netex_reusableComponents/netex_serviceRestrictions_support.xsd at 295:35]Purchase can only be made on subscription.Default -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intPurchase can be made after boarding transport vehicle.static final intPurchase must be made before boarding transport vehicle.static final intPurchase can be made before boarding transport vehicle.static final intPurchase can only be made in advance of travel (e.g. for season ticket or advance ticket).static final intPurchase can be made in advance of travel.static final intPurchase can only be made on boarding transport vehicle.static final intPurchase can be made on boarding transport vehicle.static final intPurchase can be made on entering transport system.static final intPurchase can be made on leaving transport system.static final intPurchase must be made on reservation in advance of travel.static final intOther moment of Purchase [netex_framework/netex_reusableComponents/netex_serviceRestrictions_support.xsd at 295:35]static final intPurchase can only be made on subscription.static final intDefault -
Method Summary
Modifier and TypeMethodDescriptionstatic PurchaseMomentEnumerationforNumber(int value) static com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<PurchaseMomentEnumeration> static PurchaseMomentEnumerationvalueOf(int value) Deprecated.static PurchaseMomentEnumerationvalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this class with the specified name.static PurchaseMomentEnumerationReturns the enum constant of this class with the specified name.static PurchaseMomentEnumeration[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
PURCHASE_MOMENT_ENUMERATION_UNSPECIFIED
Default
PURCHASE_MOMENT_ENUMERATION_UNSPECIFIED = 0; -
PURCHASE_MOMENT_ENUMERATION_ON_RESERVATION
Purchase must be made on reservation in advance of travel. [netex_framework/netex_reusableComponents/netex_serviceRestrictions_support.xsd at 240:43]
PURCHASE_MOMENT_ENUMERATION_ON_RESERVATION = 1; -
PURCHASE_MOMENT_ENUMERATION_IN_ADVANCE
Purchase can be made in advance of travel. [netex_framework/netex_reusableComponents/netex_serviceRestrictions_support.xsd at 245:39]
PURCHASE_MOMENT_ENUMERATION_IN_ADVANCE = 2; -
PURCHASE_MOMENT_ENUMERATION_IN_ADVANCE_ONLY
Purchase can only be made in advance of travel (e.g. for season ticket or advance ticket). [netex_framework/netex_reusableComponents/netex_serviceRestrictions_support.xsd at 250:43]
PURCHASE_MOMENT_ENUMERATION_IN_ADVANCE_ONLY = 3; -
PURCHASE_MOMENT_ENUMERATION_BEFORE_BOARDING
Purchase can be made before boarding transport vehicle. [netex_framework/netex_reusableComponents/netex_serviceRestrictions_support.xsd at 255:44]
PURCHASE_MOMENT_ENUMERATION_BEFORE_BOARDING = 4; -
PURCHASE_MOMENT_ENUMERATION_BEFORE_BOARDING_ONLY
Purchase must be made before boarding transport vehicle. [netex_framework/netex_reusableComponents/netex_serviceRestrictions_support.xsd at 260:48]
PURCHASE_MOMENT_ENUMERATION_BEFORE_BOARDING_ONLY = 5; -
PURCHASE_MOMENT_ENUMERATION_ON_BOARDING
Purchase can be made on boarding transport vehicle. [netex_framework/netex_reusableComponents/netex_serviceRestrictions_support.xsd at 265:40]
PURCHASE_MOMENT_ENUMERATION_ON_BOARDING = 6; -
PURCHASE_MOMENT_ENUMERATION_ON_BOARDING_ONLY
Purchase can only be made on boarding transport vehicle. [netex_framework/netex_reusableComponents/netex_serviceRestrictions_support.xsd at 270:44]
PURCHASE_MOMENT_ENUMERATION_ON_BOARDING_ONLY = 7; -
PURCHASE_MOMENT_ENUMERATION_AFTER_BOARDING
Purchase can be made after boarding transport vehicle. [netex_framework/netex_reusableComponents/netex_serviceRestrictions_support.xsd at 275:43]
PURCHASE_MOMENT_ENUMERATION_AFTER_BOARDING = 8; -
PURCHASE_MOMENT_ENUMERATION_ON_CHECK_IN
Purchase can be made on entering transport system. [netex_framework/netex_reusableComponents/netex_serviceRestrictions_support.xsd at 280:39]
PURCHASE_MOMENT_ENUMERATION_ON_CHECK_IN = 9; -
PURCHASE_MOMENT_ENUMERATION_ON_CHECK_OUT
Purchase can be made on leaving transport system. [netex_framework/netex_reusableComponents/netex_serviceRestrictions_support.xsd at 285:40]
PURCHASE_MOMENT_ENUMERATION_ON_CHECK_OUT = 10; -
PURCHASE_MOMENT_ENUMERATION_SUBSCRIPTION_ONLY
Purchase can only be made on subscription. [netex_framework/netex_reusableComponents/netex_serviceRestrictions_support.xsd at 290:46]
PURCHASE_MOMENT_ENUMERATION_SUBSCRIPTION_ONLY = 11; -
PURCHASE_MOMENT_ENUMERATION_OTHER
Other moment of Purchase [netex_framework/netex_reusableComponents/netex_serviceRestrictions_support.xsd at 295:35]
PURCHASE_MOMENT_ENUMERATION_OTHER = 12; -
UNRECOGNIZED
-
-
Field Details
-
PURCHASE_MOMENT_ENUMERATION_UNSPECIFIED_VALUE
public static final int PURCHASE_MOMENT_ENUMERATION_UNSPECIFIED_VALUEDefault
PURCHASE_MOMENT_ENUMERATION_UNSPECIFIED = 0;- See Also:
-
PURCHASE_MOMENT_ENUMERATION_ON_RESERVATION_VALUE
public static final int PURCHASE_MOMENT_ENUMERATION_ON_RESERVATION_VALUEPurchase must be made on reservation in advance of travel. [netex_framework/netex_reusableComponents/netex_serviceRestrictions_support.xsd at 240:43]
PURCHASE_MOMENT_ENUMERATION_ON_RESERVATION = 1;- See Also:
-
PURCHASE_MOMENT_ENUMERATION_IN_ADVANCE_VALUE
public static final int PURCHASE_MOMENT_ENUMERATION_IN_ADVANCE_VALUEPurchase can be made in advance of travel. [netex_framework/netex_reusableComponents/netex_serviceRestrictions_support.xsd at 245:39]
PURCHASE_MOMENT_ENUMERATION_IN_ADVANCE = 2;- See Also:
-
PURCHASE_MOMENT_ENUMERATION_IN_ADVANCE_ONLY_VALUE
public static final int PURCHASE_MOMENT_ENUMERATION_IN_ADVANCE_ONLY_VALUEPurchase can only be made in advance of travel (e.g. for season ticket or advance ticket). [netex_framework/netex_reusableComponents/netex_serviceRestrictions_support.xsd at 250:43]
PURCHASE_MOMENT_ENUMERATION_IN_ADVANCE_ONLY = 3;- See Also:
-
PURCHASE_MOMENT_ENUMERATION_BEFORE_BOARDING_VALUE
public static final int PURCHASE_MOMENT_ENUMERATION_BEFORE_BOARDING_VALUEPurchase can be made before boarding transport vehicle. [netex_framework/netex_reusableComponents/netex_serviceRestrictions_support.xsd at 255:44]
PURCHASE_MOMENT_ENUMERATION_BEFORE_BOARDING = 4;- See Also:
-
PURCHASE_MOMENT_ENUMERATION_BEFORE_BOARDING_ONLY_VALUE
public static final int PURCHASE_MOMENT_ENUMERATION_BEFORE_BOARDING_ONLY_VALUEPurchase must be made before boarding transport vehicle. [netex_framework/netex_reusableComponents/netex_serviceRestrictions_support.xsd at 260:48]
PURCHASE_MOMENT_ENUMERATION_BEFORE_BOARDING_ONLY = 5;- See Also:
-
PURCHASE_MOMENT_ENUMERATION_ON_BOARDING_VALUE
public static final int PURCHASE_MOMENT_ENUMERATION_ON_BOARDING_VALUEPurchase can be made on boarding transport vehicle. [netex_framework/netex_reusableComponents/netex_serviceRestrictions_support.xsd at 265:40]
PURCHASE_MOMENT_ENUMERATION_ON_BOARDING = 6;- See Also:
-
PURCHASE_MOMENT_ENUMERATION_ON_BOARDING_ONLY_VALUE
public static final int PURCHASE_MOMENT_ENUMERATION_ON_BOARDING_ONLY_VALUEPurchase can only be made on boarding transport vehicle. [netex_framework/netex_reusableComponents/netex_serviceRestrictions_support.xsd at 270:44]
PURCHASE_MOMENT_ENUMERATION_ON_BOARDING_ONLY = 7;- See Also:
-
PURCHASE_MOMENT_ENUMERATION_AFTER_BOARDING_VALUE
public static final int PURCHASE_MOMENT_ENUMERATION_AFTER_BOARDING_VALUEPurchase can be made after boarding transport vehicle. [netex_framework/netex_reusableComponents/netex_serviceRestrictions_support.xsd at 275:43]
PURCHASE_MOMENT_ENUMERATION_AFTER_BOARDING = 8;- See Also:
-
PURCHASE_MOMENT_ENUMERATION_ON_CHECK_IN_VALUE
public static final int PURCHASE_MOMENT_ENUMERATION_ON_CHECK_IN_VALUEPurchase can be made on entering transport system. [netex_framework/netex_reusableComponents/netex_serviceRestrictions_support.xsd at 280:39]
PURCHASE_MOMENT_ENUMERATION_ON_CHECK_IN = 9;- See Also:
-
PURCHASE_MOMENT_ENUMERATION_ON_CHECK_OUT_VALUE
public static final int PURCHASE_MOMENT_ENUMERATION_ON_CHECK_OUT_VALUEPurchase can be made on leaving transport system. [netex_framework/netex_reusableComponents/netex_serviceRestrictions_support.xsd at 285:40]
PURCHASE_MOMENT_ENUMERATION_ON_CHECK_OUT = 10;- See Also:
-
PURCHASE_MOMENT_ENUMERATION_SUBSCRIPTION_ONLY_VALUE
public static final int PURCHASE_MOMENT_ENUMERATION_SUBSCRIPTION_ONLY_VALUEPurchase can only be made on subscription. [netex_framework/netex_reusableComponents/netex_serviceRestrictions_support.xsd at 290:46]
PURCHASE_MOMENT_ENUMERATION_SUBSCRIPTION_ONLY = 11;- See Also:
-
PURCHASE_MOMENT_ENUMERATION_OTHER_VALUE
public static final int PURCHASE_MOMENT_ENUMERATION_OTHER_VALUEOther moment of Purchase [netex_framework/netex_reusableComponents/netex_serviceRestrictions_support.xsd at 295:35]
PURCHASE_MOMENT_ENUMERATION_OTHER = 12;- 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<PurchaseMomentEnumeration> 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 PurchaseMomentEnumeration 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
-