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

pack-priv final Class GetterConstraintMappingContextImpl

extends AbstractPropertyConstraintMappingContextImpl<JavaBeanGetter>
Class Inheritance
Imports
org.hibernate.validator.cfg.ConstraintDef, org.hibernate.validator.cfg.context.PropertyConstraintMappingContext, org.hibernate.validator.internal.engine.ConstraintCreationContext, org.hibernate.validator.internal.metadata.location.ConstraintLocation, org.hibernate.validator.internal.metadata.raw.ConfigurationSource, .ConstrainedElement, .ConstrainedExecutable, org.hibernate.validator.internal.properties.javabean.JavaBeanGetter

Deprecated

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

An implementation of AbstractPropertyConstraintMappingContextImpl for a getter property. Represents a constraint mapping creational context which allows to configure the constraints for one of the bean's getter properties.
Author
Marko Bekhta

Constructor Summary

AccessConstructor and Description
pack-priv
GetterConstraintMappingContextImpl(TypeConstraintMappingContextImpl<?> typeContext, JavaBeanGetter javaBeanGetter)

Deprecated as a consequence of TypeConstraintMappingContextImpl being deprecated.

Method Summary

Modifier and TypeMethod and Description
pack-priv ConstrainedElement
public PropertyConstraintMappingContext
constraint(ConstraintDef<?, ?>
The constraint to add.
definition
)

Implements org.hibernate.validator.cfg.context.Constrainable.constraint.

Deprecated as a consequence of PropertyConstraintMappingContext being deprecated.
Adds a new constraint.
Inherited from org.hibernate.validator.internal.cfg.context.AbstractPropertyConstraintMappingContextImpl:
constructorcontainerElementTypecontainerElementTypefieldgetConstraintTypegetPropertygettergetThisignoreAnnotationsignoreAnnotationsmethodproperty

Constructor Detail

GetterConstraintMappingContextImplback to summary
pack-priv GetterConstraintMappingContextImpl(TypeConstraintMappingContextImpl<?> typeContext, JavaBeanGetter javaBeanGetter)

Deprecated

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

Method Detail

buildback to summary
pack-priv ConstrainedElement build(ConstraintCreationContext constraintCreationContext)

Implements abstract org.hibernate.validator.internal.cfg.context.AbstractPropertyConstraintMappingContextImpl.build.

Annotations
@Override
constraintback to summary
public PropertyConstraintMappingContext constraint(ConstraintDef<?, ?> definition)

Implements org.hibernate.validator.cfg.context.Constrainable.constraint.

Doc from org.hibernate.validator.cfg.context.Constrainable.constraint.

Deprecated

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

Adds a new constraint.

Parameters
definition:ConstraintDef<?, ?>

The constraint to add.

Returns:PropertyConstraintMappingContext

The current creational context following the method chaining pattern.

Annotations
@Override