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.provider |
Abstraction of the meta data sources - annotation, xml, programmatic
|
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 |
Classes for parsing of Bean Validation XML configuration files.
|
Modifier and Type | Method and Description |
---|---|
boolean |
PropertyMetaData.Builder.accepts(ConstrainedElement constrainedElement) |
boolean |
ParameterMetaData.Builder.accepts(ConstrainedElement constrainedElement) |
abstract boolean |
MetaDataBuilder.accepts(ConstrainedElement constrainedElement)
Whether this builder allows to add the given element or not.
|
boolean |
ExecutableMetaData.Builder.accepts(ConstrainedElement constrainedElement) |
void |
PropertyMetaData.Builder.add(ConstrainedElement constrainedElement) |
void |
ParameterMetaData.Builder.add(ConstrainedElement constrainedElement) |
void |
MetaDataBuilder.add(ConstrainedElement constrainedElement)
Adds the given element to this builder.
|
void |
ExecutableMetaData.Builder.add(ConstrainedElement constrainedElement) |
Modifier and Type | Method and Description |
---|---|
protected static <T> BeanConfiguration<T> |
MetaDataProviderKeyedByClassName.createBeanConfiguration(ConfigurationSource source,
Class<T> beanClass,
Set<? extends ConstrainedElement> constrainedElements,
List<Class<?>> defaultGroupSequence,
DefaultGroupSequenceProvider<? super T> defaultGroupSequenceProvider) |
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> |
XmlMappingParser.getConstrainedElementsForClass(Class<?> beanClass) |
Copyright © 2017 JBoss by Red Hat. All rights reserved.