Package com.boldsign.model
Enum Role.LocaleEnum
- java.lang.Object
-
- java.lang.Enum<Role.LocaleEnum>
-
- com.boldsign.model.Role.LocaleEnum
-
- All Implemented Interfaces:
Serializable,Comparable<Role.LocaleEnum>
- Enclosing class:
- Role
public static enum Role.LocaleEnum extends Enum<Role.LocaleEnum>
Gets or Sets locale
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classRole.LocaleEnum.Adapter
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Role.LocaleEnumfromValue(String value)StringgetValue()StringtoString()static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement)static Role.LocaleEnumvalueOf(String name)Returns the enum constant of this type with the specified name.static Role.LocaleEnum[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
EN
public static final Role.LocaleEnum EN
-
NO
public static final Role.LocaleEnum NO
-
FR
public static final Role.LocaleEnum FR
-
DE
public static final Role.LocaleEnum DE
-
ES
public static final Role.LocaleEnum ES
-
BG
public static final Role.LocaleEnum BG
-
CS
public static final Role.LocaleEnum CS
-
DA
public static final Role.LocaleEnum DA
-
IT
public static final Role.LocaleEnum IT
-
NL
public static final Role.LocaleEnum NL
-
PL
public static final Role.LocaleEnum PL
-
PT
public static final Role.LocaleEnum PT
-
RO
public static final Role.LocaleEnum RO
-
RU
public static final Role.LocaleEnum RU
-
SV
public static final Role.LocaleEnum SV
-
DEFAULT
public static final Role.LocaleEnum DEFAULT
-
-
Method Detail
-
values
public static Role.LocaleEnum[] 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 (Role.LocaleEnum c : Role.LocaleEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Role.LocaleEnum 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()
-
toString
public String toString()
- Overrides:
toStringin classEnum<Role.LocaleEnum>
-
fromValue
public static Role.LocaleEnum fromValue(String value)
-
validateJsonElement
public static void validateJsonElement(com.google.gson.JsonElement jsonElement) throws IOException- Throws:
IOException
-
-