Package | Description |
---|---|
org.hibernate.validator.internal.cfg.context |
Creational context implementations of the API for programmatic
constraint definition.
|
Modifier and Type | Method and Description |
---|---|
static <A extends Annotation> |
ConfiguredConstraint.forParameter(ConstraintDef<?,A> constraint,
Method method,
int parameterIndex) |
static <A extends Annotation> |
ConfiguredConstraint.forProperty(ConstraintDef<?,A> constraint,
Member member) |
static <A extends Annotation> |
ConfiguredConstraint.forReturnValue(ConstraintDef<?,A> constraint,
Method method) |
static <A extends Annotation> |
ConfiguredConstraint.forType(ConstraintDef<?,A> constraint,
Class<?> beanType) |
Modifier and Type | Method and Description |
---|---|
Map<Class<?>,Set<ConfiguredConstraint<?,BeanConstraintLocation>>> |
ConstraintMappingContext.getConstraintConfig()
Returns all constraint definitions registered with this mapping.
|
Map<Class<?>,Set<ConfiguredConstraint<?,ExecutableConstraintLocation>>> |
ConstraintMappingContext.getMethodConstraintConfig() |
Modifier and Type | Method and Description |
---|---|
void |
ConstraintMappingContext.addConstraintConfig(ConfiguredConstraint<?,BeanConstraintLocation> constraint) |
void |
ConstraintMappingContext.addMethodConstraintConfig(ConfiguredConstraint<?,ExecutableConstraintLocation> constraint) |
Copyright © 2007-2014 Red Hat, Inc. All Rights Reserved