public static enum ModelAccess.PolicyOption extends Enum<ModelAccess.PolicyOption> implements ModelAccess.WebappDaoFactoryOption
| Enum Constant and Description |
|---|
POLICY_AWARE |
POLICY_NEUTRAL |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isDefault() |
static ModelAccess.PolicyOption |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ModelAccess.PolicyOption[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ModelAccess.PolicyOption POLICY_NEUTRAL
public static final ModelAccess.PolicyOption POLICY_AWARE
public static ModelAccess.PolicyOption[] values()
for (ModelAccess.PolicyOption c : ModelAccess.PolicyOption.values()) System.out.println(c);
public static ModelAccess.PolicyOption 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 boolean isDefault()
isDefault in interface ModelAccess.ModelAccessOptionCopyright © 2022. All rights reserved.