public class DefaultConstraintMapping extends Object implements ConstraintMapping
ConstraintMapping
.Constructor and Description |
---|
DefaultConstraintMapping() |
Modifier and Type | Method and Description |
---|---|
AnnotationProcessingOptionsImpl |
getAnnotationProcessingOptions() |
Set<BeanConfiguration<?>> |
getBeanConfigurations(ConstraintHelper constraintHelper,
ParameterNameProvider parameterNameProvider)
Returns all bean configurations configured through this constraint mapping.
|
Set<Class<?>> |
getConfiguredTypes() |
<C> TypeConstraintMappingContext<C> |
type(Class<C> type)
Starts defining constraints on the specified bean class.
|
public final <C> TypeConstraintMappingContext<C> type(Class<C> type)
ConstraintMapping
type
in interface ConstraintMapping
C
- The type to be configured.type
- 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 final AnnotationProcessingOptionsImpl getAnnotationProcessingOptions()
public Set<BeanConfiguration<?>> getBeanConfigurations(ConstraintHelper constraintHelper, ParameterNameProvider parameterNameProvider)
constraintHelper
- constraint helper required for building constraint descriptorsparameterNameProvider
- parameter name provider required for building parameter elementsBeanConfiguration
s with an element for each type configured through this mappingCopyright © 2016 JBoss by Red Hat. All rights reserved.