public enum PropertyAccess extends Enum<PropertyAccess>
| Enum Constant and Description |
|---|
DEFAULT
Field or setter injection, defined by the configured default value
|
FIELD
Field injection
|
SETTER
Setter injection
|
| Modifier and Type | Method and Description |
|---|---|
static PropertyAccess |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PropertyAccess[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PropertyAccess FIELD
public static final PropertyAccess SETTER
public static final PropertyAccess DEFAULT
public static PropertyAccess[] values()
for (PropertyAccess c : PropertyAccess.values()) System.out.println(c);
public static PropertyAccess 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 nullCopyright © 2016. All Rights Reserved.