Package uk.org.siri.siri20
Enum AreaOfInterestEnumeration
- java.lang.Object
-
- java.lang.Enum<AreaOfInterestEnumeration>
-
- uk.org.siri.siri20.AreaOfInterestEnumeration
-
- All Implemented Interfaces:
Serializable,Comparable<AreaOfInterestEnumeration>
public enum AreaOfInterestEnumeration extends Enum<AreaOfInterestEnumeration>
Java class for AreaOfInterestEnumeration.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="AreaOfInterestEnumeration"> <restriction base="{http://www.w3.org/2001/XMLSchema}NMTOKEN"> <enumeration value="continentWide"/> <enumeration value="national"/> <enumeration value="neighboroughingCountries"/> <enumeration value="regional"/> <enumeration value="notSpecified"/> </restriction> </simpleType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CONTINENT_WIDENATIONALNEIGHBOROUGHING_COUNTRIESNOT_SPECIFIEDREGIONAL
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AreaOfInterestEnumerationfromValue(String v)Stringvalue()static AreaOfInterestEnumerationvalueOf(String name)Returns the enum constant of this type with the specified name.static AreaOfInterestEnumeration[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CONTINENT_WIDE
public static final AreaOfInterestEnumeration CONTINENT_WIDE
-
NATIONAL
public static final AreaOfInterestEnumeration NATIONAL
-
NEIGHBOROUGHING_COUNTRIES
public static final AreaOfInterestEnumeration NEIGHBOROUGHING_COUNTRIES
-
REGIONAL
public static final AreaOfInterestEnumeration REGIONAL
-
NOT_SPECIFIED
public static final AreaOfInterestEnumeration NOT_SPECIFIED
-
-
Method Detail
-
values
public static AreaOfInterestEnumeration[] 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 (AreaOfInterestEnumeration c : AreaOfInterestEnumeration.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AreaOfInterestEnumeration 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 AreaOfInterestEnumeration fromValue(String v)
-
-