public static enum FieldUtils.BeanRestriction extends Enum<FieldUtils.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 FieldUtils.BeanRestriction |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FieldUtils.BeanRestriction[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FieldUtils.BeanRestriction YES_GETTER
public static final FieldUtils.BeanRestriction YES_SETTER
public static final FieldUtils.BeanRestriction NO_SETTER
public static final FieldUtils.BeanRestriction NO_GETTER
public static FieldUtils.BeanRestriction[] values()
for (FieldUtils.BeanRestriction c : FieldUtils.BeanRestriction.values()) System.out.println(c);
public static FieldUtils.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 © 2018. All rights reserved.