public enum UIPermission extends Enum<UIPermission>
Enum Constant and Description |
---|
CREATE |
DELETE |
MODIFY_PERMISSION |
READ |
UPDATE |
Modifier and Type | Method and Description |
---|---|
String |
getDescription() |
void |
setDescription(String description) |
static UIPermission |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static UIPermission[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final UIPermission READ
public static final UIPermission CREATE
public static final UIPermission UPDATE
public static final UIPermission MODIFY_PERMISSION
public static final UIPermission DELETE
public static UIPermission[] values()
for (UIPermission c : UIPermission.values()) System.out.println(c);
public static UIPermission valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String getDescription()
public void setDescription(String description)