public static enum FieldAccessorFactory.Presence extends Enum<FieldAccessorFactory.Presence>
Modifier and Type | Method and Description |
---|---|
static FieldAccessorFactory.Presence |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FieldAccessorFactory.Presence[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FieldAccessorFactory.Presence MANDATORY
public static final FieldAccessorFactory.Presence OPTIONAL
public static FieldAccessorFactory.Presence[] values()
for (FieldAccessorFactory.Presence c : FieldAccessorFactory.Presence.values()) System.out.println(c);
public static FieldAccessorFactory.Presence 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 null