public enum PrivilegeScope extends java.lang.Enum<PrivilegeScope>
Enum Constant and Description |
---|
COLUMN_LEVEL_SCOPE |
DB_LEVEL_SCOPE |
TABLE_LEVEL_SCOPE |
USER_LEVEL_SCOPE |
Modifier and Type | Field and Description |
---|---|
static java.util.EnumSet<PrivilegeScope> |
ALLSCOPE |
static java.util.EnumSet<PrivilegeScope> |
ALLSCOPE_EXCEPT_COLUMN |
Modifier and Type | Method and Description |
---|---|
short |
getMode() |
void |
setMode(short mode) |
static PrivilegeScope |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PrivilegeScope[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PrivilegeScope USER_LEVEL_SCOPE
public static final PrivilegeScope DB_LEVEL_SCOPE
public static final PrivilegeScope TABLE_LEVEL_SCOPE
public static final PrivilegeScope COLUMN_LEVEL_SCOPE
public static java.util.EnumSet<PrivilegeScope> ALLSCOPE
public static java.util.EnumSet<PrivilegeScope> ALLSCOPE_EXCEPT_COLUMN
public static PrivilegeScope[] values()
for (PrivilegeScope c : PrivilegeScope.values()) System.out.println(c);
public static PrivilegeScope 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 nullpublic short getMode()
public void setMode(short mode)
Copyright © 2012 The Apache Software Foundation