public class CrossParameterConstraintLocation extends Object implements ConstraintLocation
ConstraintLocation
representing all the parameters of a method or
constructor; Used for cross-parameter constraints.Constructor and Description |
---|
CrossParameterConstraintLocation(ExecutableElement executableElement) |
Modifier and Type | Method and Description |
---|---|
Class<?> |
getBeanClass()
Returns the class on which the constraint is defined.
|
ElementType |
getElementType()
Returns the
ElementType on which the constraint is defined. |
Member |
getMember()
Returns the member the constraint is defined on.
|
Type |
typeOfAnnotatedElement()
Returns the type of the element at this constraint location.
|
public CrossParameterConstraintLocation(ExecutableElement executableElement)
public Class<?> getBeanClass()
ConstraintLocation
getBeanClass
in interface ConstraintLocation
public Type typeOfAnnotatedElement()
ConstraintLocation
typeOfAnnotatedElement
in interface ConstraintLocation
public ElementType getElementType()
ConstraintLocation
ElementType
on which the constraint is defined.getElementType
in interface ConstraintLocation
ElementType
on which the constraint is defined.public Member getMember()
ConstraintLocation
getMember
in interface ConstraintLocation
Copyright © 2007-2014 Red Hat, Inc. All Rights Reserved