public enum JavaXConstraintSupportType extends Enum<JavaXConstraintSupportType>
| Enum Constant and Description |
|---|
ASSERTFALSE |
ASSERTTRUE |
DECIMAL_MAX |
DECIMAL_MIN |
DIGITS |
MAX |
MIN |
NEGATIVE |
NEGATIVEORZERO |
NOT_BLANK |
NOT_EMPTY |
NOT_NULL |
NULL |
PATTERN |
POSITIVE |
POSITIVEORZERO |
SIZE |
| Modifier and Type | Field and Description |
|---|---|
String |
annotation |
| Modifier and Type | Method and Description |
|---|---|
static JavaXConstraintSupportType |
getSupportType(String annotation) |
static JavaXConstraintSupportType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static JavaXConstraintSupportType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JavaXConstraintSupportType NOT_NULL
public static final JavaXConstraintSupportType NOT_EMPTY
public static final JavaXConstraintSupportType NOT_BLANK
public static final JavaXConstraintSupportType SIZE
public static final JavaXConstraintSupportType PATTERN
public static final JavaXConstraintSupportType MAX
public static final JavaXConstraintSupportType MIN
public static final JavaXConstraintSupportType DECIMAL_MAX
public static final JavaXConstraintSupportType DECIMAL_MIN
public static final JavaXConstraintSupportType DIGITS
public static final JavaXConstraintSupportType POSITIVE
public static final JavaXConstraintSupportType POSITIVEORZERO
public static final JavaXConstraintSupportType NEGATIVE
public static final JavaXConstraintSupportType NEGATIVEORZERO
public static final JavaXConstraintSupportType ASSERTFALSE
public static final JavaXConstraintSupportType ASSERTTRUE
public static final JavaXConstraintSupportType NULL
public final String annotation
public static JavaXConstraintSupportType[] values()
for (JavaXConstraintSupportType c : JavaXConstraintSupportType.values()) System.out.println(c);
public static JavaXConstraintSupportType 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 nullpublic static JavaXConstraintSupportType getSupportType(String annotation)
Copyright © 2016–2023. All rights reserved.