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> constrainableElements,
List<Class<?>> defaultGroupSequence,
DefaultGroupSequenceProvider<? super T> defaultGroupSequenceProvider) |
Modifier and Type | Method and Description |
---|---|
ConfigurationSource |
BeanConfiguration.getSource() |
ConfigurationSource |
AbstractConstrainedElement.getSource() |
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.
|
Constructor and Description |
---|
AbstractConstrainedElement(ConfigurationSource source,
ConstrainedElement.ConstrainedElementKind kind,
ConstraintLocation location,
Set<MetaConstraint<?>> constraints,
boolean isCascading) |
BeanConfiguration(ConfigurationSource source,
Class<T> beanClass,
Set<? extends ConstrainedElement> constrainedElements,
List<Class<?>> defaultGroupSequence,
DefaultGroupSequenceProvider<? super T> defaultGroupSequenceProvider)
Creates a new bean configuration.
|
ConstrainedField(ConfigurationSource source,
BeanConstraintLocation location,
Set<MetaConstraint<?>> constraints,
boolean isCascading)
Creates a new field meta data object.
|
ConstrainedMethod(ConfigurationSource source,
MethodConstraintLocation location,
List<ConstrainedParameter> parameterMetaData,
Set<MetaConstraint<?>> returnValueConstraints,
boolean isCascading)
Creates a new method meta data object.
|
ConstrainedMethod(ConfigurationSource source,
MethodConstraintLocation location,
Set<MetaConstraint<?>> returnValueConstraints,
boolean isCascading)
Creates a new method meta data object for a parameter-less method.
|
ConstrainedParameter(ConfigurationSource source,
MethodConstraintLocation location,
String name,
Set<MetaConstraint<?>> constraints,
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 © 2014 JBoss by Red Hat. All Rights Reserved.