Package uk.org.siri.siri13
Enum PersonnelReasonEnumeration
- java.lang.Object
-
- java.lang.Enum<PersonnelReasonEnumeration>
-
- uk.org.siri.siri13.PersonnelReasonEnumeration
-
- All Implemented Interfaces:
Serializable,Comparable<PersonnelReasonEnumeration>
public enum PersonnelReasonEnumeration extends Enum<PersonnelReasonEnumeration>
Java class for PersonnelReasonEnumeration.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="PersonnelReasonEnumeration"> <restriction base="{http://www.w3.org/2001/XMLSchema}NMTOKEN"> <enumeration value="pti20_0"/> <enumeration value="unknown"/> <enumeration value="pti20_1"/> <enumeration value="staffSickness"/> <enumeration value="pti20_1_Alias_1"/> <enumeration value="staffInjury"/> <enumeration value="pti20_1_Alias_2"/> <enumeration value="contractorStaffInjury"/> <enumeration value="pti20_2"/> <enumeration value="staffAbsence"/> <enumeration value="pti20_3"/> <enumeration value="staffInWrongPlace"/> <enumeration value="pti20_4"/> <enumeration value="staffShortage"/> <enumeration value="pti20_5"/> <enumeration value="industrialAction"/> <enumeration value="pti20_5_Alias_1"/> <enumeration value="unofficialIndustrialAction"/> <enumeration value="pti20_6"/> <enumeration value="workToRule"/> <enumeration value="pti20_255"/> <enumeration value="undefinedPersonnelProblem"/> </restriction> </simpleType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CONTRACTOR_STAFF_INJURYcontractor staff injury alias to TPEG Pti20_1 staff sicknessINDUSTRIAL_ACTIONTPEG Pti20_5 industrial actionPTI_20_0PTI_20_1PTI_20_1_ALIAS_1PTI_20_1_ALIAS_2PTI_20_2PTI_20_255PTI_20_3PTI_20_4PTI_20_5PTI_20_5_ALIAS_1PTI_20_6STAFF_ABSENCETPEG Pti20_2 staff absenceSTAFF_IN_WRONG_PLACETPEG Pti20_3 staff in wrong placeSTAFF_INJURYstaff injury alias to TPEG Pti20_1 staff sicknessSTAFF_SHORTAGETPEG Pti20_4 staff shortageSTAFF_SICKNESSTPEG Pti20_1 staff sicknessUNDEFINED_PERSONNEL_PROBLEMTPEG Pti20_255 undefined personnel problemUNKNOWNTPEG Pti20_0 unknownUNOFFICIAL_INDUSTRIAL_ACTIONUnofffical action - alias to TPEG Pti20_5 industrial actionWORK_TO_RULETPEG Pti20_6 work to rule
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PersonnelReasonEnumerationfromValue(String v)Stringvalue()static PersonnelReasonEnumerationvalueOf(String name)Returns the enum constant of this type with the specified name.static PersonnelReasonEnumeration[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PTI_20_0
public static final PersonnelReasonEnumeration PTI_20_0
-
UNKNOWN
public static final PersonnelReasonEnumeration UNKNOWN
TPEG Pti20_0 unknown
-
PTI_20_1
public static final PersonnelReasonEnumeration PTI_20_1
-
STAFF_SICKNESS
public static final PersonnelReasonEnumeration STAFF_SICKNESS
TPEG Pti20_1 staff sickness
-
PTI_20_1_ALIAS_1
public static final PersonnelReasonEnumeration PTI_20_1_ALIAS_1
-
STAFF_INJURY
public static final PersonnelReasonEnumeration STAFF_INJURY
staff injury alias to TPEG Pti20_1 staff sickness
-
PTI_20_1_ALIAS_2
public static final PersonnelReasonEnumeration PTI_20_1_ALIAS_2
-
CONTRACTOR_STAFF_INJURY
public static final PersonnelReasonEnumeration CONTRACTOR_STAFF_INJURY
contractor staff injury alias to TPEG Pti20_1 staff sickness
-
PTI_20_2
public static final PersonnelReasonEnumeration PTI_20_2
-
STAFF_ABSENCE
public static final PersonnelReasonEnumeration STAFF_ABSENCE
TPEG Pti20_2 staff absence
-
PTI_20_3
public static final PersonnelReasonEnumeration PTI_20_3
-
STAFF_IN_WRONG_PLACE
public static final PersonnelReasonEnumeration STAFF_IN_WRONG_PLACE
TPEG Pti20_3 staff in wrong place
-
PTI_20_4
public static final PersonnelReasonEnumeration PTI_20_4
-
STAFF_SHORTAGE
public static final PersonnelReasonEnumeration STAFF_SHORTAGE
TPEG Pti20_4 staff shortage
-
PTI_20_5
public static final PersonnelReasonEnumeration PTI_20_5
-
INDUSTRIAL_ACTION
public static final PersonnelReasonEnumeration INDUSTRIAL_ACTION
TPEG Pti20_5 industrial action
-
PTI_20_5_ALIAS_1
public static final PersonnelReasonEnumeration PTI_20_5_ALIAS_1
-
UNOFFICIAL_INDUSTRIAL_ACTION
public static final PersonnelReasonEnumeration UNOFFICIAL_INDUSTRIAL_ACTION
Unofffical action - alias to TPEG Pti20_5 industrial action
-
PTI_20_6
public static final PersonnelReasonEnumeration PTI_20_6
-
WORK_TO_RULE
public static final PersonnelReasonEnumeration WORK_TO_RULE
TPEG Pti20_6 work to rule
-
PTI_20_255
public static final PersonnelReasonEnumeration PTI_20_255
-
UNDEFINED_PERSONNEL_PROBLEM
public static final PersonnelReasonEnumeration UNDEFINED_PERSONNEL_PROBLEM
TPEG Pti20_255 undefined personnel problem
-
-
Method Detail
-
values
public static PersonnelReasonEnumeration[] 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 (PersonnelReasonEnumeration c : PersonnelReasonEnumeration.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PersonnelReasonEnumeration 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 PersonnelReasonEnumeration fromValue(String v)
-
-