Package org.hibernate.validator.cfg
Class GenericConstraintDef<A extends Annotation>
java.lang.Object
org.hibernate.validator.cfg.AnnotationDef<C,A>
org.hibernate.validator.cfg.ConstraintDef<GenericConstraintDef<A>,A>
org.hibernate.validator.cfg.GenericConstraintDef<A>
- Type Parameters:
A
- The constraint annotation type.
public class GenericConstraintDef<A extends Annotation>
extends ConstraintDef<GenericConstraintDef<A>,A>
A
ConstraintDef
class which can be used to configure any constraint
type. For this purpose the class defines a generic method
param(String, Object)
which allows to add
arbitrary constraint parameters.- Author:
- Hardy Ferentschik, Gunnar Morling
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.hibernate.validator.cfg.ConstraintDef
groups, message, payload
Methods inherited from class org.hibernate.validator.cfg.AnnotationDef
addAnnotationAsParameter, addParameter, toString
-
Constructor Details
-
GenericConstraintDef
-
-
Method Details
-
param
-