/* * 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 IncidentLocationType. * * <p>The following schema fragment specifies the expected content contained within this class. * <p> * <pre> * <simpleType name="IncidentLocationType"> * <restriction base="{http://www.w3.org/2001/XMLSchema}token"> * <enumeration value="On School"/> * <enumeration value="Administrative offices area"/> * <enumeration value="Cafeteria area"/> * <enumeration value="Classroom"/> * <enumeration value="Hallway or stairs"/> * <enumeration value="Locker room or gym areas"/> * <enumeration value="Restroom"/> * <enumeration value="Library/media center"/> * <enumeration value="Computer lab"/> * <enumeration value="Auditorium"/> * <enumeration value="On-School other inside area"/> * <enumeration value="Athletic field or playground"/> * <enumeration value="Stadium"/> * <enumeration value="Parking lot"/> * <enumeration value="On-School other outside area"/> * <enumeration value="Off School"/> * <enumeration value="Bus stop"/> * <enumeration value="School bus"/> * <enumeration value="Walking to or from school"/> * <enumeration value="Off-School at other school"/> * <enumeration value="Off-School at other school district facility"/> * <enumeration value="Online"/> * <enumeration value="Unknown"/> * </restriction> * </simpleType> * </pre> * */ @XmlType(name = "IncidentLocationType") @XmlEnum public enum IncidentLocationType { @XmlEnumValue("On School") ON_SCHOOL("On School"), @XmlEnumValue("Administrative offices area") ADMINISTRATIVE_OFFICES_AREA("Administrative offices area"), @XmlEnumValue("Cafeteria area") CAFETERIA_AREA("Cafeteria area"), @XmlEnumValue("Classroom") CLASSROOM("Classroom"), @XmlEnumValue("Hallway or stairs") HALLWAY_OR_STAIRS("Hallway or stairs"), @XmlEnumValue("Locker room or gym areas") LOCKER_ROOM_OR_GYM_AREAS("Locker room or gym areas"), @XmlEnumValue("Restroom") RESTROOM("Restroom"), @XmlEnumValue("Library/media center") LIBRARY_MEDIA_CENTER("Library/media center"), @XmlEnumValue("Computer lab") COMPUTER_LAB("Computer lab"), @XmlEnumValue("Auditorium") AUDITORIUM("Auditorium"), @XmlEnumValue("On-School other inside area") ON_SCHOOL_OTHER_INSIDE_AREA("On-School other inside area"), @XmlEnumValue("Athletic field or playground") ATHLETIC_FIELD_OR_PLAYGROUND("Athletic field or playground"), @XmlEnumValue("Stadium") STADIUM("Stadium"), @XmlEnumValue("Parking lot") PARKING_LOT("Parking lot"), @XmlEnumValue("On-School other outside area") ON_SCHOOL_OTHER_OUTSIDE_AREA("On-School other outside area"), @XmlEnumValue("Off School") OFF_SCHOOL("Off School"), @XmlEnumValue("Bus stop") BUS_STOP("Bus stop"), @XmlEnumValue("School bus") SCHOOL_BUS("School bus"), @XmlEnumValue("Walking to or from school") WALKING_TO_OR_FROM_SCHOOL("Walking to or from school"), @XmlEnumValue("Off-School at other school") OFF_SCHOOL_AT_OTHER_SCHOOL("Off-School at other school"), @XmlEnumValue("Off-School at other school district facility") OFF_SCHOOL_AT_OTHER_SCHOOL_DISTRICT_FACILITY("Off-School at other school district facility"), @XmlEnumValue("Online") ONLINE("Online"), @XmlEnumValue("Unknown") UNKNOWN("Unknown"); private final String value; IncidentLocationType(String v) { value = v; } public String value() { return value; } public static IncidentLocationType fromValue(String v) { for (IncidentLocationType c: IncidentLocationType.values()) { if (c.value.equals(v)) { return c; } } throw new IllegalArgumentException(v); } }