public abstract class MetaConstraint<A extends Annotation> extends Object
Modifier and Type | Field and Description |
---|---|
protected ConstraintLocation |
location
The location at which this constraint is defined.
|
Constructor and Description |
---|
MetaConstraint(ConstraintDescriptorImpl<A> constraintDescriptor,
ConstraintLocation location) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
ConstraintDescriptorImpl<A> |
getDescriptor() |
ElementType |
getElementType() |
Set<Class<?>> |
getGroupList() |
ConstraintLocation |
getLocation() |
int |
hashCode() |
String |
toString() |
protected Type |
typeOfAnnotatedElement() |
<T,U,V> boolean |
validateConstraint(ValidationContext<T,?> executionContext,
ValueContext<U,V> valueContext) |
protected final ConstraintLocation location
public MetaConstraint(ConstraintDescriptorImpl<A> constraintDescriptor, ConstraintLocation location)
constraintDescriptor
- The constraint descriptor for this constraintlocation
- meta data about constraint placementpublic final Set<Class<?>> getGroupList()
public final ConstraintDescriptorImpl<A> getDescriptor()
public final ElementType getElementType()
public <T,U,V> boolean validateConstraint(ValidationContext<T,?> executionContext, ValueContext<U,V> valueContext)
public ConstraintLocation getLocation()
protected final Type typeOfAnnotatedElement()
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.