Top Description Fields Constructors Methods
org.hibernate.validator.internal.cfg.context

pack-priv Class ConstructorConstraintMappingContextImpl

extends ExecutableConstraintMappingContextImpl
implements ConstructorConstraintMappingContext
Class Inheritance
All Implemented Interfaces
org.hibernate.validator.cfg.context.ConstructorConstraintMappingContext, org.hibernate.validator.cfg.context.AnnotationIgnoreOptions, org.hibernate.validator.cfg.context.ReturnValueTarget, org.hibernate.validator.cfg.context.CrossParameterTarget, org.hibernate.validator.cfg.context.ParameterTarget
Imports
org.hibernate.validator.cfg.context.ConstructorConstraintMappingContext, org.hibernate.validator.internal.properties.javabean.JavaBeanConstructor

Constraint mapping creational context representing a constructor.
Author
Gunnar Morling

Field Summary

Inherited from org.hibernate.validator.internal.cfg.context.ExecutableConstraintMappingContextImpl:
callabletypeContext

Constructor Summary

AccessConstructor and Description
pack-priv <T>
ConstructorConstraintMappingContextImpl(TypeConstraintMappingContextImpl<T> typeContext, JavaBeanConstructor constructor)

Deprecated as a consequence of TypeConstraintMappingContextImpl being deprecated.

Method Summary

Modifier and TypeMethod and Description
public ConstructorConstraintMappingContext
ignoreAnnotations(boolean
Whether to ignore annotation-based constraints or not.
ignoreAnnotations
)

Implements org.hibernate.validator.cfg.context.AnnotationIgnoreOptions.ignoreAnnotations.

Specifies whether annotations at the given element should be ignored or not, overriding any setting given for parent elements.
Inherited from org.hibernate.validator.internal.cfg.context.ExecutableConstraintMappingContextImpl:
buildcrossParametergetCallablegetTypeContextparameterreturnValue

Constructor Detail

ConstructorConstraintMappingContextImplback to summary
pack-priv <T> ConstructorConstraintMappingContextImpl(TypeConstraintMappingContextImpl<T> typeContext, JavaBeanConstructor constructor)

Deprecated

as a consequence of TypeConstraintMappingContextImpl being deprecated. See corresponding docs for further information.

Method Detail

ignoreAnnotationsback to summary
public ConstructorConstraintMappingContext ignoreAnnotations(boolean ignoreAnnotations)

Implements org.hibernate.validator.cfg.context.AnnotationIgnoreOptions.ignoreAnnotations.

Doc from org.hibernate.validator.cfg.context.AnnotationIgnoreOptions.ignoreAnnotations.

Specifies whether annotations at the given element should be ignored or not, overriding any setting given for parent elements. E.g. the setting given for a method parameter overrides the setting given for the method declaring that parameter.

Parameters
ignoreAnnotations:boolean

Whether to ignore annotation-based constraints or not.

Returns:ConstructorConstraintMappingContext

This context for method chaining.

Annotations
@Override