Top Deprecated
Hibernate Validator Engine 8.0.1.Final

Deprecated API


No API in this release is deprecated for removal.

Deprecated Item Summary

SinceDeprecated Item and Description
org.hibernate.validator.BaseHibernateValidatorConfiguration.CONSTRAINT_MAPPING_CONTRIBUTOR

planned for removal. Use hibernate.validator.constraint_mapping_contributors instead.

Returns:

Instance allowing for defining constraints on the specified class.
org.hibernate.validator.cfg.ConstraintMapping.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 beanClass until the next call of type or annotation.
beanClass
)

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

Returns:

A creational context representing the selected field property.
org.hibernate.validator.cfg.context.PropertyTarget.field
(String
The field name that represents a property on which to apply the following constraints.
property
)

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

Returns:

A creational context representing the selected getter property.
org.hibernate.validator.cfg.context.PropertyTarget.getter
(String
The getter property name (using the Java Bean notation, e.g. name to address getName()) that represents a property on which to apply the following constraints.
property
)

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

Returns:

A creational context representing the selected property.
org.hibernate.validator.cfg.context.PropertyTarget.property
(String
The property on which to apply the following constraints (Java Bean notation).
property
,
ElementType
The access type (field/property).
type
)

Since 6.1. Planned for removal. Use either PropertyTarget#field(String) or PropertyTarget#getter(String) instead.

org.hibernate.validator.cfg.context.TypeConstraintMappingContext<
The type represented by this creational context.
C
>

Deprecated as a consequence of AnnotationProcessingOptions being deprecated.

Returns:

The current creational context following the method chaining pattern.
org.hibernate.validator.cfg.context.TypeConstraintMappingContext.defaultGroupSequence
(Class<?>...
the default group sequence.
defaultGroupSequence
)

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

Returns:

The current creational context following the method chaining pattern.
org.hibernate.validator.cfg.context.TypeConstraintMappingContext.defaultGroupSequenceProviderClass
(Class<? extends DefaultGroupSequenceProvider<? super C>>
The default group sequence provider class.
defaultGroupSequenceProviderClass
)

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

Returns:

The current creational context following the method chaining pattern.
org.hibernate.validator.cfg.context.TypeConstraintMappingContext.ignoreAllAnnotations
()

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

Returns:

A creational context representing the selected type.
org.hibernate.validator.cfg.context.TypeTarget.type
(Class<C>
The type to select.
type
)

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

org.hibernate.validator.constraints.Email.List.value()

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

org.hibernate.validator.constraints.ModCheck.List.value()

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

org.hibernate.validator.constraints.NotBlank.List.value()

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

org.hibernate.validator.constraints.NotEmpty.List.value()

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

org.hibernate.validator.internal.cfg.context.AbstractPropertyConstraintMappingContextImpl.field(String
The field name that represents a property on which to apply the following constraints.
property
)

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

org.hibernate.validator.internal.cfg.context.AbstractPropertyConstraintMappingContextImpl.getThis()

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

org.hibernate.validator.internal.cfg.context.AbstractPropertyConstraintMappingContextImpl.getter(String
The getter property name (using the Java Bean notation, e.g. name to address getName()) that represents a property on which to apply the following constraints.
property
)

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

org.hibernate.validator.internal.cfg.context.AbstractPropertyConstraintMappingContextImpl.ignoreAnnotations()

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

org.hibernate.validator.internal.cfg.context.AbstractPropertyConstraintMappingContextImpl.ignoreAnnotations(boolean
Whether to ignore annotation-based constraints or not.
ignoreAnnotations
)

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

org.hibernate.validator.internal.cfg.context.AbstractPropertyConstraintMappingContextImpl.property(String
The property on which to apply the following constraints (Java Bean notation).
property
,
ElementType
The access type (field/property).
elementType
)

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

org.hibernate.validator.internal.cfg.context.AbstractPropertyConstraintMappingContextImpl.typeContext

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

org.hibernate.validator.internal.cfg.context.CascadableConstraintMappingContextImplBase.containerElement(ContainerElementTarget parent, TypeConstraintMappingContextImpl<?> typeContext, ConstraintLocation location, int index, int... nestedIndexes)

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

org.hibernate.validator.internal.cfg.context.ConstraintContextImplBase.type(Class<C> type)

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

