public enum PolicyType extends Enum<PolicyType>
| Enum Constant and Description |
|---|
NONE |
READ_ONLY |
READ_WRITE |
WRITE_ONLY |
| Modifier and Type | Method and Description |
|---|---|
String |
getValue()
Returns the policyType value.
|
static PolicyType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PolicyType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PolicyType NONE
public static final PolicyType READ_ONLY
public static final PolicyType READ_WRITE
public static final PolicyType WRITE_ONLY
public static PolicyType[] values()
for (PolicyType c : PolicyType.values()) System.out.println(c);
public static PolicyType 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 String getValue()