Package | Description |
---|---|
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 |
---|---|
protected <T> BeanConfiguration<T> |
MetaDataProviderKeyedByClassName.createBeanConfiguration(ConfigurationSource source,
Class<T> beanClass,
Set<? extends ConstrainedElement> constrainedElements,
List<Class<?>> defaultGroupSequence,
DefaultGroupSequenceProvider<? super T> defaultGroupSequenceProvider) |
Modifier and Type | Field and Description |
---|---|
protected ConfigurationSource |
AbstractConstrainedElement.source |
Modifier and Type | Method and Description |
---|---|
ConfigurationSource |
BeanConfiguration.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,
ConstraintLocation location,
Set<MetaConstraint<?>> constraints,
Map<Class<?>,Class<?>> groupConversions,
boolean isCascading) |
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,
ExecutableConstraintLocation location,
List<ConstrainedParameter> parameterMetaData,
Set<MetaConstraint<?>> crossParameterConstraints,
Set<MetaConstraint<?>> returnValueConstraints,
Map<Class<?>,Class<?>> groupConversions,
boolean isCascading)
Creates a new executable meta data object.
|
ConstrainedExecutable(ConfigurationSource source,
ExecutableConstraintLocation location,
Set<MetaConstraint<?>> returnValueConstraints,
boolean isCascading)
Creates a new executable meta data object for a parameter-less executable.
|
ConstrainedField(ConfigurationSource source,
BeanConstraintLocation location,
Set<MetaConstraint<?>> constraints,
Map<Class<?>,Class<?>> groupConversions,
boolean isCascading)
Creates a new field meta data object.
|
ConstrainedParameter(ConfigurationSource source,
ExecutableConstraintLocation location,
String name,
Set<MetaConstraint<?>> constraints,
Map<Class<?>,Class<?>> groupConversions,
boolean isCascading)
Creates a new parameter meta data object.
|
ConstrainedType(ConfigurationSource source,
BeanConstraintLocation location,
Set<MetaConstraint<?>> constraints)
Creates a new type meta data object.
|
Copyright © 2007-2013 Red Hat, Inc. All Rights Reserved