public enum BeanValidationMode extends java.lang.Enum<BeanValidationMode>
Enum Constant and Description |
---|
AUTO
If a Bean Validation provider is present in the environment,
the JAXB implementation provider must perform the automatic validation
of entities.
|
CALLBACK
The JAXB implementation provider must perform the validation of entities.
|
NONE
The JAXB implementation provider must not perform lifecycle event validation.
|
Modifier and Type | Method and Description |
---|---|
static BeanValidationMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static BeanValidationMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BeanValidationMode AUTO
public static final BeanValidationMode CALLBACK
public static final BeanValidationMode NONE
public static BeanValidationMode[] values()
for (BeanValidationMode c : BeanValidationMode.values()) System.out.println(c);
public static BeanValidationMode 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