Package be.ceau.nace.translate
Enum NaceLanguage
- java.lang.Object
-
- java.lang.Enum<NaceLanguage>
-
- be.ceau.nace.translate.NaceLanguage
-
- All Implemented Interfaces:
Serializable,Comparable<NaceLanguage>
public enum NaceLanguage extends Enum<NaceLanguage>
Enumeration of languages that have an official NACE translation.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description LocalegetLocale()StringgetName()static NaceLanguagevalueOf(String name)Returns the enum constant of this type with the specified name.static NaceLanguage[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
BG
public static final NaceLanguage BG
-
CS
public static final NaceLanguage CS
-
DA
public static final NaceLanguage DA
-
DE
public static final NaceLanguage DE
-
EL
public static final NaceLanguage EL
-
EN
public static final NaceLanguage EN
-
ES
public static final NaceLanguage ES
-
ET
public static final NaceLanguage ET
-
FI
public static final NaceLanguage FI
-
FR
public static final NaceLanguage FR
-
HR
public static final NaceLanguage HR
-
HU
public static final NaceLanguage HU
-
IT
public static final NaceLanguage IT
-
LT
public static final NaceLanguage LT
-
LV
public static final NaceLanguage LV
-
MT
public static final NaceLanguage MT
-
NL
public static final NaceLanguage NL
-
NO
public static final NaceLanguage NO
-
PL
public static final NaceLanguage PL
-
PT
public static final NaceLanguage PT
-
RO
public static final NaceLanguage RO
-
RU
public static final NaceLanguage RU
-
SK
public static final NaceLanguage SK
-
SL
public static final NaceLanguage SL
-
SV
public static final NaceLanguage SV
-
TR
public static final NaceLanguage TR
-
-
Method Detail
-
values
public static NaceLanguage[] 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 (NaceLanguage c : NaceLanguage.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static NaceLanguage 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
-
getName
public String getName()
-
getLocale
public Locale getLocale()
-
-