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()
ConstraintLocationgetBeanClass in interface ConstraintLocationpublic Type typeOfAnnotatedElement()
ConstraintLocationtypeOfAnnotatedElement in interface ConstraintLocationpublic ElementType getElementType()
ConstraintLocationElementType on which the constraint is defined.getElementType in interface ConstraintLocationElementType on which the constraint is defined.public Member getMember()
ConstraintLocationgetMember in interface ConstraintLocationCopyright © 2007-2014 Red Hat, Inc. All Rights Reserved