Package uk.org.siri.siri21
Enum AudienceEnumeration
- java.lang.Object
-
- java.lang.Enum<AudienceEnumeration>
-
- uk.org.siri.siri21.AudienceEnumeration
-
- All Implemented Interfaces:
Serializable,Comparable<AudienceEnumeration>
public enum AudienceEnumeration extends Enum<AudienceEnumeration>
Java class for AudienceEnumeration.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="AudienceEnumeration"> <restriction base="{http://www.w3.org/2001/XMLSchema}NMTOKEN"> <enumeration value="public"/> <enumeration value="emergencyServices"/> <enumeration value="staff"/> <enumeration value="stationStaff"/> <enumeration value="management"/> <enumeration value="authorities"/> <enumeration value="infoServices"/> <enumeration value="transportOperators"/> </restriction> </simpleType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AUTHORITIESEMERGENCY_SERVICESINFO_SERVICESMANAGEMENTPUBLICSTAFFSTATION_STAFFTRANSPORT_OPERATORS
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AudienceEnumerationfromValue(String v)Stringvalue()static AudienceEnumerationvalueOf(String name)Returns the enum constant of this type with the specified name.static AudienceEnumeration[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PUBLIC
public static final AudienceEnumeration PUBLIC
-
EMERGENCY_SERVICES
public static final AudienceEnumeration EMERGENCY_SERVICES
-
STAFF
public static final AudienceEnumeration STAFF
-
STATION_STAFF
public static final AudienceEnumeration STATION_STAFF
-
MANAGEMENT
public static final AudienceEnumeration MANAGEMENT
-
AUTHORITIES
public static final AudienceEnumeration AUTHORITIES
-
INFO_SERVICES
public static final AudienceEnumeration INFO_SERVICES
-
TRANSPORT_OPERATORS
public static final AudienceEnumeration TRANSPORT_OPERATORS
-
-
Method Detail
-
values
public static AudienceEnumeration[] 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 (AudienceEnumeration c : AudienceEnumeration.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AudienceEnumeration 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 AudienceEnumeration fromValue(String v)
-
-