OrgCode.java

//
// 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: 2018.10.06 at 11:57:09 AM CEST 
//


package com.hack23.cia.model.external.riksdagen.personlista.impl;

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


/**
 * <p>Java class for OrgCode.
 * 
 * <p>The following schema fragment specifies the expected content contained within this class.
 * <p>
 * <pre>
 * &lt;simpleType name="OrgCode"&gt;
 *   &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string"&gt;
 *     &lt;enumeration value="AU"/&gt;
 *     &lt;enumeration value="CU"/&gt;
 *     &lt;enumeration value="FiU"/&gt;
 *     &lt;enumeration value="FöU"/&gt;
 *     &lt;enumeration value="JuU"/&gt;
 *     &lt;enumeration value="KU"/&gt;
 *     &lt;enumeration value="KrU"/&gt;
 *     &lt;enumeration value="MJU"/&gt;
 *     &lt;enumeration value="NU"/&gt;
 *     &lt;enumeration value="SkU"/&gt;
 *     &lt;enumeration value="SfU"/&gt;
 *     &lt;enumeration value="SoU"/&gt;
 *     &lt;enumeration value="TU"/&gt;
 *     &lt;enumeration value="UbU"/&gt;
 *     &lt;enumeration value="UU"/&gt;
 *     &lt;enumeration value="JuSoU"/&gt;
 *     &lt;enumeration value="KUU"/&gt;
 *     &lt;enumeration value="UFöU"/&gt;
 *     &lt;enumeration value="UMJU"/&gt;
 *     &lt;enumeration value="USoU"/&gt;
 *     &lt;enumeration value="JoU"/&gt;
 *     &lt;enumeration value="BoU"/&gt;
 *     &lt;enumeration value="LU"/&gt;
 *   &lt;/restriction&gt;
 * &lt;/simpleType&gt;
 * </pre>
 * 
 */
@XmlType(name = "OrgCode")
@XmlEnum
public enum OrgCode {

    AU("AU"),
    CU("CU"),
    @XmlEnumValue("FiU")
    FI_U("FiU"),
    @XmlEnumValue("F\u00f6U")
    FÖ_U("F\u00f6U"),
    @XmlEnumValue("JuU")
    JU_U("JuU"),
    KU("KU"),
    @XmlEnumValue("KrU")
    KR_U("KrU"),
    MJU("MJU"),
    NU("NU"),
    @XmlEnumValue("SkU")
    SK_U("SkU"),
    @XmlEnumValue("SfU")
    SF_U("SfU"),
    @XmlEnumValue("SoU")
    SO_U("SoU"),
    TU("TU"),
    @XmlEnumValue("UbU")
    UB_U("UbU"),
    UU("UU"),
    @XmlEnumValue("JuSoU")
    JU_SO_U("JuSoU"),
    KUU("KUU"),
    @XmlEnumValue("UF\u00f6U")
    U_FÖ_U("UF\u00f6U"),
    UMJU("UMJU"),
    @XmlEnumValue("USoU")
    U_SO_U("USoU"),
    @XmlEnumValue("JoU")
    JO_U("JoU"),
    @XmlEnumValue("BoU")
    BO_U("BoU"),
    LU("LU");
    private final String value;

    OrgCode(String v) {
        value = v;
    }

    public String value() {
        return value;
    }

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

}