Package | Description |
---|---|
org.hibernate.validator.internal.metadata.aggregated |
The classes in this package contain the aggregated meta data needed for an actual validation.
|
org.hibernate.validator.internal.metadata.raw |
The raw metadata is a reflection of all configured constraints including constraints defined via multiple
configuration sources.
|
org.hibernate.validator.internal.xml.mapping |
Modifier and Type | Method and Description |
---|---|
boolean |
ExecutableMetaData.Builder.accepts(ConstrainedElement constrainedElement) |
abstract boolean |
MetaDataBuilder.accepts(ConstrainedElement constrainedElement)
Whether this builder allows to add the given element or not.
|
boolean |
ParameterMetaData.Builder.accepts(ConstrainedElement constrainedElement) |
boolean |
PropertyMetaData.Builder.accepts(ConstrainedElement constrainedElement) |
protected 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) |
void |
ExecutableMetaData.Builder.add(ConstrainedElement constrainedElement) |
void |
MetaDataBuilder.add(ConstrainedElement constrainedElement)
Adds the given element to this builder.
|
void |
ParameterMetaData.Builder.add(ConstrainedElement constrainedElement) |
void |
PropertyMetaData.Builder.add(ConstrainedElement constrainedElement) |
Modifier and Type | Class and Description |
---|---|
class |
AbstractConstrainedElement
Base implementation of with functionality common to all
ConstrainedElement implementations. |
class |
ConstrainedExecutable
Represents a method or constructor of a Java type and all its associated
meta-data relevant in the context of bean validation, for instance the
constraints at its parameters or return value.
|
class |
ConstrainedField
Represents a field of a Java type and all its associated meta-data relevant
in the context of bean validation, for instance its constraints.
|
class |
ConstrainedParameter
Contains constraint-related meta-data for one method parameter.
|
class |
ConstrainedType
Represents a Java type and all its associated meta-data relevant in the
context of bean validation, for instance its constraints.
|
Modifier and Type | Method and Description |
---|---|
Set<ConstrainedElement> |
BeanConfiguration.getConstrainedElements() |
Constructor and Description |
---|
BeanConfiguration(ConfigurationSource source,
Class<T> beanClass,
Set<? extends ConstrainedElement> constrainedElements,
List<Class<?>> defaultGroupSequence,
DefaultGroupSequenceProvider<? super T> defaultGroupSequenceProvider)
Creates a new bean configuration.
|
Modifier and Type | Method and Description |
---|---|
Set<ConstrainedElement> |
MappingXmlParser.getConstrainedElementsForClass(Class<?> beanClass) |
Copyright © 2021 JBoss by Red Hat. All rights reserved.