public static enum GrantorSpecification.Type extends Enum<GrantorSpecification.Type>
| Enum Constant and Description |
|---|
CURRENT_ROLE |
CURRENT_USER |
PRINCIPAL |
| Modifier and Type | Method and Description |
|---|---|
static GrantorSpecification.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GrantorSpecification.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GrantorSpecification.Type PRINCIPAL
public static final GrantorSpecification.Type CURRENT_USER
public static final GrantorSpecification.Type CURRENT_ROLE
public static GrantorSpecification.Type[] values()
for (GrantorSpecification.Type c : GrantorSpecification.Type.values()) System.out.println(c);
public static GrantorSpecification.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 nullCopyright © 2012–2023. All rights reserved.