org.hibernate.validator.internal.cfg.context.ContainerElementConstraintMappingContextImpl.ContainerElementConstraintMappingContextImpl(TypeConstraintMappingContextImpl<?> typeContext, ContainerElementTarget parentContainerElementTarget, ConstraintLocation parentLocation, int index)

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

org.hibernate.validator.internal.cfg.context.ContainerElementConstraintMappingContextImpl.field(String
The field name that represents a property on which to apply the following constraints.
property
)

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

org.hibernate.validator.internal.cfg.context.ContainerElementConstraintMappingContextImpl.getter(String
The getter property name (using the Java Bean notation, e.g. name to address getName()) that represents a property on which to apply the following constraints.
property
)

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

org.hibernate.validator.internal.cfg.context.ContainerElementConstraintMappingContextImpl.property(String
The property on which to apply the following constraints (Java Bean notation).
property
,
ElementType
The access type (field/property).
elementType
)

org.hibernate.validator.internal.cfg.context.ContainerElementConstraintMappingContextImpl.typeContext

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

org.hibernate.validator.internal.cfg.context.DefaultConstraintMapping.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 beanClass until the next call of type or annotation.
type
)

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

org.hibernate.validator.internal.cfg.context.ExecutableConstraintMappingContextImpl.getTypeContext()

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

org.hibernate.validator.internal.cfg.context.ExecutableConstraintMappingContextImpl.typeContext

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

org.hibernate.validator.internal.cfg.context.FieldConstraintMappingContextImpl.FieldConstraintMappingContextImpl(TypeConstraintMappingContextImpl<?> typeContext, JavaBeanField javaBeanField)

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

org.hibernate.validator.internal.cfg.context.FieldConstraintMappingContextImpl.constraint(ConstraintDef<?, ?>
The constraint to add.
definition
)

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

org.hibernate.validator.internal.cfg.context.GetterConstraintMappingContextImpl.GetterConstraintMappingContextImpl(TypeConstraintMappingContextImpl<?> typeContext, JavaBeanGetter javaBeanGetter)

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

org.hibernate.validator.internal.cfg.context.GetterConstraintMappingContextImpl.constraint(ConstraintDef<?, ?>
The constraint to add.
definition
)

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

org.hibernate.validator.internal.cfg.context.TypeConstraintMappingContextImpl<
The type represented by this creational context.
C
>

Deprecated as a consequence of TypeConstraintMappingContext being deprecated.

org.hibernate.validator.internal.cfg.context.TypeConstraintMappingContextImpl.constraint(ConstraintDef<?, ?>
The constraint to add.
definition
)

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

org.hibernate.validator.internal.cfg.context.TypeConstraintMappingContextImpl.defaultGroupSequence(Class<?>...
the default group sequence.
defaultGroupSequence
)

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

org.hibernate.validator.internal.cfg.context.TypeConstraintMappingContextImpl.defaultGroupSequenceProviderClass(Class<? extends DefaultGroupSequenceProvider<? super C>>
The default group sequence provider class.
defaultGroupSequenceProviderClass
)

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

org.hibernate.validator.internal.cfg.context.TypeConstraintMappingContextImpl.field(String
The field name that represents a property on which to apply the following constraints.
property
)

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

org.hibernate.validator.internal.cfg.context.TypeConstraintMappingContextImpl.getter(String
The getter property name (using the Java Bean notation, e.g. name to address getName()) that represents a property on which to apply the following constraints.
property
)

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

org.hibernate.validator.internal.cfg.context.TypeConstraintMappingContextImpl.ignoreAllAnnotations()

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

org.hibernate.validator.internal.cfg.context.TypeConstraintMappingContextImpl.ignoreAnnotations(boolean
Whether to ignore annotation-based constraints or not.
ignoreAnnotations
)

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

org.hibernate.validator.internal.cfg.context.TypeConstraintMappingContextImpl.property(String
The property on which to apply the following constraints (Java Bean notation).
property
,
ElementType
The access type (field/property).
elementType
)

org.hibernate.validator.internal.constraintvalidators.hv.ModCheckValidator.initialize(ModCheck
annotation instance for a given constraint declaration
constraintAnnotation
)

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

org.hibernate.validator.parameternameprovider.ReflectionParameterNameProvider

since 6.0 - getting the parameter names via reflection is now enabled by default. Planned for removal.

org.hibernate.validator.resourceloading.AggregateResourceBundleLocator.AggregateBundle

This class should not have been part of the public API and will be removed at a later stage.