| Package | Description |
|---|---|
| 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.
|
| 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 |
ConstrainedElement.getLocation()
Returns the location of this constrained element.
|
ConstraintLocation |
AbstractConstrainedElement.getLocation() |
| 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.
|
Copyright © 2009-2014 Oracle Corporation. All Rights Reserved.