/*
* Copyright 2012 Shared Learning Collaborative, LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2012.04.20 at 03:09:04 PM EDT
//
package org.slc.sli.sample.entities;
import javax.xml.bind.annotation.XmlEnum;
import javax.xml.bind.annotation.XmlEnumValue;
import javax.xml.bind.annotation.XmlType;
/**
* <p>Java class for SeparationReasonType.
*
* <p>The following schema fragment specifies the expected content contained within this class.
* <p>
* <pre>
* <simpleType name="SeparationReasonType">
* <restriction base="{http://www.w3.org/2001/XMLSchema}token">
* <enumeration value="Employment in education"/>
* <enumeration value="Employment outside of education"/>
* <enumeration value="Retirement"/>
* <enumeration value="Family/personal relocation"/>
* <enumeration value="Change of assignment"/>
* <enumeration value="Formal study or research"/>
* <enumeration value="Illness/disability"/>
* <enumeration value="Homemaking/caring for a family member"/>
* <enumeration value="Layoff due to budgetary reduction"/>
* <enumeration value="Layoff due to organizational restructuring"/>
* <enumeration value="Layoff due to decreased workload"/>
* <enumeration value="Discharge due to unsuitability"/>
* <enumeration value="Discharge due to misconduct"/>
* <enumeration value="Discharge due to continued absence or tardiness"/>
* <enumeration value="Discharge due to a falsified application form"/>
* <enumeration value="Discharge due to credential revoked or suspended"/>
* <enumeration value="Discharge due to unsatisfactory work performance"/>
* <enumeration value="Death"/>
* <enumeration value="Personal reason"/>
* <enumeration value="Lay off due to lack of funding"/>
* <enumeration value="Lost credential"/>
* <enumeration value="Unknown"/>
* <enumeration value="Other"/>
* </restriction>
* </simpleType>
* </pre>
*
*/
@XmlType(name = "SeparationReasonType")
@XmlEnum
public enum SeparationReasonType {
@XmlEnumValue("Employment in education")
EMPLOYMENT_IN_EDUCATION("Employment in education"),
@XmlEnumValue("Employment outside of education")
EMPLOYMENT_OUTSIDE_OF_EDUCATION("Employment outside of education"),
@XmlEnumValue("Retirement")
RETIREMENT("Retirement"),
@XmlEnumValue("Family/personal relocation")
FAMILY_PERSONAL_RELOCATION("Family/personal relocation"),
@XmlEnumValue("Change of assignment")
CHANGE_OF_ASSIGNMENT("Change of assignment"),
@XmlEnumValue("Formal study or research")
FORMAL_STUDY_OR_RESEARCH("Formal study or research"),
@XmlEnumValue("Illness/disability")
ILLNESS_DISABILITY("Illness/disability"),
@XmlEnumValue("Homemaking/caring for a family member")
HOMEMAKING_CARING_FOR_A_FAMILY_MEMBER("Homemaking/caring for a family member"),
@XmlEnumValue("Layoff due to budgetary reduction")
LAYOFF_DUE_TO_BUDGETARY_REDUCTION("Layoff due to budgetary reduction"),
@XmlEnumValue("Layoff due to organizational restructuring")
LAYOFF_DUE_TO_ORGANIZATIONAL_RESTRUCTURING("Layoff due to organizational restructuring"),
@XmlEnumValue("Layoff due to decreased workload")
LAYOFF_DUE_TO_DECREASED_WORKLOAD("Layoff due to decreased workload"),
@XmlEnumValue("Discharge due to unsuitability")
DISCHARGE_DUE_TO_UNSUITABILITY("Discharge due to unsuitability"),
@XmlEnumValue("Discharge due to misconduct")
DISCHARGE_DUE_TO_MISCONDUCT("Discharge due to misconduct"),
@XmlEnumValue("Discharge due to continued absence or tardiness")
DISCHARGE_DUE_TO_CONTINUED_ABSENCE_OR_TARDINESS("Discharge due to continued absence or tardiness"),
@XmlEnumValue("Discharge due to a falsified application form")
DISCHARGE_DUE_TO_A_FALSIFIED_APPLICATION_FORM("Discharge due to a falsified application form"),
@XmlEnumValue("Discharge due to credential revoked or suspended")
DISCHARGE_DUE_TO_CREDENTIAL_REVOKED_OR_SUSPENDED("Discharge due to credential revoked or suspended"),
@XmlEnumValue("Discharge due to unsatisfactory work performance")
DISCHARGE_DUE_TO_UNSATISFACTORY_WORK_PERFORMANCE("Discharge due to unsatisfactory work performance"),
@XmlEnumValue("Death")
DEATH("Death"),
@XmlEnumValue("Personal reason")
PERSONAL_REASON("Personal reason"),
@XmlEnumValue("Lay off due to lack of funding")
LAY_OFF_DUE_TO_LACK_OF_FUNDING("Lay off due to lack of funding"),
@XmlEnumValue("Lost credential")
LOST_CREDENTIAL("Lost credential"),
@XmlEnumValue("Unknown")
UNKNOWN("Unknown"),
@XmlEnumValue("Other")
OTHER("Other");
private final String value;
SeparationReasonType(String v) {
value = v;
}
public String value() {
return value;
}
public static SeparationReasonType fromValue(String v) {
for (SeparationReasonType c: SeparationReasonType.values()) {
if (c.value.equals(v)) {
return c;
}
}
throw new IllegalArgumentException(v);
}
}