AdminRegionCategory.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 AdminRegionCategory.
*
* <p>The following schema fragment specifies the expected content contained within this class.
* <p>
* <pre>
* <simpleType name="AdminRegionCategory">
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <enumeration value="East Asia & Pacific (developing only)"/>
* <enumeration value="Europe & Central Asia (developing only)"/>
* <enumeration value="Latin America & Caribbean (developing only)"/>
* <enumeration value="Middle East & North Africa (developing only)"/>
* <enumeration value="South Asia"/>
* <enumeration value="Sub-Saharan Africa (developing only)"/>
* </restriction>
* </simpleType>
* </pre>
*
*/
@XmlType(name = "AdminRegionCategory")
@XmlEnum
public enum AdminRegionCategory {
@XmlEnumValue("East Asia & Pacific (developing only)")
EAST_ASIA_PACIFIC_DEVELOPING_ONLY("East Asia & Pacific (developing only)"),
@XmlEnumValue("Europe & Central Asia (developing only)")
EUROPE_CENTRAL_ASIA_DEVELOPING_ONLY("Europe & Central Asia (developing only)"),
@XmlEnumValue("Latin America & Caribbean (developing only)")
LATIN_AMERICA_CARIBBEAN_DEVELOPING_ONLY("Latin America & Caribbean (developing only)"),
@XmlEnumValue("Middle East & North Africa (developing only)")
MIDDLE_EAST_NORTH_AFRICA_DEVELOPING_ONLY("Middle East & North Africa (developing only)"),
@XmlEnumValue("South Asia")
SOUTH_ASIA("South Asia"),
@XmlEnumValue("Sub-Saharan Africa (developing only)")
SUB_SAHARAN_AFRICA_DEVELOPING_ONLY("Sub-Saharan Africa (developing only)");
private final String value;
AdminRegionCategory(String v) {
value = v;
}
public String value() {
return value;
}
public static AdminRegionCategory fromValue(String v) {
for (AdminRegionCategory c: AdminRegionCategory.values()) {
if (c.value.equals(v)) {
return c;
}
}
throw new IllegalArgumentException(v);
}
}