| 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.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,
javax.validation.Path path,
MetaConstraint<?> metaConstraint) |
void |
ValidationContext.markConstraintProcessed(Object bean,
javax.validation.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() |
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,
javax.validation.ElementKind constrainedMetaDataKind,
boolean isCascading,
boolean isConstrained,
boolean requiresUnwrapping) |
ReturnValueMetaData(Type type,
Set<MetaConstraint<?>> constraints,
boolean isCascading,
Map<Class<?>,Class<?>> groupConversions,
boolean requiresUnwrapping) |
| 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() |
Iterator<MetaConstraint<?>> |
AbstractConstrainedElement.iterator() |
| Constructor and Description |
|---|
AbstractConstrainedElement(ConfigurationSource source,
ConstrainedElement.ConstrainedElementKind kind,
ConstraintLocation location,
Set<MetaConstraint<?>> constraints,
Map<Class<?>,Class<?>> groupConversions,
boolean isCascading,
boolean requiresUnwrapping) |
ConstrainedExecutable(ConfigurationSource source,
ConstraintLocation location,
List<ConstrainedParameter> parameterMetaData,
Set<MetaConstraint<?>> crossParameterConstraints,
Set<MetaConstraint<?>> returnValueConstraints,
Map<Class<?>,Class<?>> groupConversions,
boolean isCascading,
boolean requiresUnwrapping)
Creates a new executable meta data object.
|
ConstrainedExecutable(ConfigurationSource source,
ConstraintLocation location,
List<ConstrainedParameter> parameterMetaData,
Set<MetaConstraint<?>> crossParameterConstraints,
Set<MetaConstraint<?>> returnValueConstraints,
Map<Class<?>,Class<?>> groupConversions,
boolean isCascading,
boolean requiresUnwrapping)
Creates a new executable meta data object.
|
ConstrainedExecutable(ConfigurationSource source,
ConstraintLocation location,
Set<MetaConstraint<?>> returnValueConstraints,
Map<Class<?>,Class<?>> groupConversions,
boolean isCascading,
boolean requiresUnwrapping)
Creates a new executable meta data object for a parameter-less executable.
|
ConstrainedField(ConfigurationSource source,
ConstraintLocation location,
Set<MetaConstraint<?>> constraints,
Map<Class<?>,Class<?>> groupConversions,
boolean isCascading,
boolean requiresUnwrapping)
Creates a new field meta data object.
|
ConstrainedParameter(ConfigurationSource source,
ConstraintLocation location,
Type type,
int index,
String name,
Set<MetaConstraint<?>> constraints,
Map<Class<?>,Class<?>> groupConversions,
boolean isCascading,
boolean requiresUnwrapping)
Creates a new parameter meta data object.
|
ConstrainedType(ConfigurationSource source,
ConstraintLocation location,
Set<MetaConstraint<?>> constraints)
Creates a new type meta data object.
|
Copyright © 2009-2014 Oracle Corporation. All Rights Reserved.