public class ConfiguredConstraint<A extends Annotation,L extends ConstraintLocation> extends Object
Modifier and Type | Method and Description |
---|---|
A |
createAnnotationProxy() |
static <A extends Annotation> |
forParameter(ConstraintDef<?,A> constraint,
Method method,
int parameterIndex) |
static <A extends Annotation> |
forProperty(ConstraintDef<?,A> constraint,
Member member) |
static <A extends Annotation> |
forReturnValue(ConstraintDef<?,A> constraint,
Method method) |
static <A extends Annotation> |
forType(ConstraintDef<?,A> constraint,
Class<?> beanType) |
ConstraintDef<?,A> |
getConstraint() |
Class<A> |
getConstraintType() |
L |
getLocation() |
Map<String,Object> |
getParameters() |
public static <A extends Annotation> ConfiguredConstraint<A,BeanConstraintLocation> forType(ConstraintDef<?,A> constraint, Class<?> beanType)
public static <A extends Annotation> ConfiguredConstraint<A,BeanConstraintLocation> forProperty(ConstraintDef<?,A> constraint, Member member)
public static <A extends Annotation> ConfiguredConstraint<A,ExecutableConstraintLocation> forParameter(ConstraintDef<?,A> constraint, Method method, int parameterIndex)
public static <A extends Annotation> ConfiguredConstraint<A,ExecutableConstraintLocation> forReturnValue(ConstraintDef<?,A> constraint, Method method)
public ConstraintDef<?,A> getConstraint()
public L getLocation()
public A createAnnotationProxy()
Copyright © 2007-2013 Red Hat, Inc. All Rights Reserved