/* * 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 AcademicSubjectType. * * <p>The following schema fragment specifies the expected content contained within this class. * <p> * <pre> * <simpleType name="AcademicSubjectType"> * <restriction base="{http://www.w3.org/2001/XMLSchema}token"> * <enumeration value="English Language and Literature"/> * <enumeration value="English"/> * <enumeration value="ELA"/> * <enumeration value="Reading"/> * <enumeration value="Mathematics"/> * <enumeration value="Life and Physical Sciences"/> * <enumeration value="Social Sciences and History"/> * <enumeration value="Social Studies"/> * <enumeration value="Science"/> * <enumeration value="Fine and Performing Arts"/> * <enumeration value="Foreign Language and Literature"/> * <enumeration value="Religious Education and Theology"/> * <enumeration value="Physical, Health, and Safety Education"/> * <enumeration value="Military Science"/> * <enumeration value="Computer and Information Sciences"/> * <enumeration value="Communication and Audio/Visual Technology"/> * <enumeration value="Composite"/> * <enumeration value="Critical Reading"/> * <enumeration value="Business and Marketing"/> * <enumeration value="Manufacturing"/> * <enumeration value="Health Care Sciences"/> * <enumeration value="Public, Protective, and Government Service"/> * <enumeration value="Hospitality and Tourism"/> * <enumeration value="Architecture and Construction"/> * <enumeration value="Agriculture, Food, and Natural Resources"/> * <enumeration value="Human Services"/> * <enumeration value="Transportation, Distribution and Logistics"/> * <enumeration value="Engineering and Technology"/> * <enumeration value="Writing"/> * <enumeration value="Miscellaneous"/> * <enumeration value="Other"/> * </restriction> * </simpleType> * </pre> * */ @XmlType(name = "AcademicSubjectType") @XmlEnum public enum AcademicSubjectType { @XmlEnumValue("English Language and Literature") ENGLISH_LANGUAGE_AND_LITERATURE("English Language and Literature"), @XmlEnumValue("English") ENGLISH("English"), ELA("ELA"), @XmlEnumValue("Reading") READING("Reading"), @XmlEnumValue("Mathematics") MATHEMATICS("Mathematics"), @XmlEnumValue("Life and Physical Sciences") LIFE_AND_PHYSICAL_SCIENCES("Life and Physical Sciences"), @XmlEnumValue("Social Sciences and History") SOCIAL_SCIENCES_AND_HISTORY("Social Sciences and History"), @XmlEnumValue("Social Studies") SOCIAL_STUDIES("Social Studies"), @XmlEnumValue("Science") SCIENCE("Science"), @XmlEnumValue("Fine and Performing Arts") FINE_AND_PERFORMING_ARTS("Fine and Performing Arts"), @XmlEnumValue("Foreign Language and Literature") FOREIGN_LANGUAGE_AND_LITERATURE("Foreign Language and Literature"), @XmlEnumValue("Religious Education and Theology") RELIGIOUS_EDUCATION_AND_THEOLOGY("Religious Education and Theology"), @XmlEnumValue("Physical, Health, and Safety Education") PHYSICAL_HEALTH_AND_SAFETY_EDUCATION("Physical, Health, and Safety Education"), @XmlEnumValue("Military Science") MILITARY_SCIENCE("Military Science"), @XmlEnumValue("Computer and Information Sciences") COMPUTER_AND_INFORMATION_SCIENCES("Computer and Information Sciences"), @XmlEnumValue("Communication and Audio/Visual Technology") COMMUNICATION_AND_AUDIO_VISUAL_TECHNOLOGY("Communication and Audio/Visual Technology"), @XmlEnumValue("Composite") COMPOSITE("Composite"), @XmlEnumValue("Critical Reading") CRITICAL_READING("Critical Reading"), @XmlEnumValue("Business and Marketing") BUSINESS_AND_MARKETING("Business and Marketing"), @XmlEnumValue("Manufacturing") MANUFACTURING("Manufacturing"), @XmlEnumValue("Health Care Sciences") HEALTH_CARE_SCIENCES("Health Care Sciences"), @XmlEnumValue("Public, Protective, and Government Service") PUBLIC_PROTECTIVE_AND_GOVERNMENT_SERVICE("Public, Protective, and Government Service"), @XmlEnumValue("Hospitality and Tourism") HOSPITALITY_AND_TOURISM("Hospitality and Tourism"), @XmlEnumValue("Architecture and Construction") ARCHITECTURE_AND_CONSTRUCTION("Architecture and Construction"), @XmlEnumValue("Agriculture, Food, and Natural Resources") AGRICULTURE_FOOD_AND_NATURAL_RESOURCES("Agriculture, Food, and Natural Resources"), @XmlEnumValue("Human Services") HUMAN_SERVICES("Human Services"), @XmlEnumValue("Transportation, Distribution and Logistics") TRANSPORTATION_DISTRIBUTION_AND_LOGISTICS("Transportation, Distribution and Logistics"), @XmlEnumValue("Engineering and Technology") ENGINEERING_AND_TECHNOLOGY("Engineering and Technology"), @XmlEnumValue("Writing") WRITING("Writing"), @XmlEnumValue("Miscellaneous") MISCELLANEOUS("Miscellaneous"), @XmlEnumValue("Other") OTHER("Other"); private final String value; AcademicSubjectType(String v) { value = v; } public String value() { return value; } public static AcademicSubjectType fromValue(String v) { for (AcademicSubjectType c: AcademicSubjectType.values()) { if (c.value.equals(v)) { return c; } } throw new IllegalArgumentException(v); } }