public enum AccessOption extends java.lang.Enum<AccessOption>
Enum Constant and Description |
---|
CREATE
Create a new object
|
READ
Open an object for read access
|
TRUNCATE
Truncates an object
|
WRITE
Open an object for write access
|
Modifier and Type | Method and Description |
---|---|
static AccessOption |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AccessOption[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AccessOption CREATE
public static final AccessOption WRITE
public static final AccessOption READ
public static final AccessOption TRUNCATE
public static AccessOption[] values()
for (AccessOption c : AccessOption.values()) System.out.println(c);
public static AccessOption 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