public enum BeanAccess extends java.lang.Enum<BeanAccess>
Enum Constant and Description |
---|
DEFAULT
use JavaBean properties and public fields
|
FIELD
use all declared fields (including inherited)
|
PROPERTY
reserved
|
Modifier and Type | Method and Description |
---|---|
static BeanAccess |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static BeanAccess[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BeanAccess DEFAULT
public static final BeanAccess FIELD
public static final BeanAccess PROPERTY
public static BeanAccess[] values()
for (BeanAccess c : BeanAccess.values()) System.out.println(c);
public static BeanAccess 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