/**
 * EmployeeJobClass.java
 * <p>
 * File generated from the voc::EmployeeJobClass uml Enumeration
 * Generated by IHE - europe, gazelle team
 */
package net.ihe.gazelle.hl7v3.voc;

import jakarta.xml.bind.annotation.XmlEnum;
import jakarta.xml.bind.annotation.XmlEnumValue;
import jakarta.xml.bind.annotation.XmlRootElement;
import jakarta.xml.bind.annotation.XmlType;
/**
 * Description of the enumeration EmployeeJobClass.
 *
 */

@XmlType(name = "EmployeeJobClass")
@XmlEnum
@XmlRootElement(name = "EmployeeJobClass")
public enum EmployeeJobClass {
	@XmlEnumValue("FT")
	FT("FT"),
	@XmlEnumValue("PT")
	PT("PT"),
	@XmlEnumValue("_EmployeeOccupationCode")
	EMPLOYEEOCCUPATIONCODE("_EmployeeOccupationCode");
	
	private final String value;

    EmployeeJobClass(String v) {
        value = v;
    }
    
     public String value() {
        return value;
    }

    public static EmployeeJobClass fromValue(String v) {
        for (EmployeeJobClass c: EmployeeJobClass.values()) {
            if (c.value.equals(v)) {
                return c;
            }
        }
        throw new IllegalArgumentException(v);
    }
	
}