Enum BeanValidationType
- java.lang.Object
-
- java.lang.Enum<BeanValidationType>
-
- fish.payara.microprofile.openapi.util.BeanValidationType
-
- All Implemented Interfaces:
Serializable,Comparable<BeanValidationType>
public enum BeanValidationType extends Enum<BeanValidationType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DECIMAL_MAXDECIMAL_MINMAXMINNEGATIVENEGATIVE_OR_ZERONOT_BLANKNOT_EMPTYPOSITIVEPOSITIVE_OR_ZER0SIZE
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static BeanValidationTypevalueOf(String name)Returns the enum constant of this type with the specified name.static BeanValidationType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NOT_EMPTY
public static final BeanValidationType NOT_EMPTY
-
NOT_BLANK
public static final BeanValidationType NOT_BLANK
-
SIZE
public static final BeanValidationType SIZE
-
DECIMAL_MAX
public static final BeanValidationType DECIMAL_MAX
-
DECIMAL_MIN
public static final BeanValidationType DECIMAL_MIN
-
MAX
public static final BeanValidationType MAX
-
MIN
public static final BeanValidationType MIN
-
NEGATIVE
public static final BeanValidationType NEGATIVE
-
NEGATIVE_OR_ZERO
public static final BeanValidationType NEGATIVE_OR_ZERO
-
POSITIVE
public static final BeanValidationType POSITIVE
-
POSITIVE_OR_ZER0
public static final BeanValidationType POSITIVE_OR_ZER0
-
-
Method Detail
-
values
public static BeanValidationType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (BeanValidationType c : BeanValidationType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static BeanValidationType valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
-