|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.hibernate.validator.cfg.ConstraintDef<GenericConstraintDef<A>,A>
org.hibernate.validator.cfg.GenericConstraintDef<A>
public class GenericConstraintDef<A extends java.lang.annotation.Annotation>
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.
| Field Summary |
|---|
| Fields inherited from class org.hibernate.validator.cfg.ConstraintDef |
|---|
constraintType, parameters |
| Constructor Summary | |
|---|---|
GenericConstraintDef(java.lang.Class<A> constraintType)
|
|
| Method Summary | |
|---|---|
GenericConstraintDef<A> |
param(java.lang.String key,
java.lang.Object value)
|
| Methods inherited from class org.hibernate.validator.cfg.ConstraintDef |
|---|
addParameter, groups, message, payload, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public GenericConstraintDef(java.lang.Class<A> constraintType)
| Method Detail |
|---|
public GenericConstraintDef<A> param(java.lang.String key,
java.lang.Object value)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||