//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.11 
// 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: 2016.05.13 at 07:47:44 PM CEST 
//


package eu.omp.irap.vespa.epntapclient.voresource.model;

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


/**
 * <p>Java class for ContentLevel.
 * 
 * <p>The following schema fragment specifies the expected content contained within this class.
 * <p>
 * <pre>
 * &lt;simpleType name="ContentLevel"&gt;
 *   &lt;restriction base="{http://www.w3.org/2001/XMLSchema}token"&gt;
 *     &lt;enumeration value="General"/&gt;
 *     &lt;enumeration value="Elementary Education"/&gt;
 *     &lt;enumeration value="Middle School Education"/&gt;
 *     &lt;enumeration value="Secondary Education"/&gt;
 *     &lt;enumeration value="Community College"/&gt;
 *     &lt;enumeration value="University"/&gt;
 *     &lt;enumeration value="Research"/&gt;
 *     &lt;enumeration value="Amateur"/&gt;
 *     &lt;enumeration value="Informal Education"/&gt;
 *   &lt;/restriction&gt;
 * &lt;/simpleType&gt;
 * </pre>
 * 
 */
@XmlType(name = "ContentLevel")
@XmlEnum










@SuppressWarnings("all")
public enum ContentLevel {


    /**
     * 
     *                Resource provides information appropriate for all users
     *              
     * 
     */
    @XmlEnumValue("General")
    GENERAL("General"),

    /**
     * 
     *                Resource provides information appropriate for use in elementary
     *                education (e.g. approximate ages 6-11)
     *              
     * 
     */
    @XmlEnumValue("Elementary Education")
    ELEMENTARY_EDUCATION("Elementary Education"),

    /**
     * 
     *                Resource provides information appropriate for use in middle
     *                school education (e.g. approximate ages 11-14)
     *              
     * 
     */
    @XmlEnumValue("Middle School Education")
    MIDDLE_SCHOOL_EDUCATION("Middle School Education"),

    /**
     * 
     *                Resource provides information appropriate for use in elementary
     *                education (e.g. approximate ages 14-18)
     *              
     * 
     */
    @XmlEnumValue("Secondary Education")
    SECONDARY_EDUCATION("Secondary Education"),

    /**
     * 
     *                Resource provides information appropriate for use in
     *                community/junior college or early university education.
     *              
     * 
     */
    @XmlEnumValue("Community College")
    COMMUNITY_COLLEGE("Community College"),

    /**
     * 
     *                Resource provides information appropriate for use in
     *                university education
     *              
     * 
     */
    @XmlEnumValue("University")
    UNIVERSITY("University"),

    /**
     * 
     *                Resource provides information appropriate for
     *                supporting scientific research.
     *              
     * 
     */
    @XmlEnumValue("Research")
    RESEARCH("Research"),

    /**
     * 
     *                Resource provides information of interest to
     *                amateur astronomers.
     *              
     * 
     */
    @XmlEnumValue("Amateur")
    AMATEUR("Amateur"),

    /**
     * 
     *                Resource provides information appropriate for education
     *                at museums, planetariums, and other centers of informal learning.
     *              
     * 
     */
    @XmlEnumValue("Informal Education")
    INFORMAL_EDUCATION("Informal Education");
    private final String value;

    ContentLevel(String v) {
        value = v;
    }

    public String value() {
        return value;
    }

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

}
