Enum TPEGLoc03AreaDescriptorSubtypeEnum
- java.lang.Object
-
- java.lang.Enum<TPEGLoc03AreaDescriptorSubtypeEnum>
-
- eu.datex2.siri14.schema._1_0._1_0.TPEGLoc03AreaDescriptorSubtypeEnum
-
- All Implemented Interfaces:
Serializable,Comparable<TPEGLoc03AreaDescriptorSubtypeEnum>
public enum TPEGLoc03AreaDescriptorSubtypeEnum extends Enum<TPEGLoc03AreaDescriptorSubtypeEnum>
Java class for TPEGLoc03AreaDescriptorSubtypeEnum.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="TPEGLoc03AreaDescriptorSubtypeEnum"> <restriction base="{http://www.w3.org/2001/XMLSchema}string"> <enumeration value="administrativeAreaName"/> <enumeration value="administrativeReferenceName"/> <enumeration value="areaName"/> <enumeration value="countyName"/> <enumeration value="lakeName"/> <enumeration value="nationName"/> <enumeration value="policeForceControlAreaName"/> <enumeration value="regionName"/> <enumeration value="seaName"/> <enumeration value="townName"/> <enumeration value="other"/> </restriction> </simpleType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ADMINISTRATIVE_AREA_NAMEName of an administrative area.ADMINISTRATIVE_REFERENCE_NAMEReference name by which administrative area is known.AREA_NAMEName of area.COUNTY_NAMEName of county (administrative sub-division).LAKE_NAMEName of lake.NATION_NAMEName of nation (e.g.OTHEROther than as defined in this enumeration.POLICE_FORCE_CONTROL_AREA_NAMEName of a police force control area.REGION_NAMEName of a geographic region.SEA_NAMEName of a sea.TOWN_NAMEName of a town.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static TPEGLoc03AreaDescriptorSubtypeEnumfromValue(String v)Stringvalue()static TPEGLoc03AreaDescriptorSubtypeEnumvalueOf(String name)Returns the enum constant of this type with the specified name.static TPEGLoc03AreaDescriptorSubtypeEnum[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ADMINISTRATIVE_AREA_NAME
public static final TPEGLoc03AreaDescriptorSubtypeEnum ADMINISTRATIVE_AREA_NAME
Name of an administrative area.
-
ADMINISTRATIVE_REFERENCE_NAME
public static final TPEGLoc03AreaDescriptorSubtypeEnum ADMINISTRATIVE_REFERENCE_NAME
Reference name by which administrative area is known.
-
AREA_NAME
public static final TPEGLoc03AreaDescriptorSubtypeEnum AREA_NAME
Name of area.
-
COUNTY_NAME
public static final TPEGLoc03AreaDescriptorSubtypeEnum COUNTY_NAME
Name of county (administrative sub-division).
-
LAKE_NAME
public static final TPEGLoc03AreaDescriptorSubtypeEnum LAKE_NAME
Name of lake.
-
NATION_NAME
public static final TPEGLoc03AreaDescriptorSubtypeEnum NATION_NAME
Name of nation (e.g. Wales) which is a sub-division of a ISO recognised country.
-
POLICE_FORCE_CONTROL_AREA_NAME
public static final TPEGLoc03AreaDescriptorSubtypeEnum POLICE_FORCE_CONTROL_AREA_NAME
Name of a police force control area.
-
REGION_NAME
public static final TPEGLoc03AreaDescriptorSubtypeEnum REGION_NAME
Name of a geographic region.
-
SEA_NAME
public static final TPEGLoc03AreaDescriptorSubtypeEnum SEA_NAME
Name of a sea.
-
TOWN_NAME
public static final TPEGLoc03AreaDescriptorSubtypeEnum TOWN_NAME
Name of a town.
-
OTHER
public static final TPEGLoc03AreaDescriptorSubtypeEnum OTHER
Other than as defined in this enumeration.
-
-
Method Detail
-
values
public static TPEGLoc03AreaDescriptorSubtypeEnum[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (TPEGLoc03AreaDescriptorSubtypeEnum c : TPEGLoc03AreaDescriptorSubtypeEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TPEGLoc03AreaDescriptorSubtypeEnum valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException- if the argument is null
-
value
public String value()
-
fromValue
public static TPEGLoc03AreaDescriptorSubtypeEnum fromValue(String v)
-
-