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.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.raw |
The raw metadata is a reflection of all configured constraints including constraints defined via multiple
configuration sources.
|
Modifier and Type | Method and Description |
---|---|
static CascadingMetaDataBuilder |
CascadingMetaDataBuilder.annotatedObject(java.lang.reflect.Type cascadableType,
boolean cascading,
java.util.Map<java.lang.reflect.TypeVariable<?>,CascadingMetaDataBuilder> containerElementTypesCascadingMetaData,
java.util.Map<java.lang.Class<?>,java.lang.Class<?>> groupConversions) |
CascadingMetaDataBuilder |
CascadingMetaDataBuilder.merge(CascadingMetaDataBuilder otherCascadingTypeParameter) |
static CascadingMetaDataBuilder |
CascadingMetaDataBuilder.nonCascading() |
Modifier and Type | Method and Description |
---|---|
java.util.Map<java.lang.reflect.TypeVariable<?>,CascadingMetaDataBuilder> |
CascadingMetaDataBuilder.getContainerElementTypesCascadingMetaData() |
Modifier and Type | Method and Description |
---|---|
CascadingMetaDataBuilder |
CascadingMetaDataBuilder.merge(CascadingMetaDataBuilder otherCascadingTypeParameter) |
void |
FieldCascadable.Builder.mergeCascadingMetaData(CascadingMetaDataBuilder cascadingMetaData) |
void |
GetterCascadable.Builder.mergeCascadingMetaData(CascadingMetaDataBuilder cascadingMetaData) |
static NonContainerCascadingMetaData |
NonContainerCascadingMetaData.of(CascadingMetaDataBuilder cascadingMetaDataBuilder,
java.lang.Object context) |
static PotentiallyContainerCascadingMetaData |
PotentiallyContainerCascadingMetaData.of(CascadingMetaDataBuilder cascadingMetaDataBuilder,
java.util.Set<ValueExtractorDescriptor> potentialValueExtractorDescriptors,
java.lang.Object context) |
static ContainerCascadingMetaData |
ContainerCascadingMetaData.of(ValueExtractorManager valueExtractorManager,
CascadingMetaDataBuilder cascadingMetaDataBuilder,
java.lang.Object context) |
Modifier and Type | Method and Description |
---|---|
static CascadingMetaDataBuilder |
CascadingMetaDataBuilder.annotatedObject(java.lang.reflect.Type cascadableType,
boolean cascading,
java.util.Map<java.lang.reflect.TypeVariable<?>,CascadingMetaDataBuilder> containerElementTypesCascadingMetaData,
java.util.Map<java.lang.Class<?>,java.lang.Class<?>> groupConversions) |
Constructor and Description |
---|
Builder(ValueExtractorManager valueExtractorManager,
java.lang.reflect.Field field,
CascadingMetaDataBuilder cascadingMetaDataBuilder) |
Builder(ValueExtractorManager valueExtractorManager,
java.lang.reflect.Method method,
CascadingMetaDataBuilder cascadingMetaDataBuilder) |
Constructor and Description |
---|
CascadingMetaDataBuilder(java.lang.reflect.Type enclosingType,
java.lang.reflect.TypeVariable<?> typeParameter,
boolean cascading,
java.util.Map<java.lang.reflect.TypeVariable<?>,CascadingMetaDataBuilder> containerElementTypesCascadingMetaData,
java.util.Map<java.lang.Class<?>,java.lang.Class<?>> groupConversions) |
Modifier and Type | Method and Description |
---|---|
void |
Cascadable.Builder.mergeCascadingMetaData(CascadingMetaDataBuilder cascadingMetaDataBuilder) |
Modifier and Type | Field and Description |
---|---|
protected CascadingMetaDataBuilder |
AbstractConstrainedElement.cascadingMetaDataBuilder |
Modifier and Type | Method and Description |
---|---|
CascadingMetaDataBuilder |
ConstrainedElement.getCascadingMetaDataBuilder()
Returns the cascading metadata (e.g.
|
CascadingMetaDataBuilder |
AbstractConstrainedElement.getCascadingMetaDataBuilder() |
Constructor and Description |
---|
AbstractConstrainedElement(ConfigurationSource source,
ConstrainedElement.ConstrainedElementKind kind,
java.util.Set<MetaConstraint<?>> constraints,
java.util.Set<MetaConstraint<?>> typeArgumentConstraints,
CascadingMetaDataBuilder cascadingMetaDataBuilder) |
ConstrainedExecutable(ConfigurationSource source,
java.lang.reflect.Executable executable,
java.util.List<ConstrainedParameter> parameterMetaData,
java.util.Set<MetaConstraint<?>> crossParameterConstraints,
java.util.Set<MetaConstraint<?>> returnValueConstraints,
java.util.Set<MetaConstraint<?>> typeArgumentConstraints,
CascadingMetaDataBuilder cascadingMetaDataBuilder)
Creates a new executable meta data object.
|
ConstrainedExecutable(ConfigurationSource source,
java.lang.reflect.Executable executable,
java.util.Set<MetaConstraint<?>> returnValueConstraints,
java.util.Set<MetaConstraint<?>> typeArgumentConstraints,
CascadingMetaDataBuilder cascadingMetaDataBuilder)
Creates a new executable meta data object for a parameter-less executable.
|
ConstrainedField(ConfigurationSource source,
java.lang.reflect.Field field,
java.util.Set<MetaConstraint<?>> constraints,
java.util.Set<MetaConstraint<?>> typeArgumentConstraints,
CascadingMetaDataBuilder cascadingMetaDataBuilder)
Creates a new field meta data object.
|
ConstrainedParameter(ConfigurationSource source,
java.lang.reflect.Executable executable,
java.lang.reflect.Type type,
int index,
java.util.Set<MetaConstraint<?>> constraints,
java.util.Set<MetaConstraint<?>> typeArgumentConstraints,
CascadingMetaDataBuilder cascadingMetaDataBuilder)
Creates a new parameter meta data object.
|
Copyright © 2007-2022 Red Hat, Inc. All Rights Reserved