public enum UiPermissionValue extends java.lang.Enum<UiPermissionValue>
| Modifier and Type | Method and Description |
|---|---|
static UiPermissionValue |
fromId(int id) |
int |
getValue() |
static UiPermissionValue |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static UiPermissionValue[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final UiPermissionValue SHOW
public static final UiPermissionValue READ_ONLY
public static final UiPermissionValue HIDE
public static UiPermissionValue[] values()
for (UiPermissionValue c : UiPermissionValue.values()) System.out.println(c);
public static UiPermissionValue 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 UiPermissionValue fromId(int id)