public enum Privilege extends Enum<Privilege>
| 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 SELECT
public static final Privilege DELETE
public static final Privilege INSERT
public static final Privilege UPDATE
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 © 2012–2022. All rights reserved.