Enum Class OnboardValidityTypeEnumeration

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

@Generated public enum OnboardValidityTypeEnumeration extends Enum<OnboardValidityTypeEnumeration> implements com.google.protobuf.ProtocolMessageEnum
 Allowed values for ONBOARD VALIDITY  [netex_part_3/part3_fares/netex_usageParameterTravel_support.xsd at 721:56]
 
Protobuf enum uk.org.netex.www.netex.OnboardValidityTypeEnumeration
  • Enum Constant Details

    • ONBOARD_VALIDITY_TYPE_ENUMERATION_UNSPECIFIED

      public static final OnboardValidityTypeEnumeration ONBOARD_VALIDITY_TYPE_ENUMERATION_UNSPECIFIED
       Default
       
      ONBOARD_VALIDITY_TYPE_ENUMERATION_UNSPECIFIED = 0;
    • ONBOARD_VALIDITY_TYPE_ENUMERATION_VALID_AT_BOARDING_TIME

      public static final OnboardValidityTypeEnumeration ONBOARD_VALIDITY_TYPE_ENUMERATION_VALID_AT_BOARDING_TIME
       The access right is considered to be valid temporally on the same PT RIDE LEG if it was valid at boarding time. Typically used when the traveller is required to validate when boarding on each PT RIDE LEG.  [netex_part_3/part3_fares/netex_usageParameterTravel_support.xsd at 726:49]
       
      ONBOARD_VALIDITY_TYPE_ENUMERATION_VALID_AT_BOARDING_TIME = 1;
    • ONBOARD_VALIDITY_TYPE_ENUMERATION_VALID_AT_START_OF_SERVICE_JOURNEY

      public static final OnboardValidityTypeEnumeration ONBOARD_VALIDITY_TYPE_ENUMERATION_VALID_AT_START_OF_SERVICE_JOURNEY
       The access right is considered to be valid temporally on the same PT RIDE LEG if it was valid at this SERVICE JOURNEY's first SCHEDULED STOP POINT. Typically used when the traveller can board a vehicle without validating as long as the traveller already have a temporally valid access right. In addition, since the actual place of boarding is unknown, the controller may ask the traveller's departure stop in and compare the answer to the JOURNEY PATTERN STOP TIMES  [netex_part_3/part3_fares/netex_usageParameterTravel_support.xsd at 732:58]
       
      ONBOARD_VALIDITY_TYPE_ENUMERATION_VALID_AT_START_OF_SERVICE_JOURNEY = 2;
    • ONBOARD_VALIDITY_TYPE_ENUMERATION_VALID_AT_ALL_TIMES_WHILE_ONBOARD

      public static final OnboardValidityTypeEnumeration ONBOARD_VALIDITY_TYPE_ENUMERATION_VALID_AT_ALL_TIMES_WHILE_ONBOARD
       The access right must be temporally valid at all times when the passenger is onboard. Typically used when the traveller can board a vehicle without validating as long as the traveller already have a temporally valid access right.  [netex_part_3/part3_fares/netex_usageParameterTravel_support.xsd at 739:57]
       
      ONBOARD_VALIDITY_TYPE_ENUMERATION_VALID_AT_ALL_TIMES_WHILE_ONBOARD = 3;
    • UNRECOGNIZED

      public static final OnboardValidityTypeEnumeration UNRECOGNIZED
  • Field Details

    • ONBOARD_VALIDITY_TYPE_ENUMERATION_UNSPECIFIED_VALUE

      public static final int ONBOARD_VALIDITY_TYPE_ENUMERATION_UNSPECIFIED_VALUE
       Default
       
      ONBOARD_VALIDITY_TYPE_ENUMERATION_UNSPECIFIED = 0;
      See Also:
    • ONBOARD_VALIDITY_TYPE_ENUMERATION_VALID_AT_BOARDING_TIME_VALUE

      public static final int ONBOARD_VALIDITY_TYPE_ENUMERATION_VALID_AT_BOARDING_TIME_VALUE
       The access right is considered to be valid temporally on the same PT RIDE LEG if it was valid at boarding time. Typically used when the traveller is required to validate when boarding on each PT RIDE LEG.  [netex_part_3/part3_fares/netex_usageParameterTravel_support.xsd at 726:49]
       
      ONBOARD_VALIDITY_TYPE_ENUMERATION_VALID_AT_BOARDING_TIME = 1;
      See Also:
    • ONBOARD_VALIDITY_TYPE_ENUMERATION_VALID_AT_START_OF_SERVICE_JOURNEY_VALUE

      public static final int ONBOARD_VALIDITY_TYPE_ENUMERATION_VALID_AT_START_OF_SERVICE_JOURNEY_VALUE
       The access right is considered to be valid temporally on the same PT RIDE LEG if it was valid at this SERVICE JOURNEY's first SCHEDULED STOP POINT. Typically used when the traveller can board a vehicle without validating as long as the traveller already have a temporally valid access right. In addition, since the actual place of boarding is unknown, the controller may ask the traveller's departure stop in and compare the answer to the JOURNEY PATTERN STOP TIMES  [netex_part_3/part3_fares/netex_usageParameterTravel_support.xsd at 732:58]
       
      ONBOARD_VALIDITY_TYPE_ENUMERATION_VALID_AT_START_OF_SERVICE_JOURNEY = 2;
      See Also:
    • ONBOARD_VALIDITY_TYPE_ENUMERATION_VALID_AT_ALL_TIMES_WHILE_ONBOARD_VALUE

      public static final int ONBOARD_VALIDITY_TYPE_ENUMERATION_VALID_AT_ALL_TIMES_WHILE_ONBOARD_VALUE
       The access right must be temporally valid at all times when the passenger is onboard. Typically used when the traveller can board a vehicle without validating as long as the traveller already have a temporally valid access right.  [netex_part_3/part3_fares/netex_usageParameterTravel_support.xsd at 739:57]
       
      ONBOARD_VALIDITY_TYPE_ENUMERATION_VALID_AT_ALL_TIMES_WHILE_ONBOARD = 3;
      See Also:
  • Method Details

    • values

      public static OnboardValidityTypeEnumeration[] 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 OnboardValidityTypeEnumeration 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 OnboardValidityTypeEnumeration 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 OnboardValidityTypeEnumeration 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<OnboardValidityTypeEnumeration> 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 com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
    • valueOf

      public static OnboardValidityTypeEnumeration 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