Package uk.org.netex.www.netex
Enum Class TicketTypeEnumeration
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<TicketTypeEnumeration>,Constable
@Generated
public enum TicketTypeEnumeration
extends Enum<TicketTypeEnumeration>
implements com.google.protobuf.ProtocolMessageEnum
Allowed value for Ticket Types. [netex_framework/netex_reusableComponents/netex_serviceRestrictions_support.xsd at 699:47]Protobuf enum
uk.org.netex.www.netex.TicketTypeEnumeration-
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 712:34][netex_framework/netex_reusableComponents/netex_serviceRestrictions_support.xsd at 709:37][netex_framework/netex_reusableComponents/netex_serviceRestrictions_support.xsd at 706:41][netex_framework/netex_reusableComponents/netex_serviceRestrictions_support.xsd at 707:36][netex_framework/netex_reusableComponents/netex_serviceRestrictions_support.xsd at 711:36][netex_framework/netex_reusableComponents/netex_serviceRestrictions_support.xsd at 705:40][netex_framework/netex_reusableComponents/netex_serviceRestrictions_support.xsd at 708:37][netex_framework/netex_reusableComponents/netex_serviceRestrictions_support.xsd at 704:39][netex_framework/netex_reusableComponents/netex_serviceRestrictions_support.xsd at 710:41]Default -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int[netex_framework/netex_reusableComponents/netex_serviceRestrictions_support.xsd at 712:34]static final int[netex_framework/netex_reusableComponents/netex_serviceRestrictions_support.xsd at 709:37]static final int[netex_framework/netex_reusableComponents/netex_serviceRestrictions_support.xsd at 706:41]static final int[netex_framework/netex_reusableComponents/netex_serviceRestrictions_support.xsd at 707:36]static final int[netex_framework/netex_reusableComponents/netex_serviceRestrictions_support.xsd at 711:36]static final int[netex_framework/netex_reusableComponents/netex_serviceRestrictions_support.xsd at 705:40]static final int[netex_framework/netex_reusableComponents/netex_serviceRestrictions_support.xsd at 708:37]static final int[netex_framework/netex_reusableComponents/netex_serviceRestrictions_support.xsd at 704:39]static final int[netex_framework/netex_reusableComponents/netex_serviceRestrictions_support.xsd at 710:41]static final intDefault -
Method Summary
Modifier and TypeMethodDescriptionstatic TicketTypeEnumerationforNumber(int value) static com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<TicketTypeEnumeration> static TicketTypeEnumerationvalueOf(int value) Deprecated.static TicketTypeEnumerationvalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this class with the specified name.static TicketTypeEnumerationReturns the enum constant of this class with the specified name.static TicketTypeEnumeration[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
TICKET_TYPE_ENUMERATION_UNSPECIFIED
Default
TICKET_TYPE_ENUMERATION_UNSPECIFIED = 0; -
TICKET_TYPE_ENUMERATION_STANDARD
[netex_framework/netex_reusableComponents/netex_serviceRestrictions_support.xsd at 704:39]
TICKET_TYPE_ENUMERATION_STANDARD = 1; -
TICKET_TYPE_ENUMERATION_PROMOTION
[netex_framework/netex_reusableComponents/netex_serviceRestrictions_support.xsd at 705:40]
TICKET_TYPE_ENUMERATION_PROMOTION = 2; -
TICKET_TYPE_ENUMERATION_CONCESSION
[netex_framework/netex_reusableComponents/netex_serviceRestrictions_support.xsd at 706:41]
TICKET_TYPE_ENUMERATION_CONCESSION = 3; -
TICKET_TYPE_ENUMERATION_GROUP
[netex_framework/netex_reusableComponents/netex_serviceRestrictions_support.xsd at 707:36]
TICKET_TYPE_ENUMERATION_GROUP = 4; -
TICKET_TYPE_ENUMERATION_SEASON
[netex_framework/netex_reusableComponents/netex_serviceRestrictions_support.xsd at 708:37]
TICKET_TYPE_ENUMERATION_SEASON = 5; -
TICKET_TYPE_ENUMERATION_CARNET
[netex_framework/netex_reusableComponents/netex_serviceRestrictions_support.xsd at 709:37]
TICKET_TYPE_ENUMERATION_CARNET = 6; -
TICKET_TYPE_ENUMERATION_TRAVEL_CARD
[netex_framework/netex_reusableComponents/netex_serviceRestrictions_support.xsd at 710:41]
TICKET_TYPE_ENUMERATION_TRAVEL_CARD = 7; -
TICKET_TYPE_ENUMERATION_OTHER
[netex_framework/netex_reusableComponents/netex_serviceRestrictions_support.xsd at 711:36]
TICKET_TYPE_ENUMERATION_OTHER = 8; -
TICKET_TYPE_ENUMERATION_ALL
[netex_framework/netex_reusableComponents/netex_serviceRestrictions_support.xsd at 712:34]
TICKET_TYPE_ENUMERATION_ALL = 9; -
UNRECOGNIZED
-
-
Field Details
-
TICKET_TYPE_ENUMERATION_UNSPECIFIED_VALUE
public static final int TICKET_TYPE_ENUMERATION_UNSPECIFIED_VALUEDefault
TICKET_TYPE_ENUMERATION_UNSPECIFIED = 0;- See Also:
-
TICKET_TYPE_ENUMERATION_STANDARD_VALUE
public static final int TICKET_TYPE_ENUMERATION_STANDARD_VALUE[netex_framework/netex_reusableComponents/netex_serviceRestrictions_support.xsd at 704:39]
TICKET_TYPE_ENUMERATION_STANDARD = 1;- See Also:
-
TICKET_TYPE_ENUMERATION_PROMOTION_VALUE
public static final int TICKET_TYPE_ENUMERATION_PROMOTION_VALUE[netex_framework/netex_reusableComponents/netex_serviceRestrictions_support.xsd at 705:40]
TICKET_TYPE_ENUMERATION_PROMOTION = 2;- See Also:
-
TICKET_TYPE_ENUMERATION_CONCESSION_VALUE
public static final int TICKET_TYPE_ENUMERATION_CONCESSION_VALUE[netex_framework/netex_reusableComponents/netex_serviceRestrictions_support.xsd at 706:41]
TICKET_TYPE_ENUMERATION_CONCESSION = 3;- See Also:
-
TICKET_TYPE_ENUMERATION_GROUP_VALUE
public static final int TICKET_TYPE_ENUMERATION_GROUP_VALUE[netex_framework/netex_reusableComponents/netex_serviceRestrictions_support.xsd at 707:36]
TICKET_TYPE_ENUMERATION_GROUP = 4;- See Also:
-
TICKET_TYPE_ENUMERATION_SEASON_VALUE
public static final int TICKET_TYPE_ENUMERATION_SEASON_VALUE[netex_framework/netex_reusableComponents/netex_serviceRestrictions_support.xsd at 708:37]
TICKET_TYPE_ENUMERATION_SEASON = 5;- See Also:
-
TICKET_TYPE_ENUMERATION_CARNET_VALUE
public static final int TICKET_TYPE_ENUMERATION_CARNET_VALUE[netex_framework/netex_reusableComponents/netex_serviceRestrictions_support.xsd at 709:37]
TICKET_TYPE_ENUMERATION_CARNET = 6;- See Also:
-
TICKET_TYPE_ENUMERATION_TRAVEL_CARD_VALUE
public static final int TICKET_TYPE_ENUMERATION_TRAVEL_CARD_VALUE[netex_framework/netex_reusableComponents/netex_serviceRestrictions_support.xsd at 710:41]
TICKET_TYPE_ENUMERATION_TRAVEL_CARD = 7;- See Also:
-
TICKET_TYPE_ENUMERATION_OTHER_VALUE
public static final int TICKET_TYPE_ENUMERATION_OTHER_VALUE[netex_framework/netex_reusableComponents/netex_serviceRestrictions_support.xsd at 711:36]
TICKET_TYPE_ENUMERATION_OTHER = 8;- See Also:
-
TICKET_TYPE_ENUMERATION_ALL_VALUE
public static final int TICKET_TYPE_ENUMERATION_ALL_VALUE[netex_framework/netex_reusableComponents/netex_serviceRestrictions_support.xsd at 712:34]
TICKET_TYPE_ENUMERATION_ALL = 9;- 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 TicketTypeEnumeration 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
-