Package uk.org.netex.www.netex
Enum Class OnBecomingEnumeration
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<OnBecomingEnumeration>,Constable
@Generated
public enum OnBecomingEnumeration
extends Enum<OnBecomingEnumeration>
implements com.google.protobuf.ProtocolMessageEnum
Allowed values for Becoming Eiiigble + v1.1 [netex_part_3/part3_fares/netex_usageParameterEligibility_support.xsd at 492:47]Protobuf enum
uk.org.netex.www.netex.OnBecomingEnumeration-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionIf user becomes eligible, automatically apply additional user profile benefits to user, e.g. apply student or senior discounts.If user becomes eligible, invite user to take up eligible products. e.g.If user becomes eligible,, no automatic measures are taken.[netex_part_3/part3_fares/netex_usageParameterEligibility_support.xsd at 512:36]Default -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intIf user becomes eligible, automatically apply additional user profile benefits to user, e.g. apply student or senior discounts.static final intIf user becomes eligible, invite user to take up eligible products. e.g.static final intIf user becomes eligible,, no automatic measures are taken.static final int[netex_part_3/part3_fares/netex_usageParameterEligibility_support.xsd at 512:36]static final intDefault -
Method Summary
Modifier and TypeMethodDescriptionstatic OnBecomingEnumerationforNumber(int value) static com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<OnBecomingEnumeration> static OnBecomingEnumerationvalueOf(int value) Deprecated.static OnBecomingEnumerationvalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this class with the specified name.static OnBecomingEnumerationReturns the enum constant of this class with the specified name.static OnBecomingEnumeration[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ON_BECOMING_ENUMERATION_UNSPECIFIED
Default
ON_BECOMING_ENUMERATION_UNSPECIFIED = 0; -
ON_BECOMING_ENUMERATION_AUTOMATIC
If user becomes eligible, automatically apply additional user profile benefits to user, e.g. apply student or senior discounts. [netex_part_3/part3_fares/netex_usageParameterEligibility_support.xsd at 497:39]
ON_BECOMING_ENUMERATION_AUTOMATIC = 1; -
ON_BECOMING_ENUMERATION_INVITE
If user becomes eligible, invite user to take up eligible products. e.g. Invite to buy Senior railcard. [netex_part_3/part3_fares/netex_usageParameterEligibility_support.xsd at 502:36]
ON_BECOMING_ENUMERATION_INVITE = 2; -
ON_BECOMING_ENUMERATION_NO_ACTION
If user becomes eligible,, no automatic measures are taken. [netex_part_3/part3_fares/netex_usageParameterEligibility_support.xsd at 507:38]
ON_BECOMING_ENUMERATION_NO_ACTION = 3; -
ON_BECOMING_ENUMERATION_OTHER
[netex_part_3/part3_fares/netex_usageParameterEligibility_support.xsd at 512:36]
ON_BECOMING_ENUMERATION_OTHER = 4; -
UNRECOGNIZED
-
-
Field Details
-
ON_BECOMING_ENUMERATION_UNSPECIFIED_VALUE
public static final int ON_BECOMING_ENUMERATION_UNSPECIFIED_VALUEDefault
ON_BECOMING_ENUMERATION_UNSPECIFIED = 0;- See Also:
-
ON_BECOMING_ENUMERATION_AUTOMATIC_VALUE
public static final int ON_BECOMING_ENUMERATION_AUTOMATIC_VALUEIf user becomes eligible, automatically apply additional user profile benefits to user, e.g. apply student or senior discounts. [netex_part_3/part3_fares/netex_usageParameterEligibility_support.xsd at 497:39]
ON_BECOMING_ENUMERATION_AUTOMATIC = 1;- See Also:
-
ON_BECOMING_ENUMERATION_INVITE_VALUE
public static final int ON_BECOMING_ENUMERATION_INVITE_VALUEIf user becomes eligible, invite user to take up eligible products. e.g. Invite to buy Senior railcard. [netex_part_3/part3_fares/netex_usageParameterEligibility_support.xsd at 502:36]
ON_BECOMING_ENUMERATION_INVITE = 2;- See Also:
-
ON_BECOMING_ENUMERATION_NO_ACTION_VALUE
public static final int ON_BECOMING_ENUMERATION_NO_ACTION_VALUEIf user becomes eligible,, no automatic measures are taken. [netex_part_3/part3_fares/netex_usageParameterEligibility_support.xsd at 507:38]
ON_BECOMING_ENUMERATION_NO_ACTION = 3;- See Also:
-
ON_BECOMING_ENUMERATION_OTHER_VALUE
public static final int ON_BECOMING_ENUMERATION_OTHER_VALUE[netex_part_3/part3_fares/netex_usageParameterEligibility_support.xsd at 512:36]
ON_BECOMING_ENUMERATION_OTHER = 4;- 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
-
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 OnBecomingEnumeration 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
-