| Enum Constant and Description |
|---|
DELETED |
EMAIL |
REGISTERED |
| Modifier and Type | Method and Description |
|---|---|
int |
getValue() |
static UserState |
parse(int value) |
static UserState |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static UserState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final UserState REGISTERED
public static final UserState EMAIL
public static final UserState DELETED
public static UserState[] values()
for (UserState c : UserState.values()) System.out.println(c);
public static UserState 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 int getValue()
public static UserState parse(int value) throws java.io.IOException
java.io.IOException