Package | Description |
---|---|
org.hibernate.validator.internal.engine |
Implementations for the core interfaces of JSR-303.
|
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.facets |
Contains the facet interfaces implemented by the aggregated meta data model types, allowing for a unified
validation routine for all kinds of validation (bean, parameter and return value 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 |
ValidationContext.hasMetaConstraintBeenProcessed(Object bean,
Path path,
MetaConstraint<?> metaConstraint) |
void |
ValidationContext.markConstraintProcessed(Object bean,
Path path,
MetaConstraint<?> metaConstraint) |
Modifier and Type | Method and Description |
---|---|
protected Set<MetaConstraint<?>> |
MetaDataBuilder.adaptOriginsAndImplicitGroups(Set<MetaConstraint<?>> constraints)
Adapts the given constraints to the given bean type.
|
protected Set<MetaConstraint<?>> |
MetaDataBuilder.getConstraints() |
Set<MetaConstraint<?>> |
AbstractConstraintMetaData.getConstraints() |
Set<MetaConstraint<?>> |
ExecutableMetaData.getCrossParameterConstraints()
Returns the cross-parameter constraints declared for the represented
method or constructor.
|
Set<MetaConstraint<?>> |
UnconstrainedEntityMetaDataSingleton.getDirectMetaConstraints() |
Set<MetaConstraint<?>> |
BeanMetaDataImpl.getDirectMetaConstraints() |
Set<MetaConstraint<?>> |
BeanMetaData.getDirectMetaConstraints() |
Set<MetaConstraint<?>> |
UnconstrainedEntityMetaDataSingleton.getMetaConstraints() |
Set<MetaConstraint<?>> |
BeanMetaDataImpl.getMetaConstraints() |
Set<MetaConstraint<?>> |
BeanMetaData.getMetaConstraints() |
Set<MetaConstraint<?>> |
ReturnValueMetaData.getTypeArgumentsConstraints() |
Set<MetaConstraint<?>> |
PropertyMetaData.getTypeArgumentsConstraints() |
Set<MetaConstraint<?>> |
ParameterMetaData.getTypeArgumentsConstraints() |
Iterator<MetaConstraint<?>> |
AbstractConstraintMetaData.iterator() |
Modifier and Type | Method and Description |
---|---|
protected Set<MetaConstraint<?>> |
MetaDataBuilder.adaptOriginsAndImplicitGroups(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,
Type type,
Set<MetaConstraint<?>> constraints,
ElementKind constrainedMetaDataKind,
boolean isCascading,
boolean isConstrained,
UnwrapMode unwrapMode) |
ReturnValueMetaData(Type type,
Set<MetaConstraint<?>> constraints,
Set<MetaConstraint<?>> typeArgumentsConstraints,
boolean isCascading,
Map<Class<?>,Class<?>> groupConversions,
UnwrapMode unwrapMode) |
ReturnValueMetaData(Type type,
Set<MetaConstraint<?>> constraints,
Set<MetaConstraint<?>> typeArgumentsConstraints,
boolean isCascading,
Map<Class<?>,Class<?>> groupConversions,
UnwrapMode unwrapMode) |
Modifier and Type | Method and Description |
---|---|
Set<MetaConstraint<?>> |
Cascadable.getTypeArgumentsConstraints()
Returns the type arguments constraints for this cascadable.
|
Modifier and Type | Method and Description |
---|---|
protected Set<MetaConstraint<?>> |
TypeAnnotationAwareMetaDataProvider.findTypeAnnotationConstraintsForExecutableParameter(Member member,
int i) |
protected Set<MetaConstraint<?>> |
AnnotationMetaDataProvider.findTypeAnnotationConstraintsForExecutableParameter(Member member,
int i)
Finds type arguments constraints for parameters.
|
protected Set<MetaConstraint<?>> |
TypeAnnotationAwareMetaDataProvider.findTypeAnnotationConstraintsForMember(Member member) |
protected Set<MetaConstraint<?>> |
AnnotationMetaDataProvider.findTypeAnnotationConstraintsForMember(Member member)
Finds type arguments constraints for fields and methods return values.
|
Modifier and Type | Field and Description |
---|---|
protected Set<MetaConstraint<?>> |
AbstractConstrainedElement.constraints |
Modifier and Type | Method and Description |
---|---|
Set<MetaConstraint<?>> |
ConstrainedElement.getConstraints()
Returns a set containing the constraints specified for this constrained
element.
|
Set<MetaConstraint<?>> |
AbstractConstrainedElement.getConstraints() |
Set<MetaConstraint<?>> |
ConstrainedExecutable.getCrossParameterConstraints() |
Set<MetaConstraint<?>> |
ConstrainedParameter.getTypeArgumentsConstraints() |
Set<MetaConstraint<?>> |
ConstrainedField.getTypeArgumentsConstraints() |
Set<MetaConstraint<?>> |
ConstrainedExecutable.getTypeArgumentsConstraints() |
Iterator<MetaConstraint<?>> |
AbstractConstrainedElement.iterator() |
Constructor and Description |
---|
AbstractConstrainedElement(ConfigurationSource source,
ConstrainedElement.ConstrainedElementKind kind,
ConstraintLocation location,
Set<MetaConstraint<?>> constraints,
Map<Class<?>,Class<?>> groupConversions,
boolean isCascading,
UnwrapMode unwrapMode) |
ConstrainedExecutable(ConfigurationSource source,
ConstraintLocation location,
List<ConstrainedParameter> parameterMetaData,
Set<MetaConstraint<?>> crossParameterConstraints,
Set<MetaConstraint<?>> returnValueConstraints,
Set<MetaConstraint<?>> typeArgumentsConstraints,
Map<Class<?>,Class<?>> groupConversions,
boolean isCascading,
UnwrapMode unwrapMode)
Creates a new executable meta data object.
|
ConstrainedExecutable(ConfigurationSource source,
ConstraintLocation location,
List<ConstrainedParameter> parameterMetaData,
Set<MetaConstraint<?>> crossParameterConstraints,
Set<MetaConstraint<?>> returnValueConstraints,
Set<MetaConstraint<?>> typeArgumentsConstraints,
Map<Class<?>,Class<?>> groupConversions,
boolean isCascading,
UnwrapMode unwrapMode)
Creates a new executable meta data object.
|
ConstrainedExecutable(ConfigurationSource source,
ConstraintLocation location,
List<ConstrainedParameter> parameterMetaData,
Set<MetaConstraint<?>> crossParameterConstraints,
Set<MetaConstraint<?>> returnValueConstraints,
Set<MetaConstraint<?>> typeArgumentsConstraints,
Map<Class<?>,Class<?>> groupConversions,
boolean isCascading,
UnwrapMode unwrapMode)
Creates a new executable meta data object.
|
ConstrainedExecutable(ConfigurationSource source,
ConstraintLocation location,
Set<MetaConstraint<?>> returnValueConstraints,
Map<Class<?>,Class<?>> groupConversions,
boolean isCascading,
UnwrapMode unwrapMode)
Creates a new executable meta data object for a parameter-less executable.
|
ConstrainedField(ConfigurationSource source,
ConstraintLocation location,
Set<MetaConstraint<?>> constraints,
Set<MetaConstraint<?>> typeArgumentsConstraints,
Map<Class<?>,Class<?>> groupConversions,
boolean isCascading,
UnwrapMode unwrapMode)
Creates a new field meta data object.
|
ConstrainedField(ConfigurationSource source,
ConstraintLocation location,
Set<MetaConstraint<?>> constraints,
Set<MetaConstraint<?>> typeArgumentsConstraints,
Map<Class<?>,Class<?>> groupConversions,
boolean isCascading,
UnwrapMode unwrapMode)
Creates a new field meta data object.
|
ConstrainedParameter(ConfigurationSource source,
ConstraintLocation location,
Type type,
int index,
String name,
Set<MetaConstraint<?>> constraints,
Set<MetaConstraint<?>> typeArgumentsConstraints,
Map<Class<?>,Class<?>> groupConversions,
boolean isCascading,
UnwrapMode unwrapMode)
Creates a new parameter meta data object.
|
ConstrainedParameter(ConfigurationSource source,
ConstraintLocation location,
Type type,
int index,
String name,
Set<MetaConstraint<?>> constraints,
Set<MetaConstraint<?>> typeArgumentsConstraints,
Map<Class<?>,Class<?>> groupConversions,
boolean isCascading,
UnwrapMode unwrapMode)
Creates a new parameter meta data object.
|
ConstrainedType(ConfigurationSource source,
ConstraintLocation location,
Set<MetaConstraint<?>> constraints)
Creates a new type meta data object.
|
Copyright © 2017 JBoss by Red Hat. All rights reserved.