Package uk.org.netex.www.netex
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-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionDefaultThe access right must be temporally valid at all times when the passenger is onboard.The access right is considered to be valid temporally on the same PT RIDE LEG if it was valid at boarding time.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. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intDefaultstatic final intThe access right must be temporally valid at all times when the passenger is onboard.static final intThe access right is considered to be valid temporally on the same PT RIDE LEG if it was valid at boarding time.static final intThe 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. -
Method Summary
Modifier and TypeMethodDescriptionforNumber(int value) static com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<OnboardValidityTypeEnumeration> valueOf(int value) Deprecated.valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this class with the specified name.Returns the enum constant of this class with the specified name.static OnboardValidityTypeEnumeration[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
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_TIMEThe 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_JOURNEYThe 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_ONBOARDThe 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
-
-
Field Details
-
ONBOARD_VALIDITY_TYPE_ENUMERATION_UNSPECIFIED_VALUE
public static final int ONBOARD_VALIDITY_TYPE_ENUMERATION_UNSPECIFIED_VALUEDefault
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_VALUEThe 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_VALUEThe 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_VALUEThe 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
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<OnboardValidityTypeEnumeration> 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 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 nameNullPointerException- if the argument is null
-