public enum TranslatorRoleName extends java.lang.Enum<TranslatorRoleName> implements EnumConverter<TranslatorRoleName>
Enum Constant and Description |
---|
PROOFREADER |
TRANSLATOR |
Modifier and Type | Method and Description |
---|---|
static TranslatorRoleName |
from(java.lang.String value) |
java.lang.Object |
to(TranslatorRoleName v) |
static TranslatorRoleName |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TranslatorRoleName[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TranslatorRoleName TRANSLATOR
public static final TranslatorRoleName PROOFREADER
public static TranslatorRoleName[] values()
for (TranslatorRoleName c : TranslatorRoleName.values()) System.out.println(c);
public static TranslatorRoleName valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static TranslatorRoleName from(java.lang.String value)
public java.lang.Object to(TranslatorRoleName v)
to
in interface EnumConverter<TranslatorRoleName>