public enum PRequirement extends Enum<PRequirement>
Modifier and Type | Field and Description |
---|---|
boolean |
fieldIsValueType |
String |
label |
boolean |
presenceRequired |
Modifier and Type | Method and Description |
---|---|
static PRequirement |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PRequirement[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PRequirement DEFAULT
public static final PRequirement OPTIONAL
public static final PRequirement REQUIRED
public final boolean fieldIsValueType
public final boolean presenceRequired
public final String label
public static PRequirement[] values()
for (PRequirement c : PRequirement.values()) System.out.println(c);
public static PRequirement 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 © 2015–2017 morimekta.net. All rights reserved.