/*
 * Copyright (c) eHealth
 */

//
// 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: 2016.04.13 at 09:08:31 AM CEST 
//


package be.fgov.ehealth.technicalconnector.tests.beid.domain.testcard;

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


/**
 * <p>Java class for doctypeType.
 * 
 * <p>The following schema fragment specifies the expected content contained within this class.
 * <p>
 * <pre>
 * &lt;simpleType name="doctypeType">
 *   &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string">
 *     &lt;enumeration value="belgian_citizen"/>
 *     &lt;enumeration value="kids_card"/>
 *     &lt;enumeration value="bootstrap_card"/>
 *     &lt;enumeration value="habilitation_card"/>
 *     &lt;enumeration value="foreigner_a"/>
 *     &lt;enumeration value="foreigner_b"/>
 *     &lt;enumeration value="foreigner_c"/>
 *     &lt;enumeration value="foreigner_d"/>
 *     &lt;enumeration value="foreigner_e"/>
 *     &lt;enumeration value="foreigner_e_plus"/>
 *     &lt;enumeration value="foreigner_f"/>
 *     &lt;enumeration value="foreigner_f_plus"/>
 *     &lt;enumeration value="european_blue_card_h"/>
 *   &lt;/restriction>
 * &lt;/simpleType>
 * </pre>
 * 
 */
@XmlType(name = "doctypeType")
@XmlEnum
public enum DoctypeType {

    @XmlEnumValue("belgian_citizen")
    BELGIAN_CITIZEN("belgian_citizen"),
    @XmlEnumValue("kids_card")
    KIDS_CARD("kids_card"),
    @XmlEnumValue("bootstrap_card")
    BOOTSTRAP_CARD("bootstrap_card"),
    @XmlEnumValue("habilitation_card")
    HABILITATION_CARD("habilitation_card"),
    @XmlEnumValue("foreigner_a")
    FOREIGNER_A("foreigner_a"),
    @XmlEnumValue("foreigner_b")
    FOREIGNER_B("foreigner_b"),
    @XmlEnumValue("foreigner_c")
    FOREIGNER_C("foreigner_c"),
    @XmlEnumValue("foreigner_d")
    FOREIGNER_D("foreigner_d"),
    @XmlEnumValue("foreigner_e")
    FOREIGNER_E("foreigner_e"),
    @XmlEnumValue("foreigner_e_plus")
    FOREIGNER_E_PLUS("foreigner_e_plus"),
    @XmlEnumValue("foreigner_f")
    FOREIGNER_F("foreigner_f"),
    @XmlEnumValue("foreigner_f_plus")
    FOREIGNER_F_PLUS("foreigner_f_plus"),
    @XmlEnumValue("european_blue_card_h")
    EUROPEAN_BLUE_CARD_H("european_blue_card_h");
    private final String value;

    DoctypeType(String v) {
        value = v;
    }

    public String value() {
        return value;
    }

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

}
