public enum Privilege extends Enum<Privilege>
Enum Constant and Description |
---|
BANNED |
FULL |
NO_DELETE |
NO_INSERT |
NO_UPDATE |
READ |
WRITE |
Modifier and Type | Method and Description |
---|---|
static Privilege |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Privilege[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Privilege FULL
public static final Privilege WRITE
public static final Privilege NO_INSERT
public static final Privilege NO_UPDATE
public static final Privilege NO_DELETE
public static final Privilege READ
public static final Privilege BANNED
public static Privilege[] values()
for (Privilege c : Privilege.values()) System.out.println(c);
public static Privilege 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 nullCopyright © 2021. All rights reserved.