Enum CountryEnum
- java.lang.Object
-
- java.lang.Enum<CountryEnum>
-
- eu.datex2.siri20.schema._2_0rc1._2_0.CountryEnum
-
- All Implemented Interfaces:
Serializable,Comparable<CountryEnum>
public enum CountryEnum extends Enum<CountryEnum>
Java class for CountryEnum.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="CountryEnum"> <restriction base="{http://www.w3.org/2001/XMLSchema}string"> <enumeration value="at"/> <enumeration value="be"/> <enumeration value="bg"/> <enumeration value="ch"/> <enumeration value="cs"/> <enumeration value="cy"/> <enumeration value="cz"/> <enumeration value="de"/> <enumeration value="dk"/> <enumeration value="ee"/> <enumeration value="es"/> <enumeration value="fi"/> <enumeration value="fo"/> <enumeration value="fr"/> <enumeration value="gb"/> <enumeration value="gg"/> <enumeration value="gi"/> <enumeration value="gr"/> <enumeration value="hr"/> <enumeration value="hu"/> <enumeration value="ie"/> <enumeration value="im"/> <enumeration value="is"/> <enumeration value="it"/> <enumeration value="je"/> <enumeration value="li"/> <enumeration value="lt"/> <enumeration value="lu"/> <enumeration value="lv"/> <enumeration value="ma"/> <enumeration value="mc"/> <enumeration value="mk"/> <enumeration value="mt"/> <enumeration value="nl"/> <enumeration value="no"/> <enumeration value="pl"/> <enumeration value="pt"/> <enumeration value="ro"/> <enumeration value="se"/> <enumeration value="si"/> <enumeration value="sk"/> <enumeration value="sm"/> <enumeration value="tr"/> <enumeration value="va"/> <enumeration value="other"/> </restriction> </simpleType>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CountryEnumfromValue(String v)Stringvalue()static CountryEnumvalueOf(String name)Returns the enum constant of this type with the specified name.static CountryEnum[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
AT
public static final CountryEnum AT
-
BE
public static final CountryEnum BE
-
BG
public static final CountryEnum BG
-
CH
public static final CountryEnum CH
-
CS
public static final CountryEnum CS
-
CY
public static final CountryEnum CY
-
CZ
public static final CountryEnum CZ
-
DE
public static final CountryEnum DE
-
DK
public static final CountryEnum DK
-
EE
public static final CountryEnum EE
-
ES
public static final CountryEnum ES
-
FI
public static final CountryEnum FI
-
FO
public static final CountryEnum FO
-
FR
public static final CountryEnum FR
-
GB
public static final CountryEnum GB
-
GG
public static final CountryEnum GG
-
GI
public static final CountryEnum GI
-
GR
public static final CountryEnum GR
-
HR
public static final CountryEnum HR
-
HU
public static final CountryEnum HU
-
IE
public static final CountryEnum IE
-
IM
public static final CountryEnum IM
-
IS
public static final CountryEnum IS
-
IT
public static final CountryEnum IT
-
JE
public static final CountryEnum JE
-
LI
public static final CountryEnum LI
-
LT
public static final CountryEnum LT
-
LU
public static final CountryEnum LU
-
LV
public static final CountryEnum LV
-
MA
public static final CountryEnum MA
-
MC
public static final CountryEnum MC
-
MK
public static final CountryEnum MK
-
MT
public static final CountryEnum MT
-
NL
public static final CountryEnum NL
-
NO
public static final CountryEnum NO
-
PL
public static final CountryEnum PL
-
PT
public static final CountryEnum PT
-
RO
public static final CountryEnum RO
-
SE
public static final CountryEnum SE
-
SI
public static final CountryEnum SI
-
SK
public static final CountryEnum SK
-
SM
public static final CountryEnum SM
-
TR
public static final CountryEnum TR
-
VA
public static final CountryEnum VA
-
OTHER
public static final CountryEnum OTHER
-
-
Method Detail
-
values
public static CountryEnum[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (CountryEnum c : CountryEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CountryEnum valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
value
public String value()
-
fromValue
public static CountryEnum fromValue(String v)
-
-