|
||||||||||
| 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. 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
Deprecated. Will be removed in a future release. |
| Constructor Summary | |
|---|---|
|
ConstraintMapping()
Deprecated. This class will be converted into an interface in a future release. Use HibernateValidatorConfiguration.createConstraintMapping()
instead to create new constraint mappings. |
protected |
ConstraintMapping(ConstraintMapping original)
Deprecated. This class will be converted into an interface in a future release. Use HibernateValidatorConfiguration.createConstraintMapping()
instead to create new constraint mappings. |
| Method Summary | ||
|---|---|---|
|
type(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 |
|---|
@Deprecated protected ConstraintMappingContext context
| Constructor Detail |
|---|
@Deprecated public ConstraintMapping()
HibernateValidatorConfiguration.createConstraintMapping()
instead to create new constraint mappings.
@Deprecated protected ConstraintMapping(ConstraintMapping original)
HibernateValidatorConfiguration.createConstraintMapping()
instead to create new constraint mappings.
| Method Detail |
|---|
public final <C> TypeConstraintMappingContext<C> type(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 | |||||||||