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.
|
Modifier and Type | Method and Description |
---|---|
boolean |
ParameterMetaData.Builder.accepts(ConstrainedElement constrainedElement) |
abstract boolean |
MetaDataBuilder.accepts(ConstrainedElement constrainedElement)
Whether this builder allows to add the given element or not.
|
boolean |
MethodMetaData.Builder.accepts(ConstrainedElement constrainedElement)
Whether this builder allows to add the given element or not.
|
boolean |
PropertyMetaData.Builder.accepts(ConstrainedElement constrainedElement) |
void |
ParameterMetaData.Builder.add(ConstrainedElement constrainedElement) |
abstract void |
MetaDataBuilder.add(ConstrainedElement constrainedElement)
Adds the given element to this builder.
|
void |
MethodMetaData.Builder.add(ConstrainedElement constrainedElement)
Adds the given element to this builder.
|
void |
PropertyMetaData.Builder.add(ConstrainedElement constrainedElement) |
Modifier and Type | Method and Description |
---|---|
protected <T> BeanConfiguration<T> |
MetaDataProviderKeyedByClassName.createBeanConfiguration(ConfigurationSource source,
Class<T> beanClass,
Set<? extends ConstrainedElement> constrainableElements,
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 |
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 |
ConstrainedMethod
Represents a method of a Java type and all its associated meta-data relevant
in the context of bean validation, for instance the constraints at it's
parameters or return value.
|
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.
|
Copyright © 2007-2014 Red Hat Middleware, LLC. All Rights Reserved