public static enum CompositeValidator.CombinationMode extends Enum<CompositeValidator.CombinationMode>
| Enum Constant and Description |
|---|
AND
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
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)
Returns the enum constant of this type with the specified name.
|
static CompositeValidator.CombinationMode[] |
values()
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 © 2017 Vaadin Ltd. All rights reserved.