public static enum AttributeCriterion.RequiredType extends Enum<AttributeCriterion.RequiredType>
| Enum Constant and Description |
|---|
OPTIONAL |
REQUIRED |
SELECTIVELY_REQUIRED |
| Modifier and Type | Method and Description |
|---|---|
static AttributeCriterion.RequiredType |
getRequiredType(String name)
Returns the RequiredType enum based on its string representation
|
static String |
getString(AttributeCriterion.RequiredType requiredType)
Returns the String representation of the RequiredType enum
|
static AttributeCriterion.RequiredType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AttributeCriterion.RequiredType[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared.
|
public static final AttributeCriterion.RequiredType OPTIONAL
public static final AttributeCriterion.RequiredType REQUIRED
public static final AttributeCriterion.RequiredType SELECTIVELY_REQUIRED
public static AttributeCriterion.RequiredType[] values()
for (AttributeCriterion.RequiredType c : AttributeCriterion.RequiredType.values())
System.out.println(c);
public static AttributeCriterion.RequiredType 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 nullpublic static AttributeCriterion.RequiredType getRequiredType(String name)
name -public static String getString(AttributeCriterion.RequiredType requiredType)
requiredType -