public static enum BeanUtils.BeanRestriction extends Enum<BeanUtils.BeanRestriction>
| Enum Constant and Description |
|---|
NO_GETTER
Restriction flag that indicates a getter must be available.
|
NO_SETTER
Restriction flag that indicates no setter must be available.
|
YES_GETTER
Restriction flag that indicates a getter method is required.
|
YES_SETTER
Restriction flag that indicates a setter method is required.
|
| Modifier and Type | Method and Description |
|---|---|
static BeanUtils.BeanRestriction |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BeanUtils.BeanRestriction[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BeanUtils.BeanRestriction YES_GETTER
public static final BeanUtils.BeanRestriction YES_SETTER
public static final BeanUtils.BeanRestriction NO_SETTER
public static final BeanUtils.BeanRestriction NO_GETTER
public static BeanUtils.BeanRestriction[] values()
for (BeanUtils.BeanRestriction c : BeanUtils.BeanRestriction.values()) System.out.println(c);
public static BeanUtils.BeanRestriction 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 © 2011–2019. All rights reserved.