@Deprecated public static enum CompositeValidator.CombinationMode extends Enum<CompositeValidator.CombinationMode>
Enum Constant and Description |
---|
AND
Deprecated.
The validators are combined with
AND clause: validity of
the composite implies validity of the all validators it is composed
of must be valid. |
OR
Deprecated.
The validators are combined with
OR clause: validity of
the composite implies that some of validators it is composed of must
be valid. |
Modifier and Type | Method and Description |
---|---|
static CompositeValidator.CombinationMode |
valueOf(String name)
Deprecated.
Returns the enum constant of this type with the specified name.
|
static CompositeValidator.CombinationMode[] |
values()
Deprecated.
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CompositeValidator.CombinationMode AND
AND
clause: validity of
the composite implies validity of the all validators it is composed
of must be valid.public static final CompositeValidator.CombinationMode OR
OR
clause: validity of
the composite implies that some of validators it is composed of must
be valid.public static CompositeValidator.CombinationMode[] values()
for (CompositeValidator.CombinationMode c : CompositeValidator.CombinationMode.values()) System.out.println(c);
public static CompositeValidator.CombinationMode 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 nullCopyright © 2020 Vaadin Ltd. All rights reserved.