Serializable, Comparable<BeanAccess>public enum BeanAccess extends Enum<BeanAccess>
| Enum Constant | Description |
|---|---|
DEFAULT |
use JavaBean properties and public fields
|
FIELD |
use all declared fields (including inherited)
|
PROPERTY |
reserved
|
| Modifier and Type | Method | Description |
|---|---|---|
static BeanAccess |
valueOf(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(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 © 2008–2018. All rights reserved.