Package uk.org.netex.www.netex
Enum Class TimeOfDayEnumeration
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<TimeOfDayEnumeration>,Constable
public enum TimeOfDayEnumeration
extends Enum<TimeOfDayEnumeration>
implements com.google.protobuf.ProtocolMessageEnum
Allowed values for TimeOfDay. [netex_framework/netex_reusableComponents/netex_dayType_propertiesOfDay.xsd at 276:46]Protobuf enum
uk.org.netex.www.netex.TimeOfDayEnumeration-
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_dayType_propertiesOfDay.xsd at 286:40][netex_framework/netex_reusableComponents/netex_dayType_propertiesOfDay.xsd at 285:42][netex_framework/netex_reusableComponents/netex_dayType_propertiesOfDay.xsd at 281:35][netex_framework/netex_reusableComponents/netex_dayType_propertiesOfDay.xsd at 282:35][netex_framework/netex_reusableComponents/netex_dayType_propertiesOfDay.xsd at 284:39][netex_framework/netex_reusableComponents/netex_dayType_propertiesOfDay.xsd at 283:35]Default -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int[netex_framework/netex_reusableComponents/netex_dayType_propertiesOfDay.xsd at 286:40]static final int[netex_framework/netex_reusableComponents/netex_dayType_propertiesOfDay.xsd at 285:42]static final int[netex_framework/netex_reusableComponents/netex_dayType_propertiesOfDay.xsd at 281:35]static final int[netex_framework/netex_reusableComponents/netex_dayType_propertiesOfDay.xsd at 282:35]static final int[netex_framework/netex_reusableComponents/netex_dayType_propertiesOfDay.xsd at 284:39]static final int[netex_framework/netex_reusableComponents/netex_dayType_propertiesOfDay.xsd at 283:35]static final intDefault -
Method Summary
Modifier and TypeMethodDescriptionstatic TimeOfDayEnumerationforNumber(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<TimeOfDayEnumeration> static TimeOfDayEnumerationvalueOf(int value) Deprecated.static TimeOfDayEnumerationvalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this class with the specified name.static TimeOfDayEnumerationReturns the enum constant of this class with the specified name.static TimeOfDayEnumeration[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
TIME_OF_DAY_ENUMERATION_UNSPECIFIED
Default
TIME_OF_DAY_ENUMERATION_UNSPECIFIED = 0; -
TIME_OF_DAY_ENUMERATION_DAWN
[netex_framework/netex_reusableComponents/netex_dayType_propertiesOfDay.xsd at 281:35]
TIME_OF_DAY_ENUMERATION_DAWN = 1; -
TIME_OF_DAY_ENUMERATION_DUSK
[netex_framework/netex_reusableComponents/netex_dayType_propertiesOfDay.xsd at 282:35]
TIME_OF_DAY_ENUMERATION_DUSK = 2; -
TIME_OF_DAY_ENUMERATION_NOON
[netex_framework/netex_reusableComponents/netex_dayType_propertiesOfDay.xsd at 283:35]
TIME_OF_DAY_ENUMERATION_NOON = 3; -
TIME_OF_DAY_ENUMERATION_MIDNIGHT
[netex_framework/netex_reusableComponents/netex_dayType_propertiesOfDay.xsd at 284:39]
TIME_OF_DAY_ENUMERATION_MIDNIGHT = 4; -
TIME_OF_DAY_ENUMERATION_CURFEW_START
[netex_framework/netex_reusableComponents/netex_dayType_propertiesOfDay.xsd at 285:42]
TIME_OF_DAY_ENUMERATION_CURFEW_START = 5; -
TIME_OF_DAY_ENUMERATION_CURFEW_END
[netex_framework/netex_reusableComponents/netex_dayType_propertiesOfDay.xsd at 286:40]
TIME_OF_DAY_ENUMERATION_CURFEW_END = 6; -
UNRECOGNIZED
-
-
Field Details
-
TIME_OF_DAY_ENUMERATION_UNSPECIFIED_VALUE
public static final int TIME_OF_DAY_ENUMERATION_UNSPECIFIED_VALUEDefault
TIME_OF_DAY_ENUMERATION_UNSPECIFIED = 0;- See Also:
-
TIME_OF_DAY_ENUMERATION_DAWN_VALUE
public static final int TIME_OF_DAY_ENUMERATION_DAWN_VALUE[netex_framework/netex_reusableComponents/netex_dayType_propertiesOfDay.xsd at 281:35]
TIME_OF_DAY_ENUMERATION_DAWN = 1;- See Also:
-
TIME_OF_DAY_ENUMERATION_DUSK_VALUE
public static final int TIME_OF_DAY_ENUMERATION_DUSK_VALUE[netex_framework/netex_reusableComponents/netex_dayType_propertiesOfDay.xsd at 282:35]
TIME_OF_DAY_ENUMERATION_DUSK = 2;- See Also:
-
TIME_OF_DAY_ENUMERATION_NOON_VALUE
public static final int TIME_OF_DAY_ENUMERATION_NOON_VALUE[netex_framework/netex_reusableComponents/netex_dayType_propertiesOfDay.xsd at 283:35]
TIME_OF_DAY_ENUMERATION_NOON = 3;- See Also:
-
TIME_OF_DAY_ENUMERATION_MIDNIGHT_VALUE
public static final int TIME_OF_DAY_ENUMERATION_MIDNIGHT_VALUE[netex_framework/netex_reusableComponents/netex_dayType_propertiesOfDay.xsd at 284:39]
TIME_OF_DAY_ENUMERATION_MIDNIGHT = 4;- See Also:
-
TIME_OF_DAY_ENUMERATION_CURFEW_START_VALUE
public static final int TIME_OF_DAY_ENUMERATION_CURFEW_START_VALUE[netex_framework/netex_reusableComponents/netex_dayType_propertiesOfDay.xsd at 285:42]
TIME_OF_DAY_ENUMERATION_CURFEW_START = 5;- See Also:
-
TIME_OF_DAY_ENUMERATION_CURFEW_END_VALUE
public static final int TIME_OF_DAY_ENUMERATION_CURFEW_END_VALUE[netex_framework/netex_reusableComponents/netex_dayType_propertiesOfDay.xsd at 286:40]
TIME_OF_DAY_ENUMERATION_CURFEW_END = 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
-
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 TimeOfDayEnumeration 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
-