public static enum CommitContext.ValidationMode extends java.lang.Enum<CommitContext.ValidationMode>
DataManager
level.Enum Constant and Description |
---|
ALWAYS_VALIDATE
Always perform validation.
|
DEFAULT
Use value from
cuba.dataManagerBeanValidation application property. |
NEVER_VALIDATE
Do not validate.
|
Modifier and Type | Method and Description |
---|---|
static CommitContext.ValidationMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CommitContext.ValidationMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CommitContext.ValidationMode DEFAULT
cuba.dataManagerBeanValidation
application property.public static final CommitContext.ValidationMode ALWAYS_VALIDATE
public static final CommitContext.ValidationMode NEVER_VALIDATE
public static CommitContext.ValidationMode[] values()
for (CommitContext.ValidationMode c : CommitContext.ValidationMode.values()) System.out.println(c);
public static CommitContext.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