Package org.hibernate.validator.cfg
Class AnnotationDef<C extends AnnotationDef<C,A>,A extends Annotation>
- java.lang.Object
-
- org.hibernate.validator.cfg.AnnotationDef<C,A>
-
- Type Parameters:
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.
- Direct Known Subclasses:
ConstraintDef
public abstract class AnnotationDef<C extends AnnotationDef<C,A>,A extends Annotation> extends Object
Base class for all annotation definition types.Note that any protected member in this type and its subtypes are not part of the public API and are only meant for internal use.
- Author:
- Hardy Ferentschik, Gunnar Morling, Marko Bekhta, Guillaume Smet
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedAnnotationDef(Class<A> annotationType)protectedAnnotationDef(AnnotationDef<?,A> original)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected CaddAnnotationAsParameter(String key, AnnotationDef<?,?> value)protected CaddParameter(String key, Object value)StringtoString()
-
-
-
Constructor Detail
-
AnnotationDef
protected AnnotationDef(AnnotationDef<?,A> original)
-
-