SourceName.java

/*
 * Copyright 2010 James Pether Sörling
 * 
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *   http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 *
 *	$Id$
 *  $HeadURL$
*/
// 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: 2019.02.24 at 11:39:42 PM CET 
//


package com.hack23.cia.model.external.worldbank.indicators.impl;

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


/**
 * The Enum SourceName.
 */
@XmlType(name = "SourceName")
@XmlEnum
public enum SourceName {

    /** The doing business. */
    @XmlEnumValue("Doing Business")
    DOING_BUSINESS("Doing Business"),
    
    /** The world development indicators. */
    @XmlEnumValue("World Development Indicators")
    WORLD_DEVELOPMENT_INDICATORS("World Development Indicators"),
    
    /** The global development finance. */
    @XmlEnumValue("Global Development Finance")
    GLOBAL_DEVELOPMENT_FINANCE("Global Development Finance"),
    
    /** The enterprise surveys. */
    @XmlEnumValue("Enterprise Surveys")
    ENTERPRISE_SURVEYS("Enterprise Surveys"),
    
    /** The global economic monitor. */
    @XmlEnumValue("Global Economic Monitor")
    GLOBAL_ECONOMIC_MONITOR("Global Economic Monitor"),
    
    /** The global economic monitor gem commodities. */
    @XmlEnumValue("Global Economic Monitor (GEM) Commodities")
    GLOBAL_ECONOMIC_MONITOR_GEM_COMMODITIES("Global Economic Monitor (GEM) Commodities"),
    
    /** The public sector debt. */
    @XmlEnumValue("Public Sector Debt")
    PUBLIC_SECTOR_DEBT("Public Sector Debt"),
    
    /** The worldwide governance indicators. */
    @XmlEnumValue("Worldwide Governance Indicators")
    WORLDWIDE_GOVERNANCE_INDICATORS("Worldwide Governance Indicators"),
    
    /** The africa development indicators. */
    @XmlEnumValue("Africa Development Indicators")
    AFRICA_DEVELOPMENT_INDICATORS("Africa Development Indicators"),
    
    /** The education statistics. */
    @XmlEnumValue("Education Statistics")
    EDUCATION_STATISTICS("Education Statistics"),
    
    /** The gender statistics. */
    @XmlEnumValue("Gender Statistics")
    GENDER_STATISTICS("Gender Statistics"),
    
    /** The health nutrition and population statistics. */
    @XmlEnumValue("Health Nutrition and Population Statistics")
    HEALTH_NUTRITION_AND_POPULATION_STATISTICS("Health Nutrition and Population Statistics"),
    
    /** The international development association results measurement system. */
    @XmlEnumValue("International Development Association - Results Measurement System")
    INTERNATIONAL_DEVELOPMENT_ASSOCIATION_RESULTS_MEASUREMENT_SYSTEM("International Development Association - Results Measurement System"),
    
    /** The millennium development goals. */
    @XmlEnumValue("Millennium Development Goals")
    MILLENNIUM_DEVELOPMENT_GOALS("Millennium Development Goals"),
    
    /**
	 * The quarterly external debt statistics qeds special data dissemination
	 * standard sdds.
	 */
    @XmlEnumValue("Quarterly External Debt Statistics (QEDS) - Special Data Dissemination Standard (SDDS)")
    QUARTERLY_EXTERNAL_DEBT_STATISTICS_QEDS_SPECIAL_DATA_DISSEMINATION_STANDARD_SDDS("Quarterly External Debt Statistics (QEDS) - Special Data Dissemination Standard (SDDS)"),
    
    /**
	 * The quarterly external debt statistics qeds general data dissemination system
	 * gdds.
	 */
    @XmlEnumValue("Quarterly External Debt Statistics (QEDS) - General Data Dissemination System (GDDS)")
    QUARTERLY_EXTERNAL_DEBT_STATISTICS_QEDS_GENERAL_DATA_DISSEMINATION_SYSTEM_GDDS("Quarterly External Debt Statistics (QEDS) - General Data Dissemination System (GDDS)"),
    
    /** The jobs for knowledge platform. */
    @XmlEnumValue("Jobs for Knowledge Platform")
    JOBS_FOR_KNOWLEDGE_PLATFORM("Jobs for Knowledge Platform"),
    
    /** The corporate scorecard. */
    @XmlEnumValue("Corporate Scorecard")
    CORPORATE_SCORECARD("Corporate Scorecard"),
    
    /** The gep economic prospects. */
    @XmlEnumValue("GEP Economic Prospects")
    GEP_ECONOMIC_PROSPECTS("GEP Economic Prospects");
    
    /** The value. */
    private final String value;

    /**
	 * Instantiates a new source name.
	 *
	 * @param v the v
	 */
    SourceName(final String v) {
        value = v;
    }

    /**
	 * Value.
	 *
	 * @return the string
	 */
    public String value() {
        return value;
    }

    /**
	 * From value.
	 *
	 * @param v the v
	 * @return the source name
	 */
    public static SourceName fromValue(final String v) {
        for (final SourceName c: SourceName.values()) {
            if (c.value.equals(v)) {
                return c;
            }
        }
        throw new IllegalArgumentException(v);
    }

}