|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.hibernate.validator.internal.cfg.DefaultConstraintMapping
public class DefaultConstraintMapping
Top level class for constraints configured via the programmatic API. This class is not intended to be inherited by clients. It will be converted into an interface in a future release.
| Field Summary | |
|---|---|
protected ConstraintMappingContext |
context
|
| Constructor Summary | |
|---|---|
DefaultConstraintMapping()
|
|
| Method Summary | ||
|---|---|---|
ConstraintMappingContext |
getContext()
|
|
|
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 DefaultConstraintMapping()
| Method Detail |
|---|
public final <C> TypeConstraintMappingContext<C> type(java.lang.Class<C> beanClass)
ConstraintMapping
type in interface ConstraintMappingC - 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.
public ConstraintMappingContext getContext()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||