ConstraintMapping.
| Modifier and Type | Field and Description |
|---|---|
| private final AnnotationProcessingOptionsImpl | |
| private final Set | |
| private final Set | |
| private final Set | |
| private final JavaBeanHelper | |
| private static final Log | |
| private final Set |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public <A extends Annotation> ConstraintDefinitionContext | constraintDefinition(Class<A>
The annotation class on which to define the validators. This type must be an
annotationClass)@interface annotated with jakarta.validation.Constraint. All validators defined after calling
this method are added to the annotation of the type annotationClass until the next call
of type or annotation.Implements org. jakarta.s to be executed for the specified constraint (i.e. annotation class).
|
| public final AnnotationProcessingOptionsImpl | |
| public Set | Returns: a set ofBeanConfigurations with an element for each type configured through this mappingthe constraint creation context constraintCreationContext)Returns all bean configurations configured through this constraint mapping. |
| public Set | |
| public Set | |
| public final <C> TypeConstraintMappingContext | type(Class<C>
The bean class on which to define constraints. All constraints defined after calling this method
are added to the bean of the type type)beanClass until the next call of type or annotation.Implements org.
Deprecated
as a consequence of
Starts defining constraints on the specified bean class.
TypeConstraintMappingContext being deprecated.
|
| annotationProcessingOptions | back to summary |
|---|---|
| private final AnnotationProcessingOptionsImpl annotationProcessingOptions | |
| configuredTypes | back to summary |
|---|---|
| private final Set<Class<?>> configuredTypes | |
| constraintContexts | back to summary |
|---|---|
| private final Set<ConstraintDefinitionContextImpl<?>> constraintContexts | |
| definedConstraints | back to summary |
|---|---|
| private final Set<Class<?>> definedConstraints | |
| javaBeanHelper | back to summary |
|---|---|
| private final JavaBeanHelper javaBeanHelper | |
| LOG | back to summary |
|---|---|
| private static final Log LOG | |
| typeContexts | back to summary |
|---|---|
| private final Set<TypeConstraintMappingContextImpl<?>> typeContexts | |
| DefaultConstraintMapping | back to summary |
|---|---|
| public DefaultConstraintMapping(JavaBeanHelper javaBeanHelper) | |
| constraintDefinition | back to summary |
|---|---|
| public <A extends Annotation> ConstraintDefinitionContext Implements org. Doc from org. Starts defining
| |
| getAnnotationProcessingOptions | back to summary |
|---|---|
| public final AnnotationProcessingOptionsImpl getAnnotationProcessingOptions() | |
| getBeanConfigurations | back to summary |
|---|---|
| public Set Returns all bean configurations configured through this constraint mapping.
| |
| getConfiguredTypes | back to summary |
|---|---|
| public Set | |
| getConstraintDefinitionContributions | back to summary |
|---|---|
| public Set | |
| type | back to summary |
|---|---|
| public final <C> TypeConstraintMappingContext Implements org. Doc from org. Deprecated as a consequence of Starts defining constraints on the specified bean class. Each bean class may only be configured once within all constraint mappings used for configuring one validator factory.
| |