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.descriptor |
Implementation of the Bean Validation meta data API and its Hibernate Validator specific extension for the
representation of method level constraints.
|
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 used to parse Bean Validation XML configuration files.
|
Modifier and Type | Method and Description |
---|---|
protected Set<MetaConstraint<?>> |
MetaDataBuilder.adaptOriginsAndImplicitGroups(Class<?> beanClass,
Set<MetaConstraint<?>> constraints)
Adapts the given constraints to the given bean type.
|
Set<MetaConstraint<?>> |
AbstractConstraintMetaData.getConstraints() |
Set<MetaConstraint<?>> |
BeanMetaData.getDirectMetaConstraints() |
Set<MetaConstraint<?>> |
BeanMetaDataImpl.getDirectMetaConstraints() |
Set<MetaConstraint<?>> |
BeanMetaData.getMetaConstraints() |
Set<MetaConstraint<?>> |
BeanMetaDataImpl.getMetaConstraints() |
Iterator<MetaConstraint<?>> |
AbstractConstraintMetaData.iterator() |
Modifier and Type | Method and Description |
---|---|
protected Set<MetaConstraint<?>> |
MetaDataBuilder.adaptOriginsAndImplicitGroups(Class<?> beanClass,
Set<MetaConstraint<?>> constraints)
Adapts the given constraints to the given bean type.
|
protected Set<ConstraintDescriptorImpl<?>> |
AbstractConstraintMetaData.asDescriptors(Set<MetaConstraint<?>> constraints) |
Constructor and Description |
---|
AbstractConstraintMetaData(String name,
Class<?> type,
Set<MetaConstraint<?>> constraints,
ConstraintMetaData.ConstraintMetaDataKind constrainedMetaDataKind,
boolean isCascading,
boolean isConstrained) |
Modifier and Type | Method and Description |
---|---|
protected static Set<ConstraintDescriptorImpl<?>> |
ElementDescriptorImpl.asDescriptors(Set<MetaConstraint<?>> constraints) |
Modifier and Type | Method and Description |
---|---|
protected CollectionHelper.Partitioner<ConstraintLocation,MetaConstraint<?>> |
XmlMetaDataProvider.byLocation() |
Modifier and Type | Method and Description |
---|---|
Set<MetaConstraint<?>> |
AbstractConstrainedElement.getConstraints() |
Set<MetaConstraint<?>> |
ConstrainedElement.getConstraints()
Returns a set containing the constraints specified for this constrained
element.
|
Iterator<MetaConstraint<?>> |
AbstractConstrainedElement.iterator() |
Constructor and Description |
---|
AbstractConstrainedElement(ConfigurationSource source,
ConstrainedElement.ConstrainedElementKind kind,
ConstraintLocation location,
Set<MetaConstraint<?>> constraints,
boolean isCascading) |
ConstrainedField(ConfigurationSource source,
BeanConstraintLocation location,
Set<MetaConstraint<?>> constraints,
boolean isCascading)
Creates a new field meta data object.
|
ConstrainedMethod(ConfigurationSource source,
MethodConstraintLocation location,
List<ConstrainedParameter> parameterMetaData,
Set<MetaConstraint<?>> returnValueConstraints,
boolean isCascading)
Creates a new method meta data object.
|
ConstrainedMethod(ConfigurationSource source,
MethodConstraintLocation location,
Set<MetaConstraint<?>> returnValueConstraints,
boolean isCascading)
Creates a new method meta data object for a parameter-less method.
|
ConstrainedParameter(ConfigurationSource source,
MethodConstraintLocation location,
String name,
Set<MetaConstraint<?>> constraints,
boolean isCascading)
Creates a new parameter meta data object.
|
ConstrainedType(ConfigurationSource source,
BeanConstraintLocation location,
Set<MetaConstraint<?>> constraints)
Creates a new type meta data object.
|
Modifier and Type | Method and Description |
---|---|
<T> Set<MetaConstraint<?>> |
XmlMappingParser.getConstraintsForClass(Class<T> beanClass) |
Copyright © 2007-2014 Red Hat Middleware, LLC. All Rights Reserved