public static enum SQLBuilder.Privilege extends java.lang.Enum<SQLBuilder.Privilege>
Enum Constant and Description |
---|
ALL |
DELETE |
INSERT |
REFERENCE |
SELECT |
TRIGGER |
TRUNCATE |
UPDATE |
Modifier and Type | Method and Description |
---|---|
static SQLBuilder.Privilege |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SQLBuilder.Privilege[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SQLBuilder.Privilege SELECT
public static final SQLBuilder.Privilege INSERT
public static final SQLBuilder.Privilege UPDATE
public static final SQLBuilder.Privilege DELETE
public static final SQLBuilder.Privilege TRUNCATE
public static final SQLBuilder.Privilege REFERENCE
public static final SQLBuilder.Privilege TRIGGER
public static final SQLBuilder.Privilege ALL
public static SQLBuilder.Privilege[] values()
for (SQLBuilder.Privilege c : SQLBuilder.Privilege.values()) System.out.println(c);
public static SQLBuilder.Privilege 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 null