|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<ConstraintHelper.AnnotationType>
org.hibernate.validator.ap.util.ConstraintHelper.AnnotationType
public static enum ConstraintHelper.AnnotationType
The type of an annotation with respect to the BV API.
Enum Constant Summary | |
---|---|
CONSTRAINT_ANNOTATION
Given annotation is a constraint annotation (e.g. |
|
CONSTRAINT_META_ANNOTATION
Given annotation is the @Constraint meta-annotation. |
|
GRAPH_VALIDATION_ANNOTATION
Given annotation is the @Valid annotation. |
|
GROUP_SEQUENCE_PROVIDER_ANNOTATION
Given annotation is the @GroupSequenceProvider annotation. |
|
MULTI_VALUED_CONSTRAINT_ANNOTATION
Given annotation is a multi-valued annotation (e.g. |
|
NO_CONSTRAINT_ANNOTATION
Given annotation is not related to the BV API (e.g. |
Method Summary | |
---|---|
static ConstraintHelper.AnnotationType |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static ConstraintHelper.AnnotationType[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final ConstraintHelper.AnnotationType CONSTRAINT_ANNOTATION
public static final ConstraintHelper.AnnotationType MULTI_VALUED_CONSTRAINT_ANNOTATION
@List({
@Min(10),
@Min(value=20, groups= Special.class})
})
.
public static final ConstraintHelper.AnnotationType GRAPH_VALIDATION_ANNOTATION
public static final ConstraintHelper.AnnotationType CONSTRAINT_META_ANNOTATION
public static final ConstraintHelper.AnnotationType GROUP_SEQUENCE_PROVIDER_ANNOTATION
public static final ConstraintHelper.AnnotationType NO_CONSTRAINT_ANNOTATION
Method Detail |
---|
public static ConstraintHelper.AnnotationType[] values()
for (ConstraintHelper.AnnotationType c : ConstraintHelper.AnnotationType.values()) System.out.println(c);
public static ConstraintHelper.AnnotationType valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is null
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |