|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.hibernate.validator.cfg.ConstraintMapping
public class ConstraintMapping
Top level class for constraints configured via the programmatic API.
| Field Summary | |
|---|---|
protected ConstraintMappingContext |
context
|
| Constructor Summary | |
|---|---|
|
ConstraintMapping()
|
protected |
ConstraintMapping(ConstraintMapping original)
|
| Method Summary | ||
|---|---|---|
|
type(java.lang.Class<C> beanClass)
Starts defining constraints on the specified bean class. |
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected ConstraintMappingContext context
| Constructor Detail |
|---|
public ConstraintMapping()
protected ConstraintMapping(ConstraintMapping original)
| Method Detail |
|---|
public final <C> TypeConstraintMappingContext<C> type(java.lang.Class<C> beanClass)
C - The type to be configured.beanClass - The bean class on which to define constraints. All constraints defined after calling this method
are added to the bean of the type beanClass until the next call of type.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||