Package uk.org.siri.siri20
Enum SeverityEnumeration
- java.lang.Object
-
- java.lang.Enum<SeverityEnumeration>
-
- uk.org.siri.siri20.SeverityEnumeration
-
- All Implemented Interfaces:
Serializable,Comparable<SeverityEnumeration>
public enum SeverityEnumeration extends Enum<SeverityEnumeration>
Java class for SeverityEnumeration.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="SeverityEnumeration"> <restriction base="{http://www.w3.org/2001/XMLSchema}NMTOKEN"> <enumeration value="pti26_0"/> <enumeration value="unknown"/> <enumeration value="pti26_1"/> <enumeration value="verySlight"/> <enumeration value="pti26_2"/> <enumeration value="slight"/> <enumeration value="pti26_3"/> <enumeration value="normal"/> <enumeration value="pti26_4"/> <enumeration value="severe"/> <enumeration value="pti26_5"/> <enumeration value="verySevere"/> <enumeration value="pti26_6"/> <enumeration value="noImpact"/> <enumeration value="pti26_255"/> <enumeration value="undefined"/> </restriction> </simpleType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description NO_IMPACTTPEG Pti26_6: noImpact.NORMALTPEG Pti26_3: normal.PTI_26_0PTI_26_1PTI_26_2PTI_26_255PTI_26_3PTI_26_4PTI_26_5PTI_26_6SEVERETPEG Pti26_4: severe.SLIGHTTPEG Pti26_2: slight.UNDEFINEDTPEG Pti26_255: undefined.UNKNOWNTPEG Pti26_0: unknown.VERY_SEVERETPEG Pti26_5: verySevere.VERY_SLIGHTTPEG Pti26_1: very slight.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SeverityEnumerationfromValue(String v)Stringvalue()static SeverityEnumerationvalueOf(String name)Returns the enum constant of this type with the specified name.static SeverityEnumeration[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PTI_26_0
public static final SeverityEnumeration PTI_26_0
-
UNKNOWN
public static final SeverityEnumeration UNKNOWN
TPEG Pti26_0: unknown.
-
PTI_26_1
public static final SeverityEnumeration PTI_26_1
-
VERY_SLIGHT
public static final SeverityEnumeration VERY_SLIGHT
TPEG Pti26_1: very slight.
-
PTI_26_2
public static final SeverityEnumeration PTI_26_2
-
SLIGHT
public static final SeverityEnumeration SLIGHT
TPEG Pti26_2: slight.
-
PTI_26_3
public static final SeverityEnumeration PTI_26_3
-
NORMAL
public static final SeverityEnumeration NORMAL
TPEG Pti26_3: normal.
-
PTI_26_4
public static final SeverityEnumeration PTI_26_4
-
SEVERE
public static final SeverityEnumeration SEVERE
TPEG Pti26_4: severe.
-
PTI_26_5
public static final SeverityEnumeration PTI_26_5
-
VERY_SEVERE
public static final SeverityEnumeration VERY_SEVERE
TPEG Pti26_5: verySevere.
-
PTI_26_6
public static final SeverityEnumeration PTI_26_6
-
NO_IMPACT
public static final SeverityEnumeration NO_IMPACT
TPEG Pti26_6: noImpact.
-
PTI_26_255
public static final SeverityEnumeration PTI_26_255
-
UNDEFINED
public static final SeverityEnumeration UNDEFINED
TPEG Pti26_255: undefined.
-
-
Method Detail
-
values
public static SeverityEnumeration[] 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 (SeverityEnumeration c : SeverityEnumeration.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SeverityEnumeration 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 SeverityEnumeration fromValue(String v)
-
-