Package uk.org.siri.siri21
Enum ReportTypeEnumeration
- java.lang.Object
-
- java.lang.Enum<ReportTypeEnumeration>
-
- uk.org.siri.siri21.ReportTypeEnumeration
-
- All Implemented Interfaces:
Serializable,Comparable<ReportTypeEnumeration>
public enum ReportTypeEnumeration extends Enum<ReportTypeEnumeration>
Java class for ReportTypeEnumeration.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="ReportTypeEnumeration"> <restriction base="{http://www.w3.org/2001/XMLSchema}NMTOKEN"> <enumeration value="unknown"/> <enumeration value="incident"/> <enumeration value="general"/> <enumeration value="operator"/> <enumeration value="network"/> <enumeration value="stationTerminal"/> <enumeration value="stopPoint"/> <enumeration value="connectionLink"/> <enumeration value="point"/> <enumeration value="route"/> <enumeration value="individualService"/> <enumeration value="undefined"/> </restriction> </simpleType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CONNECTION_LINKTPEG Pti27_2_2, connection linkGENERALTPEG Pti27_1_1, generalINCIDENTTPEG Pti27_1, incidentINDIVIDUAL_SERVICETPEG Pti27_4, individual serviceNETWORKTPEG Pti27_1_3, networkOPERATORTPEG Pti27_1_2, operatorPOINTTPEG Pti27_2_3, pointROUTETPEG Pti27_3, routeSTATION_TERMINALTPEG Pti27_2, station terminalSTOP_POINTTPEG Pti27_2_1, stoppointUNDEFINEDTPEG Pti27_255, undefined typeUNKNOWNTPEG Pti27_0, unknown
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ReportTypeEnumerationfromValue(String v)Stringvalue()static ReportTypeEnumerationvalueOf(String name)Returns the enum constant of this type with the specified name.static ReportTypeEnumeration[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UNKNOWN
public static final ReportTypeEnumeration UNKNOWN
TPEG Pti27_0, unknown
-
INCIDENT
public static final ReportTypeEnumeration INCIDENT
TPEG Pti27_1, incident
-
GENERAL
public static final ReportTypeEnumeration GENERAL
TPEG Pti27_1_1, general
-
OPERATOR
public static final ReportTypeEnumeration OPERATOR
TPEG Pti27_1_2, operator
-
NETWORK
public static final ReportTypeEnumeration NETWORK
TPEG Pti27_1_3, network
-
STATION_TERMINAL
public static final ReportTypeEnumeration STATION_TERMINAL
TPEG Pti27_2, station terminal
-
STOP_POINT
public static final ReportTypeEnumeration STOP_POINT
TPEG Pti27_2_1, stoppoint
-
CONNECTION_LINK
public static final ReportTypeEnumeration CONNECTION_LINK
TPEG Pti27_2_2, connection link
-
POINT
public static final ReportTypeEnumeration POINT
TPEG Pti27_2_3, point
-
ROUTE
public static final ReportTypeEnumeration ROUTE
TPEG Pti27_3, route
-
INDIVIDUAL_SERVICE
public static final ReportTypeEnumeration INDIVIDUAL_SERVICE
TPEG Pti27_4, individual service
-
UNDEFINED
public static final ReportTypeEnumeration UNDEFINED
TPEG Pti27_255, undefined type
-
-
Method Detail
-
values
public static ReportTypeEnumeration[] 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 (ReportTypeEnumeration c : ReportTypeEnumeration.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ReportTypeEnumeration 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 ReportTypeEnumeration fromValue(String v)
-
-