public static enum ValidationRule.ValidationType extends java.lang.Enum<ValidationRule.ValidationType>
Modifier and Type | Method and Description |
---|---|
static ValidationRule.ValidationType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ValidationRule.ValidationType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ValidationRule.ValidationType None
public static final ValidationRule.ValidationType One
public static final ValidationRule.ValidationType OneOrLess
public static final ValidationRule.ValidationType OneOrMore
public static ValidationRule.ValidationType[] values()
for (ValidationRule.ValidationType c : ValidationRule.ValidationType.values()) System.out.println(c);
public static ValidationRule.ValidationType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null