Serializable
, Comparable<OracleResultSetMetaData.SecurityAttribute>
public static enum OracleResultSetMetaData.SecurityAttribute extends Enum<OracleResultSetMetaData.SecurityAttribute>
Enum Constant | Description |
---|---|
ENABLED |
Column Security policy is enabled for the column.
|
NONE |
No XDS policy for the column or the policy is not enabled.
|
UNKNOWN |
The Column Security (XDS) policy for this column is unknown.
|
Modifier and Type | Method | Description |
---|---|---|
static OracleResultSetMetaData.SecurityAttribute |
valueOf(String name) |
Returns the enum constant of this type with the specified name.
|
static OracleResultSetMetaData.SecurityAttribute[] |
values() |
Returns an array containing the constants of this enum type, in the order they are declared.
|
public static final OracleResultSetMetaData.SecurityAttribute NONE
public static final OracleResultSetMetaData.SecurityAttribute ENABLED
ResultSet
could be marked as unauthorized. If the value is unauthorized, the NULL value is returned.public static final OracleResultSetMetaData.SecurityAttribute UNKNOWN
When the column is for example the union of column which has security attributes and a column which hasn't:
select C1 || C2 from mytable;
ResultSet
the value could be non-null although the C1 part is null because it's unauthorized.public static OracleResultSetMetaData.SecurityAttribute[] values()
for (OracleResultSetMetaData.SecurityAttribute c : OracleResultSetMetaData.SecurityAttribute.values()) System.out.println(c);
public static OracleResultSetMetaData.SecurityAttribute 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 null