Uses of Class
org.hibernate.validator.internal.metadata.core.MetaConstraint
Packages that use MetaConstraint
Package
Description
Contains various implementation of validation contexts and supporting classes.
The classes in this package contain the aggregated meta data needed for an actual validation.
Core classes of the internal model used for representing constraints and related metadata.
Abstraction of the meta data sources - annotation, xml, programmatic.
The raw metadata is a reflection of all configured constraints including constraints defined via multiple
configuration sources.
-
Uses of MetaConstraint in org.hibernate.validator.internal.engine.validationcontext
Methods in org.hibernate.validator.internal.engine.validationcontext with parameters of type MetaConstraintModifier and TypeMethodDescriptiondefault boolean
BaseBeanValidationContext.appliesTo
(MetaConstraint<?> metaConstraint) boolean
BaseBeanValidationContext.hasMetaConstraintBeenProcessed
(Object bean, jakarta.validation.Path path, MetaConstraint<?> metaConstraint) void
BaseBeanValidationContext.markConstraintProcessed
(Object bean, jakarta.validation.Path path, MetaConstraint<?> metaConstraint) -
Uses of MetaConstraint in org.hibernate.validator.internal.metadata.aggregated
Methods in org.hibernate.validator.internal.metadata.aggregated that return types with arguments of type MetaConstraintModifier and TypeMethodDescriptionprotected Set<MetaConstraint<?>>
MetaDataBuilder.adaptConstraints
(ConstrainedElement constrainedElement, Set<MetaConstraint<?>> constraints) Allows specific sub-classes to customize the retrieved constraints.protected Set<MetaConstraint<?>>
PropertyMetaData.Builder.adaptConstraints
(ConstrainedElement constrainedElement, Set<MetaConstraint<?>> constraints) protected Set<MetaConstraint<?>>
MetaDataBuilder.adaptOriginsAndImplicitGroups
(Set<MetaConstraint<?>> constraints) Adapts the given constraints to the given bean type.Set<MetaConstraint<?>>
AbstractConstraintMetaData.getAllConstraints()
Set<MetaConstraint<?>>
MetaDataBuilder.getContainerElementConstraints()
Set<MetaConstraint<?>>
AbstractConstraintMetaData.getContainerElementsConstraints()
Set<MetaConstraint<?>>
ExecutableMetaData.getCrossParameterConstraints()
Returns the cross-parameter constraints declared for the represented method or constructor.Set<MetaConstraint<?>>
AbstractConstraintMetaData.getDirectConstraints()
protected Set<MetaConstraint<?>>
MetaDataBuilder.getDirectConstraints()
Set<MetaConstraint<?>>
BeanMetaData.getDirectMetaConstraints()
Set<MetaConstraint<?>>
BeanMetaDataImpl.getDirectMetaConstraints()
Set<MetaConstraint<?>>
BeanMetaData.getMetaConstraints()
Set<MetaConstraint<?>>
BeanMetaDataImpl.getMetaConstraints()
AbstractConstraintMetaData.iterator()
Method parameters in org.hibernate.validator.internal.metadata.aggregated with type arguments of type MetaConstraintModifier and TypeMethodDescriptionprotected Set<MetaConstraint<?>>
MetaDataBuilder.adaptConstraints
(ConstrainedElement constrainedElement, Set<MetaConstraint<?>> constraints) Allows specific sub-classes to customize the retrieved constraints.protected Set<MetaConstraint<?>>
PropertyMetaData.Builder.adaptConstraints
(ConstrainedElement constrainedElement, Set<MetaConstraint<?>> constraints) protected Set<MetaConstraint<?>>
MetaDataBuilder.adaptOriginsAndImplicitGroups
(Set<MetaConstraint<?>> constraints) Adapts the given constraints to the given bean type.protected Set<jakarta.validation.metadata.ContainerElementTypeDescriptor>
AbstractConstraintMetaData.asContainerElementTypeDescriptors
(Set<MetaConstraint<?>> containerElementsConstraints, CascadingMetaData cascadingMetaData, boolean defaultGroupSequenceRedefined, List<Class<?>> defaultGroupSequence) protected Set<ConstraintDescriptorImpl<?>>
AbstractConstraintMetaData.asDescriptors
(Set<MetaConstraint<?>> constraints) Constructor parameters in org.hibernate.validator.internal.metadata.aggregated with type arguments of type MetaConstraintModifierConstructorDescriptionAbstractConstraintMetaData
(String name, Type type, Set<MetaConstraint<?>> directConstraints, Set<MetaConstraint<?>> containerElementsConstraints, boolean isCascading, boolean isConstrained) ReturnValueMetaData
(Type type, Set<MetaConstraint<?>> constraints, Set<MetaConstraint<?>> containerElementsConstraints, CascadingMetaData cascadingMetaData) -
Uses of MetaConstraint in org.hibernate.validator.internal.metadata.core
Methods in org.hibernate.validator.internal.metadata.core that return MetaConstraintModifier and TypeMethodDescriptionstatic <A extends Annotation>
MetaConstraint<A>MetaConstraints.create
(TypeResolutionHelper typeResolutionHelper, ValueExtractorManager valueExtractorManager, ConstraintValidatorManager constraintValidatorManager, ConstraintDescriptorImpl<A> constraintDescriptor, ConstraintLocation location) -
Uses of MetaConstraint in org.hibernate.validator.internal.metadata.provider
Methods in org.hibernate.validator.internal.metadata.provider that return types with arguments of type MetaConstraintModifier and TypeMethodDescriptionprotected Set<MetaConstraint<?>>
AnnotationMetaDataProvider.findTypeAnnotationConstraints
(JavaBeanExecutable<?> javaBeanExecutable) Finds type arguments constraints for method return values.protected Set<MetaConstraint<?>>
AnnotationMetaDataProvider.findTypeAnnotationConstraints
(JavaBeanField javaBeanField) Finds type arguments constraints for fields.protected Set<MetaConstraint<?>>
AnnotationMetaDataProvider.findTypeAnnotationConstraintsForExecutableParameter
(JavaBeanExecutable<?> javaBeanExecutable, JavaBeanParameter javaBeanParameter) Finds type arguments constraints for parameters. -
Uses of MetaConstraint in org.hibernate.validator.internal.metadata.raw
Fields in org.hibernate.validator.internal.metadata.raw with type parameters of type MetaConstraintModifier and TypeFieldDescriptionprotected final Set<MetaConstraint<?>>
AbstractConstrainedElement.constraints
protected final Set<MetaConstraint<?>>
AbstractConstrainedElement.typeArgumentConstraints
Methods in org.hibernate.validator.internal.metadata.raw that return types with arguments of type MetaConstraintModifier and TypeMethodDescriptionSet<MetaConstraint<?>>
AbstractConstrainedElement.getConstraints()
Set<MetaConstraint<?>>
ConstrainedElement.getConstraints()
Returns a set containing the constraints specified for this constrained element.Set<MetaConstraint<?>>
ConstrainedExecutable.getCrossParameterConstraints()
Set<MetaConstraint<?>>
AbstractConstrainedElement.getTypeArgumentConstraints()
Set<MetaConstraint<?>>
ConstrainedElement.getTypeArgumentConstraints()
Returns the type argument constraints of this element, if any.AbstractConstrainedElement.iterator()
Constructor parameters in org.hibernate.validator.internal.metadata.raw with type arguments of type MetaConstraintModifierConstructorDescriptionAbstractConstrainedElement
(ConfigurationSource source, ConstrainedElement.ConstrainedElementKind kind, Set<MetaConstraint<?>> constraints, Set<MetaConstraint<?>> typeArgumentConstraints, CascadingMetaDataBuilder cascadingMetaDataBuilder) ConstrainedExecutable
(ConfigurationSource source, Callable callable, List<ConstrainedParameter> parameterMetaData, Set<MetaConstraint<?>> crossParameterConstraints, Set<MetaConstraint<?>> returnValueConstraints, Set<MetaConstraint<?>> typeArgumentConstraints, CascadingMetaDataBuilder cascadingMetaDataBuilder) Creates a new executable meta data object.ConstrainedExecutable
(ConfigurationSource source, Callable callable, Set<MetaConstraint<?>> returnValueConstraints, Set<MetaConstraint<?>> typeArgumentConstraints, CascadingMetaDataBuilder cascadingMetaDataBuilder) Creates a new executable meta data object for a parameter-less executable.ConstrainedField
(ConfigurationSource source, Field field, Set<MetaConstraint<?>> constraints, Set<MetaConstraint<?>> typeArgumentConstraints, CascadingMetaDataBuilder cascadingMetaDataBuilder) Creates a new field meta data object.ConstrainedParameter
(ConfigurationSource source, Callable callable, Type type, int index, Set<MetaConstraint<?>> constraints, Set<MetaConstraint<?>> typeArgumentConstraints, CascadingMetaDataBuilder cascadingMetaDataBuilder) Creates a new parameter meta data object.ConstrainedType
(ConfigurationSource source, Class<?> beanClass, Set<MetaConstraint<?>> constraints) Creates a new type meta data object.