Package uk.org.siri.siri14
Enum EquipmentSubReasonEnumeration
- java.lang.Object
-
- java.lang.Enum<EquipmentSubReasonEnumeration>
-
- uk.org.siri.siri14.EquipmentSubReasonEnumeration
-
- All Implemented Interfaces:
Serializable,Comparable<EquipmentSubReasonEnumeration>
public enum EquipmentSubReasonEnumeration extends Enum<EquipmentSubReasonEnumeration>
Java class for EquipmentSubReasonEnumeration.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="EquipmentSubReasonEnumeration"> <restriction base="{http://www.w3.org/2001/XMLSchema}NMTOKEN"> <enumeration value="staffSickness"/> <enumeration value="staffInjury"/> <enumeration value="unofficialIndustrialAction"/> </restriction> </simpleType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description STAFF_INJURYSTAFF_SICKNESSTPEG Pti_19_25 bridge strikeUNOFFICIAL_INDUSTRIAL_ACTIONTPEG Pti_19_26 overhead obstruction
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static EquipmentSubReasonEnumerationfromValue(String v)Stringvalue()static EquipmentSubReasonEnumerationvalueOf(String name)Returns the enum constant of this type with the specified name.static EquipmentSubReasonEnumeration[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
STAFF_SICKNESS
public static final EquipmentSubReasonEnumeration STAFF_SICKNESS
TPEG Pti_19_25 bridge strike
-
STAFF_INJURY
public static final EquipmentSubReasonEnumeration STAFF_INJURY
-
UNOFFICIAL_INDUSTRIAL_ACTION
public static final EquipmentSubReasonEnumeration UNOFFICIAL_INDUSTRIAL_ACTION
TPEG Pti_19_26 overhead obstruction
-
-
Method Detail
-
values
public static EquipmentSubReasonEnumeration[] 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 (EquipmentSubReasonEnumeration c : EquipmentSubReasonEnumeration.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static EquipmentSubReasonEnumeration 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 EquipmentSubReasonEnumeration fromValue(String v)
-
-