RegionCategory.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:54:38 AM CEST 
//
package com.hack23.cia.model.external.worldbank.countries.impl;
import javax.xml.bind.annotation.XmlEnum;
import javax.xml.bind.annotation.XmlEnumValue;
import javax.xml.bind.annotation.XmlType;
/**
 * <p>Java class for RegionCategory.
 * 
 * <p>The following schema fragment specifies the expected content contained within this class.
 * <p>
 * <pre>
 * <simpleType name="RegionCategory">
 *   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
 *     <enumeration value="East Asia & Pacific (all income levels)"/>
 *     <enumeration value="Europe & Central Asia (all income levels)"/>
 *     <enumeration value="Latin America & Caribbean (all income levels)"/>
 *     <enumeration value="Middle East & North Africa (all income levels)"/>
 *     <enumeration value="Aggregates"/>
 *     <enumeration value="North America"/>
 *     <enumeration value="Sub-Saharan Africa (all income levels)"/>
 *     <enumeration value="South Asia"/>
 *   </restriction>
 * </simpleType>
 * </pre>
 * 
 */
@XmlType(name = "RegionCategory")
@XmlEnum
public enum RegionCategory {
    @XmlEnumValue("East Asia & Pacific (all income levels)")
    EAST_ASIA_PACIFIC_ALL_INCOME_LEVELS("East Asia & Pacific (all income levels)"),
    @XmlEnumValue("Europe & Central Asia (all income levels)")
    EUROPE_CENTRAL_ASIA_ALL_INCOME_LEVELS("Europe & Central Asia (all income levels)"),
    @XmlEnumValue("Latin America & Caribbean (all income levels)")
    LATIN_AMERICA_CARIBBEAN_ALL_INCOME_LEVELS("Latin America & Caribbean (all income levels)"),
    @XmlEnumValue("Middle East & North Africa (all income levels)")
    MIDDLE_EAST_NORTH_AFRICA_ALL_INCOME_LEVELS("Middle East & North Africa (all income levels)"),
    @XmlEnumValue("Aggregates")
    AGGREGATES("Aggregates"),
    @XmlEnumValue("North America")
    NORTH_AMERICA("North America"),
    @XmlEnumValue("Sub-Saharan Africa (all income levels)")
    SUB_SAHARAN_AFRICA_ALL_INCOME_LEVELS("Sub-Saharan Africa (all income levels)"),
    @XmlEnumValue("South Asia")
    SOUTH_ASIA("South Asia");
    private final String value;
    RegionCategory(String v) {
        value = v;
    }
    public String value() {
        return value;
    }
    public static RegionCategory fromValue(String v) {
        for (RegionCategory c: RegionCategory.values()) {
            if (c.value.equals(v)) {
                return c;
            }
        }
        throw new IllegalArgumentException(v);
    }
}