public enum EnumValidationType extends Enum<EnumValidationType>
| Enum Constant and Description |
|---|
BOOLEAN
Data should be validated as a boolean.
|
DATE
Data should be validated as a date.
|
DATETIME
Data should be validated as a date and time value.
|
FLOAT
Data should be validated as a float.
|
FLOATRANGE
Data should be an float in between a minimum and maximum value.
|
INTEGER
Data should be validated as an integer.
|
INTEGERRANGE
Data should be an integer in between a minimum and maximum value.
|
NONE
No validation is supported or validation do not apply.
|
REGEX
Data should be validated with a regular expression.
|
TIME
Data should be validated as time.
|
| Modifier and Type | Method and Description |
|---|---|
static EnumValidationType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EnumValidationType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EnumValidationType NONE
public static final EnumValidationType BOOLEAN
public static final EnumValidationType INTEGER
public static final EnumValidationType FLOAT
public static final EnumValidationType INTEGERRANGE
public static final EnumValidationType FLOATRANGE
public static final EnumValidationType DATE
public static final EnumValidationType TIME
public static final EnumValidationType DATETIME
public static final EnumValidationType REGEX
public static EnumValidationType[] values()
for (EnumValidationType c : EnumValidationType.values()) System.out.println(c);
public static EnumValidationType 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 © 2022 Samply Community. All rights reserved.