public static enum BaseGrantQuery.Privilege.Type extends Enum<BaseGrantQuery.Privilege.Type>
Enum Constant and Description |
---|
ALL |
DELETE |
INSERT |
REFERENCES |
SELECT |
UPDATE |
USAGE |
Modifier and Type | Method and Description |
---|---|
boolean |
maySpecifyColumns() |
String |
toString() |
static BaseGrantQuery.Privilege.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BaseGrantQuery.Privilege.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BaseGrantQuery.Privilege.Type ALL
public static final BaseGrantQuery.Privilege.Type SELECT
public static final BaseGrantQuery.Privilege.Type DELETE
public static final BaseGrantQuery.Privilege.Type INSERT
public static final BaseGrantQuery.Privilege.Type UPDATE
public static final BaseGrantQuery.Privilege.Type REFERENCES
public static final BaseGrantQuery.Privilege.Type USAGE
public static BaseGrantQuery.Privilege.Type[] values()
for (BaseGrantQuery.Privilege.Type c : BaseGrantQuery.Privilege.Type.values()) System.out.println(c);
public static BaseGrantQuery.Privilege.Type 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 boolean maySpecifyColumns()
public String toString()
toString
in class Enum<BaseGrantQuery.Privilege.Type>
Copyright © 2006–2021 OpenHMS. All rights reserved.