//
// 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: 2013.01.22 at 01:42:02 PM EST 
//


package org.ed_fi._0100;

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


/**
 * <p>Java class for WeaponItemType.
 * 
 * <p>The following schema fragment specifies the expected content contained within this class.
 * <p>
 * <pre>
 * &lt;simpleType name="WeaponItemType">
 *   &lt;restriction base="{http://www.w3.org/2001/XMLSchema}token">
 *     &lt;enumeration value="Firearm"/>
 *     &lt;enumeration value="Illegal Knife"/>
 *     &lt;enumeration value="Non-Illegal Knife"/>
 *     &lt;enumeration value="Club"/>
 *     &lt;enumeration value="Other Sharp Objects"/>
 *     &lt;enumeration value="Other Object"/>
 *     &lt;enumeration value="Substance Used as Weapon"/>
 *     &lt;enumeration value="Knife"/>
 *     &lt;enumeration value="Unknown"/>
 *     &lt;enumeration value="None"/>
 *     &lt;enumeration value="Other"/>
 *   &lt;/restriction>
 * &lt;/simpleType>
 * </pre>
 * 
 */
@XmlType(name = "WeaponItemType")
@XmlEnum
public enum WeaponItemType {

    @XmlEnumValue("Firearm")
    FIREARM("Firearm"),
    @XmlEnumValue("Illegal Knife")
    ILLEGAL_KNIFE("Illegal Knife"),
    @XmlEnumValue("Non-Illegal Knife")
    NON_ILLEGAL_KNIFE("Non-Illegal Knife"),
    @XmlEnumValue("Club")
    CLUB("Club"),
    @XmlEnumValue("Other Sharp Objects")
    OTHER_SHARP_OBJECTS("Other Sharp Objects"),
    @XmlEnumValue("Other Object")
    OTHER_OBJECT("Other Object"),
    @XmlEnumValue("Substance Used as Weapon")
    SUBSTANCE_USED_AS_WEAPON("Substance Used as Weapon"),
    @XmlEnumValue("Knife")
    KNIFE("Knife"),
    @XmlEnumValue("Unknown")
    UNKNOWN("Unknown"),
    @XmlEnumValue("None")
    NONE("None"),
    @XmlEnumValue("Other")
    OTHER("Other");
    private final String value;

    WeaponItemType(String v) {
        value = v;
    }

    public String value() {
        return value;
    }

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

}
