Package | Description |
---|---|
org.hibernate.validator.internal.cfg.context |
Creational context implementations of the API for programmatic
constraint definition.
|
org.hibernate.validator.internal.metadata.core |
Core classes of the internal model used for representing constraints and related metadata.
|
org.hibernate.validator.internal.metadata.location |
Contains types for the representation of constraint locations.
|
org.hibernate.validator.internal.metadata.raw |
The raw metadata is a reflection of all configured constraints including constraints defined via multiple
configuration sources.
|
org.hibernate.validator.internal.xml |
Classes for parsing of Bean Validation XML configuration files.
|
Modifier and Type | Method and Description |
---|---|
ConstraintLocation |
ConfiguredConstraint.getLocation() |
Modifier and Type | Method and Description |
---|---|
ConstraintLocation |
MetaConstraint.getLocation() |
Constructor and Description |
---|
MetaConstraint(ConstraintDescriptorImpl<A> constraintDescriptor,
ConstraintLocation location) |
Modifier and Type | Method and Description |
---|---|
static ConstraintLocation |
ConstraintLocation.forClass(Class<?> declaringClass) |
static ConstraintLocation |
ConstraintLocation.forCrossParameter(ExecutableElement executable) |
static ConstraintLocation |
ConstraintLocation.forParameter(ExecutableElement executable,
int index) |
static ConstraintLocation |
ConstraintLocation.forProperty(Member member) |
static ConstraintLocation |
ConstraintLocation.forReturnValue(ExecutableElement executable) |
Modifier and Type | Field and Description |
---|---|
protected ConstraintLocation |
AbstractConstrainedElement.location |
Modifier and Type | Method and Description |
---|---|
ConstraintLocation |
AbstractConstrainedElement.getLocation() |
ConstraintLocation |
ConstrainedElement.getLocation()
Returns the location of this constrained element.
|
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,
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) |
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.
|
Modifier and Type | Method and Description |
---|---|
static <A extends Annotation> |
MetaConstraintBuilder.buildMetaConstraint(ConstraintLocation constraintLocation,
ConstraintType constraint,
ElementType type,
String defaultPackage,
ConstraintHelper constraintHelper,
ConstraintDescriptorImpl.ConstraintType constraintType) |
Copyright © 2007-2014 Red Hat, Inc. All Rights Reserved