public interface ConstraintMapping
Modifier and Type | Method and Description |
---|---|
<C> TypeConstraintMappingContext<C> |
type(Class<C> beanClass)
Starts defining constraints on the specified bean class.
|
<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
.Copyright © 2016 JBoss by Red Hat. All rights reserved.