C - The type of a concrete sub type. Following to the
 "self referencing generic type" pattern each sub type has to be
 parametrized with itself.A - The constraint annotation type represented by a concrete sub type.public abstract class ConstraintDef<C extends ConstraintDef<C,A>,A extends Annotation> extends AnnotationDef<C,A>
ConstraintMapping API.| Modifier | Constructor and Description | 
|---|---|
| protected  | ConstraintDef(Class<A> constraintType) | 
| protected  | ConstraintDef(ConstraintDef<?,A> original) | 
| Modifier and Type | Method and Description | 
|---|---|
| C | groups(Class<?>... groups) | 
| C | message(String message) | 
| C | payload(Class<? extends Payload>... payload) | 
addAnnotationAsParameter, addParameter, toStringprotected ConstraintDef(ConstraintDef<?,A> original)
Copyright © 2019 JBoss by Red Hat. All rights reserved.