public enum ValidationMode extends java.lang.Enum<ValidationMode> implements ValueEnum
Enum Constant and Description |
---|
FULL
Assume provided data is complete and run all validation rules
|
PARTIAL
Validate only the data values that are present ignoring the absence of required fields, validators that refer to fields
that are not present, and any conditional validators dependent on fields that are not present.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getValue() |
static ValidationMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ValidationMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ValidationMode FULL
If this enumerated value is used in a Component XML
file or server-side DataSource descriptor (.ds.xml file), use the value "full".
public static final ValidationMode PARTIAL
If this enumerated value is used in a Component XML
file or server-side DataSource descriptor (.ds.xml file), use the value "partial".
public static ValidationMode[] values()
for (ValidationMode c : ValidationMode.values()) System.out.println(c);
public static ValidationMode 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