Package com.powsybl.ucte.network
Enum UcteCountryCode
- java.lang.Object
-
- java.lang.Enum<UcteCountryCode>
-
- com.powsybl.ucte.network.UcteCountryCode
-
- All Implemented Interfaces:
Serializable
,Comparable<UcteCountryCode>
public enum UcteCountryCode extends Enum<UcteCountryCode>
- Author:
- Geoffroy Jamgotchian
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static UcteCountryCode
fromUcteCode(char ucteCode)
String
getPrettyName()
char
getUcteCode()
static boolean
isUcteCountryCode(char character)
static UcteCountryCode
valueOf(String name)
Returns the enum constant of this type with the specified name.static UcteCountryCode[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
AT
public static final UcteCountryCode AT
-
AL
public static final UcteCountryCode AL
-
BE
public static final UcteCountryCode BE
-
BG
public static final UcteCountryCode BG
-
BA
public static final UcteCountryCode BA
-
BY
public static final UcteCountryCode BY
-
CH
public static final UcteCountryCode CH
-
CZ
public static final UcteCountryCode CZ
-
DE
public static final UcteCountryCode DE
-
DK
public static final UcteCountryCode DK
-
ES
public static final UcteCountryCode ES
-
FR
public static final UcteCountryCode FR
-
GB
public static final UcteCountryCode GB
-
GR
public static final UcteCountryCode GR
-
HU
public static final UcteCountryCode HU
-
HR
public static final UcteCountryCode HR
-
IT
public static final UcteCountryCode IT
-
LU
public static final UcteCountryCode LU
-
LT
public static final UcteCountryCode LT
-
MA
public static final UcteCountryCode MA
-
MD
public static final UcteCountryCode MD
-
MK
public static final UcteCountryCode MK
-
NO
public static final UcteCountryCode NO
-
NL
public static final UcteCountryCode NL
-
PT
public static final UcteCountryCode PT
-
PL
public static final UcteCountryCode PL
-
RO
public static final UcteCountryCode RO
-
RU
public static final UcteCountryCode RU
-
SE
public static final UcteCountryCode SE
-
SK
public static final UcteCountryCode SK
-
SI
public static final UcteCountryCode SI
-
TR
public static final UcteCountryCode TR
-
UA
public static final UcteCountryCode UA
-
ME
public static final UcteCountryCode ME
-
RS
public static final UcteCountryCode RS
-
KS
public static final UcteCountryCode KS
-
XX
public static final UcteCountryCode XX
-
-
Method Detail
-
values
public static UcteCountryCode[] 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 (UcteCountryCode c : UcteCountryCode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static UcteCountryCode 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
-
getUcteCode
public char getUcteCode()
-
getPrettyName
public String getPrettyName()
-
fromUcteCode
public static UcteCountryCode fromUcteCode(char ucteCode)
-
isUcteCountryCode
public static boolean isUcteCountryCode(char character)
-
-