Package uk.org.netex.www.netex
Enum Class TopographicPlaceTypeEnumeration
java.lang.Object
java.lang.Enum<TopographicPlaceTypeEnumeration>
uk.org.netex.www.netex.TopographicPlaceTypeEnumeration
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<TopographicPlaceTypeEnumeration>,Constable
@Generated
public enum TopographicPlaceTypeEnumeration
extends Enum<TopographicPlaceTypeEnumeration>
implements com.google.protobuf.ProtocolMessageEnum
Allowed values for classifying TOPOGRAPHIC PLACEs. [netex_framework/netex_reusableComponents/netex_topographicPlace_support.xsd at 61:57]Protobuf enum
uk.org.netex.www.netex.TopographicPlaceTypeEnumeration-
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_topographicPlace_support.xsd at 78:35]Locality is a city.[netex_framework/netex_reusableComponents/netex_topographicPlace_support.xsd at 66:40][netex_framework/netex_reusableComponents/netex_topographicPlace_support.xsd at 79:42][netex_framework/netex_reusableComponents/netex_topographicPlace_support.xsd at 68:38][netex_framework/netex_reusableComponents/netex_topographicPlace_support.xsd at 77:37][netex_framework/netex_reusableComponents/netex_topographicPlace_support.xsd at 102:39]Locality is a hamlet.[netex_framework/netex_reusableComponents/netex_topographicPlace_support.xsd at 67:42][netex_framework/netex_reusableComponents/netex_topographicPlace_support.xsd at 85:43]Locality is none of the other types.[netex_framework/netex_reusableComponents/netex_topographicPlace_support.xsd at 103:37]Locality is a place of interest whose name is distinct from another locality.[netex_framework/netex_reusableComponents/netex_topographicPlace_support.xsd at 69:43]Country, province, principality - e.g.[netex_framework/netex_reusableComponents/netex_topographicPlace_support.xsd at 86:38][netex_framework/netex_reusableComponents/netex_topographicPlace_support.xsd at 76:37][netex_framework/netex_reusableComponents/netex_topographicPlace_support.xsd at 70:36]Locality is an urban sub-area.Locality is a town.Locality type is not yet specified.DefaultLocality is a City Centre or Town Centre ZONE of another town or city locality.Locality is a village. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int[netex_framework/netex_reusableComponents/netex_topographicPlace_support.xsd at 78:35]static final intLocality is a city.static final int[netex_framework/netex_reusableComponents/netex_topographicPlace_support.xsd at 66:40]static final int[netex_framework/netex_reusableComponents/netex_topographicPlace_support.xsd at 79:42]static final int[netex_framework/netex_reusableComponents/netex_topographicPlace_support.xsd at 68:38]static final int[netex_framework/netex_reusableComponents/netex_topographicPlace_support.xsd at 77:37]static final int[netex_framework/netex_reusableComponents/netex_topographicPlace_support.xsd at 102:39]static final intLocality is a hamlet.static final int[netex_framework/netex_reusableComponents/netex_topographicPlace_support.xsd at 67:42]static final int[netex_framework/netex_reusableComponents/netex_topographicPlace_support.xsd at 85:43]static final intLocality is none of the other types.static final int[netex_framework/netex_reusableComponents/netex_topographicPlace_support.xsd at 103:37]static final intLocality is a place of interest whose name is distinct from another locality.static final int[netex_framework/netex_reusableComponents/netex_topographicPlace_support.xsd at 69:43]static final intCountry, province, principality - e.g.static final int[netex_framework/netex_reusableComponents/netex_topographicPlace_support.xsd at 86:38]static final int[netex_framework/netex_reusableComponents/netex_topographicPlace_support.xsd at 76:37]static final int[netex_framework/netex_reusableComponents/netex_topographicPlace_support.xsd at 70:36]static final intLocality is an urban sub-area.static final intLocality is a town.static final intLocality type is not yet specified.static final intDefaultstatic final intLocality is a City Centre or Town Centre ZONE of another town or city locality.static final intLocality is a village. -
Method Summary
Modifier and TypeMethodDescriptionforNumber(int value) static com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<TopographicPlaceTypeEnumeration> valueOf(int value) Deprecated.valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this class with the specified name.Returns the enum constant of this class with the specified name.static TopographicPlaceTypeEnumeration[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
TOPOGRAPHIC_PLACE_TYPE_ENUMERATION_UNSPECIFIED
Default
TOPOGRAPHIC_PLACE_TYPE_ENUMERATION_UNSPECIFIED = 0; -
TOPOGRAPHIC_PLACE_TYPE_ENUMERATION_CONTINENT
[netex_framework/netex_reusableComponents/netex_topographicPlace_support.xsd at 66:40]
TOPOGRAPHIC_PLACE_TYPE_ENUMERATION_CONTINENT = 1; -
TOPOGRAPHIC_PLACE_TYPE_ENUMERATION_INTERREGION
[netex_framework/netex_reusableComponents/netex_topographicPlace_support.xsd at 67:42]
TOPOGRAPHIC_PLACE_TYPE_ENUMERATION_INTERREGION = 2; -
TOPOGRAPHIC_PLACE_TYPE_ENUMERATION_COUNTRY
[netex_framework/netex_reusableComponents/netex_topographicPlace_support.xsd at 68:38]
TOPOGRAPHIC_PLACE_TYPE_ENUMERATION_COUNTRY = 3; -
TOPOGRAPHIC_PLACE_TYPE_ENUMERATION_PRINCIPALITY
[netex_framework/netex_reusableComponents/netex_topographicPlace_support.xsd at 69:43]
TOPOGRAPHIC_PLACE_TYPE_ENUMERATION_PRINCIPALITY = 4; -
TOPOGRAPHIC_PLACE_TYPE_ENUMERATION_STATE
[netex_framework/netex_reusableComponents/netex_topographicPlace_support.xsd at 70:36]
TOPOGRAPHIC_PLACE_TYPE_ENUMERATION_STATE = 5; -
TOPOGRAPHIC_PLACE_TYPE_ENUMERATION_PROVINCE
Country, province, principality - e.g. E.g. England, Wales. [netex_framework/netex_reusableComponents/netex_topographicPlace_support.xsd at 71:38]
TOPOGRAPHIC_PLACE_TYPE_ENUMERATION_PROVINCE = 6; -
TOPOGRAPHIC_PLACE_TYPE_ENUMERATION_REGION
[netex_framework/netex_reusableComponents/netex_topographicPlace_support.xsd at 76:37]
TOPOGRAPHIC_PLACE_TYPE_ENUMERATION_REGION = 7; -
TOPOGRAPHIC_PLACE_TYPE_ENUMERATION_COUNTY
[netex_framework/netex_reusableComponents/netex_topographicPlace_support.xsd at 77:37]
TOPOGRAPHIC_PLACE_TYPE_ENUMERATION_COUNTY = 8; -
TOPOGRAPHIC_PLACE_TYPE_ENUMERATION_AREA
[netex_framework/netex_reusableComponents/netex_topographicPlace_support.xsd at 78:35]
TOPOGRAPHIC_PLACE_TYPE_ENUMERATION_AREA = 9; -
TOPOGRAPHIC_PLACE_TYPE_ENUMERATION_CONURBATION
[netex_framework/netex_reusableComponents/netex_topographicPlace_support.xsd at 79:42]
TOPOGRAPHIC_PLACE_TYPE_ENUMERATION_CONURBATION = 10; -
TOPOGRAPHIC_PLACE_TYPE_ENUMERATION_CITY
Locality is a city. [netex_framework/netex_reusableComponents/netex_topographicPlace_support.xsd at 80:34]
TOPOGRAPHIC_PLACE_TYPE_ENUMERATION_CITY = 11; -
TOPOGRAPHIC_PLACE_TYPE_ENUMERATION_MUNICIPALITY
[netex_framework/netex_reusableComponents/netex_topographicPlace_support.xsd at 85:43]
TOPOGRAPHIC_PLACE_TYPE_ENUMERATION_MUNICIPALITY = 12; -
TOPOGRAPHIC_PLACE_TYPE_ENUMERATION_QUARTER
[netex_framework/netex_reusableComponents/netex_topographicPlace_support.xsd at 86:38]
TOPOGRAPHIC_PLACE_TYPE_ENUMERATION_QUARTER = 13; -
TOPOGRAPHIC_PLACE_TYPE_ENUMERATION_SUBURB
Locality is an urban sub-area. [netex_framework/netex_reusableComponents/netex_topographicPlace_support.xsd at 87:36]
TOPOGRAPHIC_PLACE_TYPE_ENUMERATION_SUBURB = 14; -
TOPOGRAPHIC_PLACE_TYPE_ENUMERATION_TOWN
Locality is a town. [netex_framework/netex_reusableComponents/netex_topographicPlace_support.xsd at 92:34]
TOPOGRAPHIC_PLACE_TYPE_ENUMERATION_TOWN = 15; -
TOPOGRAPHIC_PLACE_TYPE_ENUMERATION_URBAN_CENTRE
Locality is a City Centre or Town Centre ZONE of another town or city locality. [netex_framework/netex_reusableComponents/netex_topographicPlace_support.xsd at 97:41]
TOPOGRAPHIC_PLACE_TYPE_ENUMERATION_URBAN_CENTRE = 16; -
TOPOGRAPHIC_PLACE_TYPE_ENUMERATION_DISTRICT
[netex_framework/netex_reusableComponents/netex_topographicPlace_support.xsd at 102:39]
TOPOGRAPHIC_PLACE_TYPE_ENUMERATION_DISTRICT = 17; -
TOPOGRAPHIC_PLACE_TYPE_ENUMERATION_PARISH
[netex_framework/netex_reusableComponents/netex_topographicPlace_support.xsd at 103:37]
TOPOGRAPHIC_PLACE_TYPE_ENUMERATION_PARISH = 18; -
TOPOGRAPHIC_PLACE_TYPE_ENUMERATION_VILLAGE
Locality is a village. [netex_framework/netex_reusableComponents/netex_topographicPlace_support.xsd at 104:37]
TOPOGRAPHIC_PLACE_TYPE_ENUMERATION_VILLAGE = 19; -
TOPOGRAPHIC_PLACE_TYPE_ENUMERATION_HAMLET
Locality is a hamlet. [netex_framework/netex_reusableComponents/netex_topographicPlace_support.xsd at 109:36]
TOPOGRAPHIC_PLACE_TYPE_ENUMERATION_HAMLET = 20; -
TOPOGRAPHIC_PLACE_TYPE_ENUMERATION_PLACE_OF_INTEREST
public static final TopographicPlaceTypeEnumeration TOPOGRAPHIC_PLACE_TYPE_ENUMERATION_PLACE_OF_INTERESTLocality is a place of interest whose name is distinct from another locality. [netex_framework/netex_reusableComponents/netex_topographicPlace_support.xsd at 114:45]
TOPOGRAPHIC_PLACE_TYPE_ENUMERATION_PLACE_OF_INTEREST = 21; -
TOPOGRAPHIC_PLACE_TYPE_ENUMERATION_OTHER
Locality is none of the other types. [netex_framework/netex_reusableComponents/netex_topographicPlace_support.xsd at 119:35]
TOPOGRAPHIC_PLACE_TYPE_ENUMERATION_OTHER = 22; -
TOPOGRAPHIC_PLACE_TYPE_ENUMERATION_UNRECORDED
Locality type is not yet specified. [netex_framework/netex_reusableComponents/netex_topographicPlace_support.xsd at 124:40]
TOPOGRAPHIC_PLACE_TYPE_ENUMERATION_UNRECORDED = 23; -
UNRECOGNIZED
-
-
Field Details
-
TOPOGRAPHIC_PLACE_TYPE_ENUMERATION_UNSPECIFIED_VALUE
public static final int TOPOGRAPHIC_PLACE_TYPE_ENUMERATION_UNSPECIFIED_VALUEDefault
TOPOGRAPHIC_PLACE_TYPE_ENUMERATION_UNSPECIFIED = 0;- See Also:
-
TOPOGRAPHIC_PLACE_TYPE_ENUMERATION_CONTINENT_VALUE
public static final int TOPOGRAPHIC_PLACE_TYPE_ENUMERATION_CONTINENT_VALUE[netex_framework/netex_reusableComponents/netex_topographicPlace_support.xsd at 66:40]
TOPOGRAPHIC_PLACE_TYPE_ENUMERATION_CONTINENT = 1;- See Also:
-
TOPOGRAPHIC_PLACE_TYPE_ENUMERATION_INTERREGION_VALUE
public static final int TOPOGRAPHIC_PLACE_TYPE_ENUMERATION_INTERREGION_VALUE[netex_framework/netex_reusableComponents/netex_topographicPlace_support.xsd at 67:42]
TOPOGRAPHIC_PLACE_TYPE_ENUMERATION_INTERREGION = 2;- See Also:
-
TOPOGRAPHIC_PLACE_TYPE_ENUMERATION_COUNTRY_VALUE
public static final int TOPOGRAPHIC_PLACE_TYPE_ENUMERATION_COUNTRY_VALUE[netex_framework/netex_reusableComponents/netex_topographicPlace_support.xsd at 68:38]
TOPOGRAPHIC_PLACE_TYPE_ENUMERATION_COUNTRY = 3;- See Also:
-
TOPOGRAPHIC_PLACE_TYPE_ENUMERATION_PRINCIPALITY_VALUE
public static final int TOPOGRAPHIC_PLACE_TYPE_ENUMERATION_PRINCIPALITY_VALUE[netex_framework/netex_reusableComponents/netex_topographicPlace_support.xsd at 69:43]
TOPOGRAPHIC_PLACE_TYPE_ENUMERATION_PRINCIPALITY = 4;- See Also:
-
TOPOGRAPHIC_PLACE_TYPE_ENUMERATION_STATE_VALUE
public static final int TOPOGRAPHIC_PLACE_TYPE_ENUMERATION_STATE_VALUE[netex_framework/netex_reusableComponents/netex_topographicPlace_support.xsd at 70:36]
TOPOGRAPHIC_PLACE_TYPE_ENUMERATION_STATE = 5;- See Also:
-
TOPOGRAPHIC_PLACE_TYPE_ENUMERATION_PROVINCE_VALUE
public static final int TOPOGRAPHIC_PLACE_TYPE_ENUMERATION_PROVINCE_VALUECountry, province, principality - e.g. E.g. England, Wales. [netex_framework/netex_reusableComponents/netex_topographicPlace_support.xsd at 71:38]
TOPOGRAPHIC_PLACE_TYPE_ENUMERATION_PROVINCE = 6;- See Also:
-
TOPOGRAPHIC_PLACE_TYPE_ENUMERATION_REGION_VALUE
public static final int TOPOGRAPHIC_PLACE_TYPE_ENUMERATION_REGION_VALUE[netex_framework/netex_reusableComponents/netex_topographicPlace_support.xsd at 76:37]
TOPOGRAPHIC_PLACE_TYPE_ENUMERATION_REGION = 7;- See Also:
-
TOPOGRAPHIC_PLACE_TYPE_ENUMERATION_COUNTY_VALUE
public static final int TOPOGRAPHIC_PLACE_TYPE_ENUMERATION_COUNTY_VALUE[netex_framework/netex_reusableComponents/netex_topographicPlace_support.xsd at 77:37]
TOPOGRAPHIC_PLACE_TYPE_ENUMERATION_COUNTY = 8;- See Also:
-
TOPOGRAPHIC_PLACE_TYPE_ENUMERATION_AREA_VALUE
public static final int TOPOGRAPHIC_PLACE_TYPE_ENUMERATION_AREA_VALUE[netex_framework/netex_reusableComponents/netex_topographicPlace_support.xsd at 78:35]
TOPOGRAPHIC_PLACE_TYPE_ENUMERATION_AREA = 9;- See Also:
-
TOPOGRAPHIC_PLACE_TYPE_ENUMERATION_CONURBATION_VALUE
public static final int TOPOGRAPHIC_PLACE_TYPE_ENUMERATION_CONURBATION_VALUE[netex_framework/netex_reusableComponents/netex_topographicPlace_support.xsd at 79:42]
TOPOGRAPHIC_PLACE_TYPE_ENUMERATION_CONURBATION = 10;- See Also:
-
TOPOGRAPHIC_PLACE_TYPE_ENUMERATION_CITY_VALUE
public static final int TOPOGRAPHIC_PLACE_TYPE_ENUMERATION_CITY_VALUELocality is a city. [netex_framework/netex_reusableComponents/netex_topographicPlace_support.xsd at 80:34]
TOPOGRAPHIC_PLACE_TYPE_ENUMERATION_CITY = 11;- See Also:
-
TOPOGRAPHIC_PLACE_TYPE_ENUMERATION_MUNICIPALITY_VALUE
public static final int TOPOGRAPHIC_PLACE_TYPE_ENUMERATION_MUNICIPALITY_VALUE[netex_framework/netex_reusableComponents/netex_topographicPlace_support.xsd at 85:43]
TOPOGRAPHIC_PLACE_TYPE_ENUMERATION_MUNICIPALITY = 12;- See Also:
-
TOPOGRAPHIC_PLACE_TYPE_ENUMERATION_QUARTER_VALUE
public static final int TOPOGRAPHIC_PLACE_TYPE_ENUMERATION_QUARTER_VALUE[netex_framework/netex_reusableComponents/netex_topographicPlace_support.xsd at 86:38]
TOPOGRAPHIC_PLACE_TYPE_ENUMERATION_QUARTER = 13;- See Also:
-
TOPOGRAPHIC_PLACE_TYPE_ENUMERATION_SUBURB_VALUE
public static final int TOPOGRAPHIC_PLACE_TYPE_ENUMERATION_SUBURB_VALUELocality is an urban sub-area. [netex_framework/netex_reusableComponents/netex_topographicPlace_support.xsd at 87:36]
TOPOGRAPHIC_PLACE_TYPE_ENUMERATION_SUBURB = 14;- See Also:
-
TOPOGRAPHIC_PLACE_TYPE_ENUMERATION_TOWN_VALUE
public static final int TOPOGRAPHIC_PLACE_TYPE_ENUMERATION_TOWN_VALUELocality is a town. [netex_framework/netex_reusableComponents/netex_topographicPlace_support.xsd at 92:34]
TOPOGRAPHIC_PLACE_TYPE_ENUMERATION_TOWN = 15;- See Also:
-
TOPOGRAPHIC_PLACE_TYPE_ENUMERATION_URBAN_CENTRE_VALUE
public static final int TOPOGRAPHIC_PLACE_TYPE_ENUMERATION_URBAN_CENTRE_VALUELocality is a City Centre or Town Centre ZONE of another town or city locality. [netex_framework/netex_reusableComponents/netex_topographicPlace_support.xsd at 97:41]
TOPOGRAPHIC_PLACE_TYPE_ENUMERATION_URBAN_CENTRE = 16;- See Also:
-
TOPOGRAPHIC_PLACE_TYPE_ENUMERATION_DISTRICT_VALUE
public static final int TOPOGRAPHIC_PLACE_TYPE_ENUMERATION_DISTRICT_VALUE[netex_framework/netex_reusableComponents/netex_topographicPlace_support.xsd at 102:39]
TOPOGRAPHIC_PLACE_TYPE_ENUMERATION_DISTRICT = 17;- See Also:
-
TOPOGRAPHIC_PLACE_TYPE_ENUMERATION_PARISH_VALUE
public static final int TOPOGRAPHIC_PLACE_TYPE_ENUMERATION_PARISH_VALUE[netex_framework/netex_reusableComponents/netex_topographicPlace_support.xsd at 103:37]
TOPOGRAPHIC_PLACE_TYPE_ENUMERATION_PARISH = 18;- See Also:
-
TOPOGRAPHIC_PLACE_TYPE_ENUMERATION_VILLAGE_VALUE
public static final int TOPOGRAPHIC_PLACE_TYPE_ENUMERATION_VILLAGE_VALUELocality is a village. [netex_framework/netex_reusableComponents/netex_topographicPlace_support.xsd at 104:37]
TOPOGRAPHIC_PLACE_TYPE_ENUMERATION_VILLAGE = 19;- See Also:
-
TOPOGRAPHIC_PLACE_TYPE_ENUMERATION_HAMLET_VALUE
public static final int TOPOGRAPHIC_PLACE_TYPE_ENUMERATION_HAMLET_VALUELocality is a hamlet. [netex_framework/netex_reusableComponents/netex_topographicPlace_support.xsd at 109:36]
TOPOGRAPHIC_PLACE_TYPE_ENUMERATION_HAMLET = 20;- See Also:
-
TOPOGRAPHIC_PLACE_TYPE_ENUMERATION_PLACE_OF_INTEREST_VALUE
public static final int TOPOGRAPHIC_PLACE_TYPE_ENUMERATION_PLACE_OF_INTEREST_VALUELocality is a place of interest whose name is distinct from another locality. [netex_framework/netex_reusableComponents/netex_topographicPlace_support.xsd at 114:45]
TOPOGRAPHIC_PLACE_TYPE_ENUMERATION_PLACE_OF_INTEREST = 21;- See Also:
-
TOPOGRAPHIC_PLACE_TYPE_ENUMERATION_OTHER_VALUE
public static final int TOPOGRAPHIC_PLACE_TYPE_ENUMERATION_OTHER_VALUELocality is none of the other types. [netex_framework/netex_reusableComponents/netex_topographicPlace_support.xsd at 119:35]
TOPOGRAPHIC_PLACE_TYPE_ENUMERATION_OTHER = 22;- See Also:
-
TOPOGRAPHIC_PLACE_TYPE_ENUMERATION_UNRECORDED_VALUE
public static final int TOPOGRAPHIC_PLACE_TYPE_ENUMERATION_UNRECORDED_VALUELocality type is not yet specified. [netex_framework/netex_reusableComponents/netex_topographicPlace_support.xsd at 124:40]
TOPOGRAPHIC_PLACE_TYPE_ENUMERATION_UNRECORDED = 23;- 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<TopographicPlaceTypeEnumeration> 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 TopographicPlaceTypeEnumeration 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
-