//
// 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.08.31 at 10:43:34 AM EDT 
//


package org.slc.sli.test.edfi.entitiesR1;

import javax.xml.bind.annotation.XmlEnum;
import javax.xml.bind.annotation.XmlEnumValue;
import javax.xml.bind.annotation.XmlType;

import org.slc.sli.test.edfi.entities.GraduationPlanType;


/**
 * <p>Java class for graduationPlanType.
 * 
 * <p>The following schema fragment specifies the expected content contained within this class.
 * <p>
 * <pre>
 * &lt;simpleType name="graduationPlanType">
 *   &lt;restriction base="{http://www.w3.org/2001/XMLSchema}token">
 *     &lt;enumeration value="Career and Technical Education"/>
 *     &lt;enumeration value="Distinguished"/>
 *     &lt;enumeration value="Minimum"/>
 *     &lt;enumeration value="Recommended"/>
 *     &lt;enumeration value="Standard"/>
 *   &lt;/restriction>
 * &lt;/simpleType>
 * </pre>
 * 
 */
@XmlType(name = "graduationPlanType")
@XmlEnum
public enum GraduationPlanType {

    @XmlEnumValue("Career and Technical Education")
    CAREER_AND_TECHNICAL_EDUCATION("Career and Technical Education"),
    @XmlEnumValue("Distinguished")
    DISTINGUISHED("Distinguished"),
    @XmlEnumValue("Minimum")
    MINIMUM("Minimum"),
    @XmlEnumValue("Recommended")
    RECOMMENDED("Recommended"),
    @XmlEnumValue("Standard")
    STANDARD("Standard");

    /** total possible enum values */
    public static final int NUM_TYPES = 5;

    private final String value;

    GraduationPlanType(String v) {
        value = v;
    }

    public String value() {
        return value;
    }

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

    //in order to be unique, a school can't have two graduationPlans of the same type, so iterate through
    public static GraduationPlanType fromIndex(int i) {
    	switch (i % NUM_TYPES) {
    	case 0:
    		return CAREER_AND_TECHNICAL_EDUCATION;
    	case 1:
    		return DISTINGUISHED;
    	case 2:
    		return MINIMUM;
    	case 3:
    		return RECOMMENDED;
    	default:
    		return STANDARD;
    	}
    }
}
@@ -536,69 +536,8 @@
 %0D%0A%0D%0A
-import org.slc.sli.test.edfi.entities.GraduationPlanType;%0D%0A%0D%0A
 %0D%0A/*

fix error