| Enum Constant and Description |
|---|
ADMINISTRATOR |
CONTRIBUTOR |
EDITOR |
GUEST |
NONE |
READER |
WEB_DESIGNER |
| Modifier and Type | Method and Description |
|---|---|
static RoleType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static RoleType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RoleType ADMINISTRATOR
public static final RoleType CONTRIBUTOR
public static final RoleType EDITOR
public static final RoleType GUEST
public static final RoleType NONE
public static final RoleType READER
public static final RoleType WEB_DESIGNER
public static RoleType 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 RoleType[] values()
for (RoleType c : RoleType.values()) System.out.println(c);