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

pack-priv Class MethodConstraintMappingContextImpl

extends ExecutableConstraintMappingContextImpl
implements MethodConstraintMappingContext
Class Inheritance
All Implemented Interfaces
org.hibernate.validator.cfg.context.MethodConstraintMappingContext, 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.MethodConstraintMappingContext, org.hibernate.validator.internal.properties.javabean.JavaBeanMethod

Constraint mapping creational context representing a method.
Author
Gunnar Morling

Field Summary

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

Constructor Summary

AccessConstructor and Description
pack-priv
MethodConstraintMappingContextImpl(TypeConstraintMappingContextImpl<?> typeContext, JavaBeanMethod callable)

Deprecated as a consequence of TypeConstraintMappingContextImpl being deprecated.

Method Summary

Modifier and TypeMethod and Description
public MethodConstraintMappingContext
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

MethodConstraintMappingContextImplback to summary
pack-priv MethodConstraintMappingContextImpl(TypeConstraintMappingContextImpl<?> typeContext, JavaBeanMethod callable)

Deprecated

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

Method Detail

ignoreAnnotationsback to summary
public MethodConstraintMappingContext 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:MethodConstraintMappingContext

This context for method chaining.

Annotations
@Override