Package uk.org.netex.www.netex
Enum Class RoundTripTypeEnumeration
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<RoundTripTypeEnumeration>,Constable
public enum RoundTripTypeEnumeration
extends Enum<RoundTripTypeEnumeration>
implements com.google.protobuf.ProtocolMessageEnum
Allowed values for ROUND TRIP Type. [netex_part_3/part3_fares/netex_usageParameterTravel_support.xsd at 153:50]Protobuf enum
uk.org.netex.www.netex.RoundTripTypeEnumeration-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionMulttrip carnet.Return trip between the same origin and destination [netex_part_3/part3_fares/netex_usageParameterTravel_support.xsd at 163:36]Return part of a return trip.[netex_part_3/part3_fares/netex_usageParameterTravel_support.xsd at 178:41]Outward part of a return trip.Single trip [netex_part_3/part3_fares/netex_usageParameterTravel_support.xsd at 158:36]Default -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intMulttrip carnet.static final intReturn part of a return trip.static final int[netex_part_3/part3_fares/netex_usageParameterTravel_support.xsd at 178:41]static final intOutward part of a return trip.static final intReturn trip between the same origin and destination [netex_part_3/part3_fares/netex_usageParameterTravel_support.xsd at 163:36]static final intSingle trip [netex_part_3/part3_fares/netex_usageParameterTravel_support.xsd at 158:36]static final intDefault -
Method Summary
Modifier and TypeMethodDescriptionstatic RoundTripTypeEnumerationforNumber(int value) static final com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<RoundTripTypeEnumeration> static RoundTripTypeEnumerationvalueOf(int value) Deprecated.static RoundTripTypeEnumerationvalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this class with the specified name.static RoundTripTypeEnumerationReturns the enum constant of this class with the specified name.static RoundTripTypeEnumeration[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ROUND_TRIP_TYPE_ENUMERATION_UNSPECIFIED
Default
ROUND_TRIP_TYPE_ENUMERATION_UNSPECIFIED = 0; -
ROUND_TRIP_TYPE_ENUMERATION_SINGLE
Single trip [netex_part_3/part3_fares/netex_usageParameterTravel_support.xsd at 158:36]
ROUND_TRIP_TYPE_ENUMERATION_SINGLE = 1; -
ROUND_TRIP_TYPE_ENUMERATION_RETURN
Return trip between the same origin and destination [netex_part_3/part3_fares/netex_usageParameterTravel_support.xsd at 163:36]
ROUND_TRIP_TYPE_ENUMERATION_RETURN = 2; -
ROUND_TRIP_TYPE_ENUMERATION_RETURN_OUT
Outward part of a return trip. [netex_part_3/part3_fares/netex_usageParameterTravel_support.xsd at 168:39]
ROUND_TRIP_TYPE_ENUMERATION_RETURN_OUT = 3; -
ROUND_TRIP_TYPE_ENUMERATION_RETURN_BACK
Return part of a return trip. [netex_part_3/part3_fares/netex_usageParameterTravel_support.xsd at 173:40]
ROUND_TRIP_TYPE_ENUMERATION_RETURN_BACK = 4; -
ROUND_TRIP_TYPE_ENUMERATION_RETURN_ONLY
[netex_part_3/part3_fares/netex_usageParameterTravel_support.xsd at 178:41]
ROUND_TRIP_TYPE_ENUMERATION_RETURN_ONLY = 5; -
ROUND_TRIP_TYPE_ENUMERATION_MULTIPLE
Multtrip carnet. [netex_part_3/part3_fares/netex_usageParameterTravel_support.xsd at 179:38]
ROUND_TRIP_TYPE_ENUMERATION_MULTIPLE = 6; -
UNRECOGNIZED
-
-
Field Details
-
ROUND_TRIP_TYPE_ENUMERATION_UNSPECIFIED_VALUE
public static final int ROUND_TRIP_TYPE_ENUMERATION_UNSPECIFIED_VALUEDefault
ROUND_TRIP_TYPE_ENUMERATION_UNSPECIFIED = 0;- See Also:
-
ROUND_TRIP_TYPE_ENUMERATION_SINGLE_VALUE
public static final int ROUND_TRIP_TYPE_ENUMERATION_SINGLE_VALUESingle trip [netex_part_3/part3_fares/netex_usageParameterTravel_support.xsd at 158:36]
ROUND_TRIP_TYPE_ENUMERATION_SINGLE = 1;- See Also:
-
ROUND_TRIP_TYPE_ENUMERATION_RETURN_VALUE
public static final int ROUND_TRIP_TYPE_ENUMERATION_RETURN_VALUEReturn trip between the same origin and destination [netex_part_3/part3_fares/netex_usageParameterTravel_support.xsd at 163:36]
ROUND_TRIP_TYPE_ENUMERATION_RETURN = 2;- See Also:
-
ROUND_TRIP_TYPE_ENUMERATION_RETURN_OUT_VALUE
public static final int ROUND_TRIP_TYPE_ENUMERATION_RETURN_OUT_VALUEOutward part of a return trip. [netex_part_3/part3_fares/netex_usageParameterTravel_support.xsd at 168:39]
ROUND_TRIP_TYPE_ENUMERATION_RETURN_OUT = 3;- See Also:
-
ROUND_TRIP_TYPE_ENUMERATION_RETURN_BACK_VALUE
public static final int ROUND_TRIP_TYPE_ENUMERATION_RETURN_BACK_VALUEReturn part of a return trip. [netex_part_3/part3_fares/netex_usageParameterTravel_support.xsd at 173:40]
ROUND_TRIP_TYPE_ENUMERATION_RETURN_BACK = 4;- See Also:
-
ROUND_TRIP_TYPE_ENUMERATION_RETURN_ONLY_VALUE
public static final int ROUND_TRIP_TYPE_ENUMERATION_RETURN_ONLY_VALUE[netex_part_3/part3_fares/netex_usageParameterTravel_support.xsd at 178:41]
ROUND_TRIP_TYPE_ENUMERATION_RETURN_ONLY = 5;- See Also:
-
ROUND_TRIP_TYPE_ENUMERATION_MULTIPLE_VALUE
public static final int ROUND_TRIP_TYPE_ENUMERATION_MULTIPLE_VALUEMulttrip carnet. [netex_part_3/part3_fares/netex_usageParameterTravel_support.xsd at 179:38]
ROUND_TRIP_TYPE_ENUMERATION_MULTIPLE = 6;- 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<RoundTripTypeEnumeration> 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 final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() -
valueOf
public static RoundTripTypeEnumeration 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
-