public enum ValidatorType extends Enum<ValidatorType>
Enum Constant and Description |
---|
CONDITIONAL |
DUPLICATE |
FIELD_ALLOWED |
FIELD_DEFINITION |
FIELD_ORDER |
GROUP |
MESSAGE_TYPE |
MESSAGE_WELFORMED |
REQUIRED_FIELDS |
Modifier and Type | Method and Description |
---|---|
static ValidatorType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ValidatorType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ValidatorType CONDITIONAL
public static final ValidatorType DUPLICATE
public static final ValidatorType FIELD_ALLOWED
public static final ValidatorType FIELD_ORDER
public static final ValidatorType FIELD_DEFINITION
public static final ValidatorType GROUP
public static final ValidatorType MESSAGE_TYPE
public static final ValidatorType MESSAGE_WELFORMED
public static final ValidatorType REQUIRED_FIELDS
public static ValidatorType[] values()
for (ValidatorType c : ValidatorType.values()) System.out.println(c);
public static ValidatorType 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 © 2000–2022 EPAM Systems. All rights reserved.