Enum Class PurchaseWhenEnumeration

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

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
  • Enum Constant Details

    • PURCHASE_WHEN_ENUMERATION_UNSPECIFIED

      public static final PurchaseWhenEnumeration PURCHASE_WHEN_ENUMERATION_UNSPECIFIED
       Default
       
      PURCHASE_WHEN_ENUMERATION_UNSPECIFIED = 0;
    • PURCHASE_WHEN_ENUMERATION_ADVANCE_ONLY

      public static final PurchaseWhenEnumeration 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

      public static final PurchaseWhenEnumeration 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

      public static final PurchaseWhenEnumeration 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

      public static final PurchaseWhenEnumeration 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

      public static final PurchaseWhenEnumeration 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

      public static final PurchaseWhenEnumeration 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

      public static final PurchaseWhenEnumeration PURCHASE_WHEN_ENUMERATION_OTHER
       [netex_framework/netex_reusableComponents/netex_serviceRestrictions_support.xsd at 231:36]
       
      PURCHASE_WHEN_ENUMERATION_OTHER = 7;
    • UNRECOGNIZED

      public static final PurchaseWhenEnumeration UNRECOGNIZED
  • Field Details

    • PURCHASE_WHEN_ENUMERATION_UNSPECIFIED_VALUE

      public static final int PURCHASE_WHEN_ENUMERATION_UNSPECIFIED_VALUE
       Default
       
      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

      public static PurchaseWhenEnumeration[] 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 PurchaseWhenEnumeration 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 PurchaseWhenEnumeration 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 PurchaseWhenEnumeration 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<PurchaseWhenEnumeration> 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 final 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 name
      NullPointerException - if the argument is null