Package uk.org.netex.www.netex
Enum Class PurchaseWhenEnumeration
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<PurchaseWhenEnumeration>,Constable
@Generated
public enum PurchaseWhenEnumeration
extends Enum<PurchaseWhenEnumeration>
implements com.google.protobuf.ProtocolMessageEnum
Allowed values for Purchase when. [netex_framework/netex_reusableComponents/netex_serviceRestrictions_support.xsd at 220:49]Protobuf enum
uk.org.netex.www.netex.PurchaseWhenEnumeration-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescription[netex_framework/netex_reusableComponents/netex_serviceRestrictions_support.xsd at 228:52][netex_framework/netex_reusableComponents/netex_serviceRestrictions_support.xsd at 225:42][netex_framework/netex_reusableComponents/netex_serviceRestrictions_support.xsd at 227:46][netex_framework/netex_reusableComponents/netex_serviceRestrictions_support.xsd at 231:36][netex_framework/netex_reusableComponents/netex_serviceRestrictions_support.xsd at 230:55][netex_framework/netex_reusableComponents/netex_serviceRestrictions_support.xsd at 229:47]Default[netex_framework/netex_reusableComponents/netex_serviceRestrictions_support.xsd at 226:47] -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int[netex_framework/netex_reusableComponents/netex_serviceRestrictions_support.xsd at 228:52]static final int[netex_framework/netex_reusableComponents/netex_serviceRestrictions_support.xsd at 225:42]static final int[netex_framework/netex_reusableComponents/netex_serviceRestrictions_support.xsd at 227:46]static final int[netex_framework/netex_reusableComponents/netex_serviceRestrictions_support.xsd at 231:36]static final int[netex_framework/netex_reusableComponents/netex_serviceRestrictions_support.xsd at 230:55]static final int[netex_framework/netex_reusableComponents/netex_serviceRestrictions_support.xsd at 229:47]static final intDefaultstatic final int[netex_framework/netex_reusableComponents/netex_serviceRestrictions_support.xsd at 226:47] -
Method Summary
Modifier and TypeMethodDescriptionstatic PurchaseWhenEnumerationforNumber(int value) static com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<PurchaseWhenEnumeration> static PurchaseWhenEnumerationvalueOf(int value) Deprecated.static PurchaseWhenEnumerationvalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this class with the specified name.static PurchaseWhenEnumerationReturns the enum constant of this class with the specified name.static PurchaseWhenEnumeration[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
PURCHASE_WHEN_ENUMERATION_UNSPECIFIED
Default
PURCHASE_WHEN_ENUMERATION_UNSPECIFIED = 0; -
PURCHASE_WHEN_ENUMERATION_ADVANCE_ONLY
[netex_framework/netex_reusableComponents/netex_serviceRestrictions_support.xsd at 225:42]
PURCHASE_WHEN_ENUMERATION_ADVANCE_ONLY = 1; -
PURCHASE_WHEN_ENUMERATION_UNTIL_PREVIOUS_DAY
[netex_framework/netex_reusableComponents/netex_serviceRestrictions_support.xsd at 226:47]
PURCHASE_WHEN_ENUMERATION_UNTIL_PREVIOUS_DAY = 2; -
PURCHASE_WHEN_ENUMERATION_DAY_OF_TRAVEL_ONLY
[netex_framework/netex_reusableComponents/netex_serviceRestrictions_support.xsd at 227:46]
PURCHASE_WHEN_ENUMERATION_DAY_OF_TRAVEL_ONLY = 3; -
PURCHASE_WHEN_ENUMERATION_ADVANCE_AND_DAY_OF_TRAVEL
[netex_framework/netex_reusableComponents/netex_serviceRestrictions_support.xsd at 228:52]
PURCHASE_WHEN_ENUMERATION_ADVANCE_AND_DAY_OF_TRAVEL = 4; -
PURCHASE_WHEN_ENUMERATION_TIME_OF_TRAVEL_ONLY
[netex_framework/netex_reusableComponents/netex_serviceRestrictions_support.xsd at 229:47]
PURCHASE_WHEN_ENUMERATION_TIME_OF_TRAVEL_ONLY = 5; -
PURCHASE_WHEN_ENUMERATION_SUBSCRIPTION_CHARGE_MOMENT
[netex_framework/netex_reusableComponents/netex_serviceRestrictions_support.xsd at 230:55]
PURCHASE_WHEN_ENUMERATION_SUBSCRIPTION_CHARGE_MOMENT = 6; -
PURCHASE_WHEN_ENUMERATION_OTHER
[netex_framework/netex_reusableComponents/netex_serviceRestrictions_support.xsd at 231:36]
PURCHASE_WHEN_ENUMERATION_OTHER = 7; -
UNRECOGNIZED
-
-
Field Details
-
PURCHASE_WHEN_ENUMERATION_UNSPECIFIED_VALUE
public static final int PURCHASE_WHEN_ENUMERATION_UNSPECIFIED_VALUEDefault
PURCHASE_WHEN_ENUMERATION_UNSPECIFIED = 0;- See Also:
-
PURCHASE_WHEN_ENUMERATION_ADVANCE_ONLY_VALUE
public static final int PURCHASE_WHEN_ENUMERATION_ADVANCE_ONLY_VALUE[netex_framework/netex_reusableComponents/netex_serviceRestrictions_support.xsd at 225:42]
PURCHASE_WHEN_ENUMERATION_ADVANCE_ONLY = 1;- See Also:
-
PURCHASE_WHEN_ENUMERATION_UNTIL_PREVIOUS_DAY_VALUE
public static final int PURCHASE_WHEN_ENUMERATION_UNTIL_PREVIOUS_DAY_VALUE[netex_framework/netex_reusableComponents/netex_serviceRestrictions_support.xsd at 226:47]
PURCHASE_WHEN_ENUMERATION_UNTIL_PREVIOUS_DAY = 2;- See Also:
-
PURCHASE_WHEN_ENUMERATION_DAY_OF_TRAVEL_ONLY_VALUE
public static final int PURCHASE_WHEN_ENUMERATION_DAY_OF_TRAVEL_ONLY_VALUE[netex_framework/netex_reusableComponents/netex_serviceRestrictions_support.xsd at 227:46]
PURCHASE_WHEN_ENUMERATION_DAY_OF_TRAVEL_ONLY = 3;- See Also:
-
PURCHASE_WHEN_ENUMERATION_ADVANCE_AND_DAY_OF_TRAVEL_VALUE
public static final int PURCHASE_WHEN_ENUMERATION_ADVANCE_AND_DAY_OF_TRAVEL_VALUE[netex_framework/netex_reusableComponents/netex_serviceRestrictions_support.xsd at 228:52]
PURCHASE_WHEN_ENUMERATION_ADVANCE_AND_DAY_OF_TRAVEL = 4;- See Also:
-
PURCHASE_WHEN_ENUMERATION_TIME_OF_TRAVEL_ONLY_VALUE
public static final int PURCHASE_WHEN_ENUMERATION_TIME_OF_TRAVEL_ONLY_VALUE[netex_framework/netex_reusableComponents/netex_serviceRestrictions_support.xsd at 229:47]
PURCHASE_WHEN_ENUMERATION_TIME_OF_TRAVEL_ONLY = 5;- See Also:
-
PURCHASE_WHEN_ENUMERATION_SUBSCRIPTION_CHARGE_MOMENT_VALUE
public static final int PURCHASE_WHEN_ENUMERATION_SUBSCRIPTION_CHARGE_MOMENT_VALUE[netex_framework/netex_reusableComponents/netex_serviceRestrictions_support.xsd at 230:55]
PURCHASE_WHEN_ENUMERATION_SUBSCRIPTION_CHARGE_MOMENT = 6;- See Also:
-
PURCHASE_WHEN_ENUMERATION_OTHER_VALUE
public static final int PURCHASE_WHEN_ENUMERATION_OTHER_VALUE[netex_framework/netex_reusableComponents/netex_serviceRestrictions_support.xsd at 231:36]
PURCHASE_WHEN_ENUMERATION_OTHER = 7;- 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<PurchaseWhenEnumeration> 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 PurchaseWhenEnumeration 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
-