Package | Description |
---|---|
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 | Field and Description |
---|---|
protected ConfigurationSource |
AbstractConstrainedElement.source |
Modifier and Type | Method and Description |
---|---|
ConfigurationSource |
ConstrainedElement.getSource()
Returns the configuration source contributing this constrained element.
|
ConfigurationSource |
BeanConfiguration.getSource() |
ConfigurationSource |
AbstractConstrainedElement.getSource() |
static ConfigurationSource |
ConfigurationSource.max(ConfigurationSource a,
ConfigurationSource b)
Returns that configuration source from the given two sources, which has
the higher priority.
|
static ConfigurationSource |
ConfigurationSource.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ConfigurationSource[] |
ConfigurationSource.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
static ConfigurationSource |
ConfigurationSource.max(ConfigurationSource a,
ConfigurationSource b)
Returns that configuration source from the given two sources, which has
the higher priority.
|
Constructor and Description |
---|
AbstractConstrainedElement(ConfigurationSource source,
ConstrainedElement.ConstrainedElementKind kind,
Set<MetaConstraint<?>> constraints,
Set<MetaConstraint<?>> typeArgumentConstraints,
CascadingMetaDataBuilder cascadingMetaDataBuilder) |
BeanConfiguration(ConfigurationSource source,
Class<T> beanClass,
Set<? extends ConstrainedElement> constrainedElements,
List<Class<?>> defaultGroupSequence,
DefaultGroupSequenceProvider<? super T> defaultGroupSequenceProvider)
Creates a new bean configuration.
|
ConstrainedExecutable(ConfigurationSource source,
Executable executable,
List<ConstrainedParameter> parameterMetaData,
Set<MetaConstraint<?>> crossParameterConstraints,
Set<MetaConstraint<?>> returnValueConstraints,
Set<MetaConstraint<?>> typeArgumentConstraints,
CascadingMetaDataBuilder cascadingMetaDataBuilder)
Creates a new executable meta data object.
|
ConstrainedExecutable(ConfigurationSource source,
Executable executable,
Set<MetaConstraint<?>> returnValueConstraints,
Set<MetaConstraint<?>> typeArgumentConstraints,
CascadingMetaDataBuilder cascadingMetaDataBuilder)
Creates a new executable meta data object for a parameter-less executable.
|
ConstrainedField(ConfigurationSource source,
Field field,
Set<MetaConstraint<?>> constraints,
Set<MetaConstraint<?>> typeArgumentConstraints,
CascadingMetaDataBuilder cascadingMetaDataBuilder)
Creates a new field meta data object.
|
ConstrainedParameter(ConfigurationSource source,
Executable executable,
Type type,
int index) |
ConstrainedParameter(ConfigurationSource source,
Executable executable,
Type type,
int index,
Set<MetaConstraint<?>> constraints,
Set<MetaConstraint<?>> typeArgumentConstraints,
CascadingMetaDataBuilder cascadingMetaDataBuilder)
Creates a new parameter meta data object.
|
ConstrainedType(ConfigurationSource source,
Class<?> beanClass,
Set<MetaConstraint<?>> constraints)
Creates a new type meta data object.
|
Copyright © 2019 JBoss by Red Hat. All rights reserved.