Package client.dto.enums
Enum ClassesLang
- java.lang.Object
-
- java.lang.Enum<ClassesLang>
-
- client.dto.enums.ClassesLang
-
- All Implemented Interfaces:
Serializable,Comparable<ClassesLang>
public enum ClassesLang extends Enum<ClassesLang>
- Author:
- Tomáš Hamsa on 20.08.2017.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetValue()static ClassesLangvalueOf(String name)Returns the enum constant of this type with the specified name.static ClassesLang[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CS
public static final ClassesLang CS
-
DE
public static final ClassesLang DE
-
EN
public static final ClassesLang EN
-
ES
public static final ClassesLang ES
-
FR
public static final ClassesLang FR
-
PL
public static final ClassesLang PL
-
RU
public static final ClassesLang RU
-
SK
public static final ClassesLang SK
-
UNDEFINED
public static final ClassesLang UNDEFINED
-
-
Method Detail
-
values
public static ClassesLang[] 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 (ClassesLang c : ClassesLang.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ClassesLang 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
-
getValue
public String getValue()
-
-