Package com.boldsign.model
Enum Roles.LocaleEnum
- java.lang.Object
-
- java.lang.Enum<Roles.LocaleEnum>
-
- com.boldsign.model.Roles.LocaleEnum
-
- All Implemented Interfaces:
Serializable,Comparable<Roles.LocaleEnum>
- Enclosing class:
- Roles
public static enum Roles.LocaleEnum extends Enum<Roles.LocaleEnum>
Gets or Sets locale
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classRoles.LocaleEnum.Adapter
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Roles.LocaleEnumfromValue(String value)StringgetValue()StringtoString()static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement)static Roles.LocaleEnumvalueOf(String name)Returns the enum constant of this type with the specified name.static Roles.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 Roles.LocaleEnum EN
-
NO
public static final Roles.LocaleEnum NO
-
FR
public static final Roles.LocaleEnum FR
-
DE
public static final Roles.LocaleEnum DE
-
ES
public static final Roles.LocaleEnum ES
-
BG
public static final Roles.LocaleEnum BG
-
CS
public static final Roles.LocaleEnum CS
-
DA
public static final Roles.LocaleEnum DA
-
IT
public static final Roles.LocaleEnum IT
-
NL
public static final Roles.LocaleEnum NL
-
PL
public static final Roles.LocaleEnum PL
-
PT
public static final Roles.LocaleEnum PT
-
RO
public static final Roles.LocaleEnum RO
-
RU
public static final Roles.LocaleEnum RU
-
SV
public static final Roles.LocaleEnum SV
-
DEFAULT
public static final Roles.LocaleEnum DEFAULT
-
JA
public static final Roles.LocaleEnum JA
-
TH
public static final Roles.LocaleEnum TH
-
ZH_CN
public static final Roles.LocaleEnum ZH_CN
-
ZH_TW
public static final Roles.LocaleEnum ZH_TW
-
-
Method Detail
-
values
public static Roles.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 (Roles.LocaleEnum c : Roles.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 Roles.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<Roles.LocaleEnum>
-
fromValue
public static Roles.LocaleEnum fromValue(String value)
-
validateJsonElement
public static void validateJsonElement(com.google.gson.JsonElement jsonElement) throws IOException- Throws:
IOException
-
-