<?php
/**
 * This class stands for XCountry EnumType
 * @subpackage Enumerations
 */
class XCountry
{
    /**
     * Constant for value 'Argentina'
     * @return string 'Argentina'
     */
    const VALUE_ARGENTINA = 'Argentina';
    /**
     * Constant for value 'Australia'
     * @return string 'Australia'
     */
    const VALUE_AUSTRALIA = 'Australia';
    /**
     * Constant for value 'Austria'
     * @return string 'Austria'
     */
    const VALUE_AUSTRIA = 'Austria';
    /**
     * Constant for value 'Belgium'
     * @return string 'Belgium'
     */
    const VALUE_BELGIUM = 'Belgium';
    /**
     * Constant for value 'Brazil'
     * @return string 'Brazil'
     */
    const VALUE_BRAZIL = 'Brazil';
    /**
     * Constant for value 'Canada'
     * @return string 'Canada'
     */
    const VALUE_CANADA = 'Canada';
    /**
     * Constant for value 'China'
     * @return string 'China'
     */
    const VALUE_CHINA = 'China';
    /**
     * Constant for value 'Colombia'
     * @return string 'Colombia'
     */
    const VALUE_COLOMBIA = 'Colombia';
    /**
     * Constant for value 'Cyprus'
     * @return string 'Cyprus'
     */
    const VALUE_CYPRUS = 'Cyprus';
    /**
     * Constant for value 'Czech Republic'
     * @return string 'Czech Republic'
     */
    const VALUE_CZECH_REPUBLIC = 'Czech Republic';
    /**
     * Constant for value 'Denmark'
     * @return string 'Denmark'
     */
    const VALUE_DENMARK = 'Denmark';
    /**
     * Constant for value 'Egypt'
     * @return string 'Egypt'
     */
    const VALUE_EGYPT = 'Egypt';
    /**
     * Constant for value 'Finland'
     * @return string 'Finland'
     */
    const VALUE_FINLAND = 'Finland';
    /**
     * Constant for value 'France'
     * @return string 'France'
     */
    const VALUE_FRANCE = 'France';
    /**
     * Constant for value 'Germany'
     * @return string 'Germany'
     */
    const VALUE_GERMANY = 'Germany';
    /**
     * Constant for value 'Ghana'
     * @return string 'Ghana'
     */
    const VALUE_GHANA = 'Ghana';
    /**
     * Constant for value 'Greece'
     * @return string 'Greece'
     */
    const VALUE_GREECE = 'Greece';
    /**
     * Constant for value 'Hong Kong'
     * @return string 'Hong Kong'
     */
    const VALUE_HONG_KONG = 'Hong Kong';
    /**
     * Constant for value 'Hungary'
     * @return string 'Hungary'
     */
    const VALUE_HUNGARY = 'Hungary';
    /**
     * Constant for value 'Iceland'
     * @return string 'Iceland'
     */
    const VALUE_ICELAND = 'Iceland';
    /**
     * Constant for value 'India'
     * @return string 'India'
     */
    const VALUE_INDIA = 'India';
    /**
     * Constant for value 'Indonesia'
     * @return string 'Indonesia'
     */
    const VALUE_INDONESIA = 'Indonesia';
    /**
     * Constant for value 'Ireland'
     * @return string 'Ireland'
     */
    const VALUE_IRELAND = 'Ireland';
    /**
     * Constant for value 'Israel'
     * @return string 'Israel'
     */
    const VALUE_ISRAEL = 'Israel';
    /**
     * Constant for value 'Italy'
     * @return string 'Italy'
     */
    const VALUE_ITALY = 'Italy';
    /**
     * Constant for value 'Japan'
     * @return string 'Japan'
     */
    const VALUE_JAPAN = 'Japan';
    /**
     * Constant for value 'Jordan'
     * @return string 'Jordan'
     */
    const VALUE_JORDAN = 'Jordan';
    /**
     * Constant for value 'Kenya'
     * @return string 'Kenya'
     */
    const VALUE_KENYA = 'Kenya';
    /**
     * Constant for value 'Korea Republic'
     * @return string 'Korea Republic'
     */
    const VALUE_KOREA_REPUBLIC = 'Korea Republic';
    /**
     * Constant for value 'Lebanon'
     * @return string 'Lebanon'
     */
    const VALUE_LEBANON = 'Lebanon';
    /**
     * Constant for value 'Luxembourg'
     * @return string 'Luxembourg'
     */
    const VALUE_LUXEMBOURG = 'Luxembourg';
    /**
     * Constant for value 'Malaysia'
     * @return string 'Malaysia'
     */
    const VALUE_MALAYSIA = 'Malaysia';
    /**
     * Constant for value 'Mexico'
     * @return string 'Mexico'
     */
    const VALUE_MEXICO = 'Mexico';
    /**
     * Constant for value 'Nepal'
     * @return string 'Nepal'
     */
    const VALUE_NEPAL = 'Nepal';
    /**
     * Constant for value 'Netherlands'
     * @return string 'Netherlands'
     */
    const VALUE_NETHERLANDS = 'Netherlands';
    /**
     * Constant for value 'New Zealand'
     * @return string 'New Zealand'
     */
    const VALUE_NEW_ZEALAND = 'New Zealand';
    /**
     * Constant for value 'Nigeria'
     * @return string 'Nigeria'
     */
    const VALUE_NIGERIA = 'Nigeria';
    /**
     * Constant for value 'Norway'
     * @return string 'Norway'
     */
    const VALUE_NORWAY = 'Norway';
    /**
     * Constant for value 'Pakistan'
     * @return string 'Pakistan'
     */
    const VALUE_PAKISTAN = 'Pakistan';
    /**
     * Constant for value 'Panama'
     * @return string 'Panama'
     */
    const VALUE_PANAMA = 'Panama';
    /**
     * Constant for value 'Peru'
     * @return string 'Peru'
     */
    const VALUE_PERU = 'Peru';
    /**
     * Constant for value 'Philippines'
     * @return string 'Philippines'
     */
    const VALUE_PHILIPPINES = 'Philippines';
    /**
     * Constant for value 'Poland'
     * @return string 'Poland'
     */
    const VALUE_POLAND = 'Poland';
    /**
     * Constant for value 'Portugal'
     * @return string 'Portugal'
     */
    const VALUE_PORTUGAL = 'Portugal';
    /**
     * Constant for value 'Russian Federation'
     * @return string 'Russian Federation'
     */
    const VALUE_RUSSIAN_FEDERATION = 'Russian Federation';
    /**
     * Constant for value 'Saudi Arabia'
     * @return string 'Saudi Arabia'
     */
    const VALUE_SAUDI_ARABIA = 'Saudi Arabia';
    /**
     * Constant for value 'Singapore'
     * @return string 'Singapore'
     */
    const VALUE_SINGAPORE = 'Singapore';
    /**
     * Constant for value 'Slovakia'
     * @return string 'Slovakia'
     */
    const VALUE_SLOVAKIA = 'Slovakia';
    /**
     * Constant for value 'Slovenia'
     * @return string 'Slovenia'
     */
    const VALUE_SLOVENIA = 'Slovenia';
    /**
     * Constant for value 'South Africa'
     * @return string 'South Africa'
     */
    const VALUE_SOUTH_AFRICA = 'South Africa';
    /**
     * Constant for value 'Spain'
     * @return string 'Spain'
     */
    const VALUE_SPAIN = 'Spain';
    /**
     * Constant for value 'Sweden'
     * @return string 'Sweden'
     */
    const VALUE_SWEDEN = 'Sweden';
    /**
     * Constant for value 'Switzerland'
     * @return string 'Switzerland'
     */
    const VALUE_SWITZERLAND = 'Switzerland';
    /**
     * Constant for value 'Taiwan'
     * @return string 'Taiwan'
     */
    const VALUE_TAIWAN = 'Taiwan';
    /**
     * Constant for value 'Thailand'
     * @return string 'Thailand'
     */
    const VALUE_THAILAND = 'Thailand';
    /**
     * Constant for value 'Turkey'
     * @return string 'Turkey'
     */
    const VALUE_TURKEY = 'Turkey';
    /**
     * Constant for value 'United Kingdom'
     * @return string 'United Kingdom'
     */
    const VALUE_UNITED_KINGDOM = 'United Kingdom';
    /**
     * Constant for value 'United States'
     * @return string 'United States'
     */
    const VALUE_UNITED_STATES = 'United States';
    /**
     * Constant for value 'Venezuela'
     * @return string 'Venezuela'
     */
    const VALUE_VENEZUELA = 'Venezuela';
    /**
     * Constant for value 'Zimbabwe'
     * @return string 'Zimbabwe'
     */
    const VALUE_ZIMBABWE = 'Zimbabwe';
    /**
     * Constant for value 'Itu'
     * @return string 'Itu'
     */
    const VALUE_ITU = 'Itu';
    /**
     * Constant for value 'Chile'
     * @return string 'Chile'
     */
    const VALUE_CHILE = 'Chile';
    /**
     * Constant for value 'Bulgaria'
     * @return string 'Bulgaria'
     */
    const VALUE_BULGARIA = 'Bulgaria';
    /**
     * Constant for value 'Croatia'
     * @return string 'Croatia'
     */
    const VALUE_CROATIA = 'Croatia';
    /**
     * Constant for value 'Romania'
     * @return string 'Romania'
     */
    const VALUE_ROMANIA = 'Romania';
    /**
     * Constant for value 'Serbia and Montenegro'
     * @return string 'Serbia and Montenegro'
     */
    const VALUE_SERBIA_AND_MONTENEGRO = 'Serbia and Montenegro';
    /**
     * Constant for value 'United Arab Emirates'
     * @return string 'United Arab Emirates'
     */
    const VALUE_UNITED_ARAB_EMIRATES = 'United Arab Emirates';
    /**
     * Constant for value 'Oman'
     * @return string 'Oman'
     */
    const VALUE_OMAN = 'Oman';
    /**
     * Constant for value 'Kuwait'
     * @return string 'Kuwait'
     */
    const VALUE_KUWAIT = 'Kuwait';
    /**
     * Constant for value 'Algeria'
     * @return string 'Algeria'
     */
    const VALUE_ALGERIA = 'Algeria';
    /**
     * Constant for value 'Bahrain'
     * @return string 'Bahrain'
     */
    const VALUE_BAHRAIN = 'Bahrain';
    /**
     * Constant for value 'Iraq'
     * @return string 'Iraq'
     */
    const VALUE_IRAQ = 'Iraq';
    /**
     * Constant for value 'Mauritania'
     * @return string 'Mauritania'
     */
    const VALUE_MAURITANIA = 'Mauritania';
    /**
     * Constant for value 'Republic of Montenegro'
     * @return string 'Republic of Montenegro'
     */
    const VALUE_REPUBLIC_OF_MONTENEGRO = 'Republic of Montenegro';
    /**
     * Constant for value 'Morocco'
     * @return string 'Morocco'
     */
    const VALUE_MOROCCO = 'Morocco';
    /**
     * Constant for value 'Qatar'
     * @return string 'Qatar'
     */
    const VALUE_QATAR = 'Qatar';
    /**
     * Constant for value 'Republic of Serbia'
     * @return string 'Republic of Serbia'
     */
    const VALUE_REPUBLIC_OF_SERBIA = 'Republic of Serbia';
    /**
     * Constant for value 'Sudan'
     * @return string 'Sudan'
     */
    const VALUE_SUDAN = 'Sudan';
    /**
     * Constant for value 'Tunisia'
     * @return string 'Tunisia'
     */
    const VALUE_TUNISIA = 'Tunisia';
    /**
     * Constant for value 'Vietnam'
     * @return string 'Vietnam'
     */
    const VALUE_VIETNAM = 'Vietnam';
    /**
     * Constant for value 'Yemen'
     * @return string 'Yemen'
     */
    const VALUE_YEMEN = 'Yemen';
    /**
     * Constant for value 'Lithuania'
     * @return string 'Lithuania'
     */
    const VALUE_LITHUANIA = 'Lithuania';
    /**
     * Constant for value 'Latvia'
     * @return string 'Latvia'
     */
    const VALUE_LATVIA = 'Latvia';
    /**
     * Constant for value 'Estonia'
     * @return string 'Estonia'
     */
    const VALUE_ESTONIA = 'Estonia';
    /**
     * Return true if value is allowed
     * @uses self::getValidValues()
     * @param mixed $value value
     * @return bool true|false
     */
    public static function valueIsValid($value)
    {
        return ($value === null) || in_array($value, self::getValidValues(), true);
    }
    /**
     * Return allowed values
     * @uses self::VALUE_ARGENTINA
     * @uses self::VALUE_AUSTRALIA
     * @uses self::VALUE_AUSTRIA
     * @uses self::VALUE_BELGIUM
     * @uses self::VALUE_BRAZIL
     * @uses self::VALUE_CANADA
     * @uses self::VALUE_CHINA
     * @uses self::VALUE_COLOMBIA
     * @uses self::VALUE_CYPRUS
     * @uses self::VALUE_CZECH_REPUBLIC
     * @uses self::VALUE_DENMARK
     * @uses self::VALUE_EGYPT
     * @uses self::VALUE_FINLAND
     * @uses self::VALUE_FRANCE
     * @uses self::VALUE_GERMANY
     * @uses self::VALUE_GHANA
     * @uses self::VALUE_GREECE
     * @uses self::VALUE_HONG_KONG
     * @uses self::VALUE_HUNGARY
     * @uses self::VALUE_ICELAND
     * @uses self::VALUE_INDIA
     * @uses self::VALUE_INDONESIA
     * @uses self::VALUE_IRELAND
     * @uses self::VALUE_ISRAEL
     * @uses self::VALUE_ITALY
     * @uses self::VALUE_JAPAN
     * @uses self::VALUE_JORDAN
     * @uses self::VALUE_KENYA
     * @uses self::VALUE_KOREA_REPUBLIC
     * @uses self::VALUE_LEBANON
     * @uses self::VALUE_LUXEMBOURG
     * @uses self::VALUE_MALAYSIA
     * @uses self::VALUE_MEXICO
     * @uses self::VALUE_NEPAL
     * @uses self::VALUE_NETHERLANDS
     * @uses self::VALUE_NEW_ZEALAND
     * @uses self::VALUE_NIGERIA
     * @uses self::VALUE_NORWAY
     * @uses self::VALUE_PAKISTAN
     * @uses self::VALUE_PANAMA
     * @uses self::VALUE_PERU
     * @uses self::VALUE_PHILIPPINES
     * @uses self::VALUE_POLAND
     * @uses self::VALUE_PORTUGAL
     * @uses self::VALUE_RUSSIAN_FEDERATION
     * @uses self::VALUE_SAUDI_ARABIA
     * @uses self::VALUE_SINGAPORE
     * @uses self::VALUE_SLOVAKIA
     * @uses self::VALUE_SLOVENIA
     * @uses self::VALUE_SOUTH_AFRICA
     * @uses self::VALUE_SPAIN
     * @uses self::VALUE_SWEDEN
     * @uses self::VALUE_SWITZERLAND
     * @uses self::VALUE_TAIWAN
     * @uses self::VALUE_THAILAND
     * @uses self::VALUE_TURKEY
     * @uses self::VALUE_UNITED_KINGDOM
     * @uses self::VALUE_UNITED_STATES
     * @uses self::VALUE_VENEZUELA
     * @uses self::VALUE_ZIMBABWE
     * @uses self::VALUE_ITU
     * @uses self::VALUE_CHILE
     * @uses self::VALUE_BULGARIA
     * @uses self::VALUE_CROATIA
     * @uses self::VALUE_ROMANIA
     * @uses self::VALUE_SERBIA_AND_MONTENEGRO
     * @uses self::VALUE_UNITED_ARAB_EMIRATES
     * @uses self::VALUE_OMAN
     * @uses self::VALUE_KUWAIT
     * @uses self::VALUE_ALGERIA
     * @uses self::VALUE_BAHRAIN
     * @uses self::VALUE_IRAQ
     * @uses self::VALUE_MAURITANIA
     * @uses self::VALUE_REPUBLIC_OF_MONTENEGRO
     * @uses self::VALUE_MOROCCO
     * @uses self::VALUE_QATAR
     * @uses self::VALUE_REPUBLIC_OF_SERBIA
     * @uses self::VALUE_SUDAN
     * @uses self::VALUE_TUNISIA
     * @uses self::VALUE_VIETNAM
     * @uses self::VALUE_YEMEN
     * @uses self::VALUE_LITHUANIA
     * @uses self::VALUE_LATVIA
     * @uses self::VALUE_ESTONIA
     * @return string[]
     */
    public static function getValidValues()
    {
        return array(
            self::VALUE_ARGENTINA,
            self::VALUE_AUSTRALIA,
            self::VALUE_AUSTRIA,
            self::VALUE_BELGIUM,
            self::VALUE_BRAZIL,
            self::VALUE_CANADA,
            self::VALUE_CHINA,
            self::VALUE_COLOMBIA,
            self::VALUE_CYPRUS,
            self::VALUE_CZECH_REPUBLIC,
            self::VALUE_DENMARK,
            self::VALUE_EGYPT,
            self::VALUE_FINLAND,
            self::VALUE_FRANCE,
            self::VALUE_GERMANY,
            self::VALUE_GHANA,
            self::VALUE_GREECE,
            self::VALUE_HONG_KONG,
            self::VALUE_HUNGARY,
            self::VALUE_ICELAND,
            self::VALUE_INDIA,
            self::VALUE_INDONESIA,
            self::VALUE_IRELAND,
            self::VALUE_ISRAEL,
            self::VALUE_ITALY,
            self::VALUE_JAPAN,
            self::VALUE_JORDAN,
            self::VALUE_KENYA,
            self::VALUE_KOREA_REPUBLIC,
            self::VALUE_LEBANON,
            self::VALUE_LUXEMBOURG,
            self::VALUE_MALAYSIA,
            self::VALUE_MEXICO,
            self::VALUE_NEPAL,
            self::VALUE_NETHERLANDS,
            self::VALUE_NEW_ZEALAND,
            self::VALUE_NIGERIA,
            self::VALUE_NORWAY,
            self::VALUE_PAKISTAN,
            self::VALUE_PANAMA,
            self::VALUE_PERU,
            self::VALUE_PHILIPPINES,
            self::VALUE_POLAND,
            self::VALUE_PORTUGAL,
            self::VALUE_RUSSIAN_FEDERATION,
            self::VALUE_SAUDI_ARABIA,
            self::VALUE_SINGAPORE,
            self::VALUE_SLOVAKIA,
            self::VALUE_SLOVENIA,
            self::VALUE_SOUTH_AFRICA,
            self::VALUE_SPAIN,
            self::VALUE_SWEDEN,
            self::VALUE_SWITZERLAND,
            self::VALUE_TAIWAN,
            self::VALUE_THAILAND,
            self::VALUE_TURKEY,
            self::VALUE_UNITED_KINGDOM,
            self::VALUE_UNITED_STATES,
            self::VALUE_VENEZUELA,
            self::VALUE_ZIMBABWE,
            self::VALUE_ITU,
            self::VALUE_CHILE,
            self::VALUE_BULGARIA,
            self::VALUE_CROATIA,
            self::VALUE_ROMANIA,
            self::VALUE_SERBIA_AND_MONTENEGRO,
            self::VALUE_UNITED_ARAB_EMIRATES,
            self::VALUE_OMAN,
            self::VALUE_KUWAIT,
            self::VALUE_ALGERIA,
            self::VALUE_BAHRAIN,
            self::VALUE_IRAQ,
            self::VALUE_MAURITANIA,
            self::VALUE_REPUBLIC_OF_MONTENEGRO,
            self::VALUE_MOROCCO,
            self::VALUE_QATAR,
            self::VALUE_REPUBLIC_OF_SERBIA,
            self::VALUE_SUDAN,
            self::VALUE_TUNISIA,
            self::VALUE_VIETNAM,
            self::VALUE_YEMEN,
            self::VALUE_LITHUANIA,
            self::VALUE_LATVIA,
            self::VALUE_ESTONIA,
        );
    }
    /**
     * Method returning the class name
     * @return string __CLASS__
     */
    public function __toString()
    {
        return __CLASS__;
    }
}
