Package uk.org.netex.www.netex
Enum Class VehicleModeEnumeration
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<VehicleModeEnumeration>,Constable
public enum VehicleModeEnumeration
extends Enum<VehicleModeEnumeration>
implements com.google.protobuf.ProtocolMessageEnum
Allowed values for MODES of Public Transport applicable to timetabled public transport. [netex_framework/netex_reusableComponents/netex_mode_support.xsd at 102:48]Protobuf enum
uk.org.netex.www.netex.VehicleModeEnumeration-
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_mode_support.xsd at 107:34][netex_framework/netex_reusableComponents/netex_mode_support.xsd at 108:34][netex_framework/netex_reusableComponents/netex_mode_support.xsd at 116:39][netex_framework/netex_reusableComponents/netex_mode_support.xsd at 109:36][netex_framework/netex_reusableComponents/netex_mode_support.xsd at 110:36][netex_framework/netex_reusableComponents/netex_mode_support.xsd at 117:40][netex_framework/netex_reusableComponents/netex_mode_support.xsd at 118:35][netex_framework/netex_reusableComponents/netex_mode_support.xsd at 111:36][netex_framework/netex_reusableComponents/netex_mode_support.xsd at 120:36][netex_framework/netex_reusableComponents/netex_mode_support.xsd at 112:35][netex_framework/netex_reusableComponents/netex_mode_support.xsd at 119:41][netex_framework/netex_reusableComponents/netex_mode_support.xsd at 114:35][netex_framework/netex_reusableComponents/netex_mode_support.xsd at 113:41]Default[netex_framework/netex_reusableComponents/netex_mode_support.xsd at 115:36] -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int[netex_framework/netex_reusableComponents/netex_mode_support.xsd at 107:34]static final int[netex_framework/netex_reusableComponents/netex_mode_support.xsd at 108:34]static final int[netex_framework/netex_reusableComponents/netex_mode_support.xsd at 116:39]static final int[netex_framework/netex_reusableComponents/netex_mode_support.xsd at 109:36]static final int[netex_framework/netex_reusableComponents/netex_mode_support.xsd at 110:36]static final int[netex_framework/netex_reusableComponents/netex_mode_support.xsd at 117:40]static final int[netex_framework/netex_reusableComponents/netex_mode_support.xsd at 118:35]static final int[netex_framework/netex_reusableComponents/netex_mode_support.xsd at 111:36]static final int[netex_framework/netex_reusableComponents/netex_mode_support.xsd at 120:36]static final int[netex_framework/netex_reusableComponents/netex_mode_support.xsd at 112:35]static final int[netex_framework/netex_reusableComponents/netex_mode_support.xsd at 119:41]static final int[netex_framework/netex_reusableComponents/netex_mode_support.xsd at 114:35]static final int[netex_framework/netex_reusableComponents/netex_mode_support.xsd at 113:41]static final intDefaultstatic final int[netex_framework/netex_reusableComponents/netex_mode_support.xsd at 115:36] -
Method Summary
Modifier and TypeMethodDescriptionstatic VehicleModeEnumerationforNumber(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<VehicleModeEnumeration> static VehicleModeEnumerationvalueOf(int value) Deprecated.static VehicleModeEnumerationvalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this class with the specified name.static VehicleModeEnumerationReturns the enum constant of this class with the specified name.static VehicleModeEnumeration[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
VEHICLE_MODE_ENUMERATION_UNSPECIFIED
Default
VEHICLE_MODE_ENUMERATION_UNSPECIFIED = 0; -
VEHICLE_MODE_ENUMERATION_AIR
[netex_framework/netex_reusableComponents/netex_mode_support.xsd at 107:34]
VEHICLE_MODE_ENUMERATION_AIR = 1; -
VEHICLE_MODE_ENUMERATION_BUS
[netex_framework/netex_reusableComponents/netex_mode_support.xsd at 108:34]
VEHICLE_MODE_ENUMERATION_BUS = 2; -
VEHICLE_MODE_ENUMERATION_COACH
[netex_framework/netex_reusableComponents/netex_mode_support.xsd at 109:36]
VEHICLE_MODE_ENUMERATION_COACH = 3; -
VEHICLE_MODE_ENUMERATION_FERRY
[netex_framework/netex_reusableComponents/netex_mode_support.xsd at 110:36]
VEHICLE_MODE_ENUMERATION_FERRY = 4; -
VEHICLE_MODE_ENUMERATION_METRO
[netex_framework/netex_reusableComponents/netex_mode_support.xsd at 111:36]
VEHICLE_MODE_ENUMERATION_METRO = 5; -
VEHICLE_MODE_ENUMERATION_RAIL
[netex_framework/netex_reusableComponents/netex_mode_support.xsd at 112:35]
VEHICLE_MODE_ENUMERATION_RAIL = 6; -
VEHICLE_MODE_ENUMERATION_TROLLEY_BUS
[netex_framework/netex_reusableComponents/netex_mode_support.xsd at 113:41]
VEHICLE_MODE_ENUMERATION_TROLLEY_BUS = 7; -
VEHICLE_MODE_ENUMERATION_TRAM
[netex_framework/netex_reusableComponents/netex_mode_support.xsd at 114:35]
VEHICLE_MODE_ENUMERATION_TRAM = 8; -
VEHICLE_MODE_ENUMERATION_WATER
[netex_framework/netex_reusableComponents/netex_mode_support.xsd at 115:36]
VEHICLE_MODE_ENUMERATION_WATER = 9; -
VEHICLE_MODE_ENUMERATION_CABLEWAY
[netex_framework/netex_reusableComponents/netex_mode_support.xsd at 116:39]
VEHICLE_MODE_ENUMERATION_CABLEWAY = 10; -
VEHICLE_MODE_ENUMERATION_FUNICULAR
[netex_framework/netex_reusableComponents/netex_mode_support.xsd at 117:40]
VEHICLE_MODE_ENUMERATION_FUNICULAR = 11; -
VEHICLE_MODE_ENUMERATION_LIFT
[netex_framework/netex_reusableComponents/netex_mode_support.xsd at 118:35]
VEHICLE_MODE_ENUMERATION_LIFT = 12; -
VEHICLE_MODE_ENUMERATION_SNOW_AND_ICE
[netex_framework/netex_reusableComponents/netex_mode_support.xsd at 119:41]
VEHICLE_MODE_ENUMERATION_SNOW_AND_ICE = 13; -
VEHICLE_MODE_ENUMERATION_OTHER
[netex_framework/netex_reusableComponents/netex_mode_support.xsd at 120:36]
VEHICLE_MODE_ENUMERATION_OTHER = 14; -
UNRECOGNIZED
-
-
Field Details
-
VEHICLE_MODE_ENUMERATION_UNSPECIFIED_VALUE
public static final int VEHICLE_MODE_ENUMERATION_UNSPECIFIED_VALUEDefault
VEHICLE_MODE_ENUMERATION_UNSPECIFIED = 0;- See Also:
-
VEHICLE_MODE_ENUMERATION_AIR_VALUE
public static final int VEHICLE_MODE_ENUMERATION_AIR_VALUE[netex_framework/netex_reusableComponents/netex_mode_support.xsd at 107:34]
VEHICLE_MODE_ENUMERATION_AIR = 1;- See Also:
-
VEHICLE_MODE_ENUMERATION_BUS_VALUE
public static final int VEHICLE_MODE_ENUMERATION_BUS_VALUE[netex_framework/netex_reusableComponents/netex_mode_support.xsd at 108:34]
VEHICLE_MODE_ENUMERATION_BUS = 2;- See Also:
-
VEHICLE_MODE_ENUMERATION_COACH_VALUE
public static final int VEHICLE_MODE_ENUMERATION_COACH_VALUE[netex_framework/netex_reusableComponents/netex_mode_support.xsd at 109:36]
VEHICLE_MODE_ENUMERATION_COACH = 3;- See Also:
-
VEHICLE_MODE_ENUMERATION_FERRY_VALUE
public static final int VEHICLE_MODE_ENUMERATION_FERRY_VALUE[netex_framework/netex_reusableComponents/netex_mode_support.xsd at 110:36]
VEHICLE_MODE_ENUMERATION_FERRY = 4;- See Also:
-
VEHICLE_MODE_ENUMERATION_METRO_VALUE
public static final int VEHICLE_MODE_ENUMERATION_METRO_VALUE[netex_framework/netex_reusableComponents/netex_mode_support.xsd at 111:36]
VEHICLE_MODE_ENUMERATION_METRO = 5;- See Also:
-
VEHICLE_MODE_ENUMERATION_RAIL_VALUE
public static final int VEHICLE_MODE_ENUMERATION_RAIL_VALUE[netex_framework/netex_reusableComponents/netex_mode_support.xsd at 112:35]
VEHICLE_MODE_ENUMERATION_RAIL = 6;- See Also:
-
VEHICLE_MODE_ENUMERATION_TROLLEY_BUS_VALUE
public static final int VEHICLE_MODE_ENUMERATION_TROLLEY_BUS_VALUE[netex_framework/netex_reusableComponents/netex_mode_support.xsd at 113:41]
VEHICLE_MODE_ENUMERATION_TROLLEY_BUS = 7;- See Also:
-
VEHICLE_MODE_ENUMERATION_TRAM_VALUE
public static final int VEHICLE_MODE_ENUMERATION_TRAM_VALUE[netex_framework/netex_reusableComponents/netex_mode_support.xsd at 114:35]
VEHICLE_MODE_ENUMERATION_TRAM = 8;- See Also:
-
VEHICLE_MODE_ENUMERATION_WATER_VALUE
public static final int VEHICLE_MODE_ENUMERATION_WATER_VALUE[netex_framework/netex_reusableComponents/netex_mode_support.xsd at 115:36]
VEHICLE_MODE_ENUMERATION_WATER = 9;- See Also:
-
VEHICLE_MODE_ENUMERATION_CABLEWAY_VALUE
public static final int VEHICLE_MODE_ENUMERATION_CABLEWAY_VALUE[netex_framework/netex_reusableComponents/netex_mode_support.xsd at 116:39]
VEHICLE_MODE_ENUMERATION_CABLEWAY = 10;- See Also:
-
VEHICLE_MODE_ENUMERATION_FUNICULAR_VALUE
public static final int VEHICLE_MODE_ENUMERATION_FUNICULAR_VALUE[netex_framework/netex_reusableComponents/netex_mode_support.xsd at 117:40]
VEHICLE_MODE_ENUMERATION_FUNICULAR = 11;- See Also:
-
VEHICLE_MODE_ENUMERATION_LIFT_VALUE
public static final int VEHICLE_MODE_ENUMERATION_LIFT_VALUE[netex_framework/netex_reusableComponents/netex_mode_support.xsd at 118:35]
VEHICLE_MODE_ENUMERATION_LIFT = 12;- See Also:
-
VEHICLE_MODE_ENUMERATION_SNOW_AND_ICE_VALUE
public static final int VEHICLE_MODE_ENUMERATION_SNOW_AND_ICE_VALUE[netex_framework/netex_reusableComponents/netex_mode_support.xsd at 119:41]
VEHICLE_MODE_ENUMERATION_SNOW_AND_ICE = 13;- See Also:
-
VEHICLE_MODE_ENUMERATION_OTHER_VALUE
public static final int VEHICLE_MODE_ENUMERATION_OTHER_VALUE[netex_framework/netex_reusableComponents/netex_mode_support.xsd at 120:36]
VEHICLE_MODE_ENUMERATION_OTHER = 14;- 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<VehicleModeEnumeration> 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 VehicleModeEnumeration 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
-