public class BeanConstraintLocation extends Object implements ConstraintLocation
ConstraintLocation implementation that represents either a bean (in case of class-level
constraints), a field or a getter method (in case of property-level constraints).| Constructor and Description |
|---|
BeanConstraintLocation(Class<?> beanClass) |
BeanConstraintLocation(Class<?> beanClass,
Member member) |
BeanConstraintLocation(Member member) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
Class<?> |
getBeanClass() |
ElementType |
getElementType() |
Member |
getMember() |
int |
hashCode() |
String |
toString() |
Type |
typeOfAnnotatedElement()
Returns the type of the element at this constraint location.
|
public BeanConstraintLocation(Class<?> beanClass)
public BeanConstraintLocation(Member member)
public Class<?> getBeanClass()
getBeanClass in interface ConstraintLocationpublic Member getMember()
getMember in interface ConstraintLocationpublic Type typeOfAnnotatedElement()
ConstraintLocationtypeOfAnnotatedElement in interface ConstraintLocationpublic ElementType getElementType()
getElementType in interface ConstraintLocationCopyright © 2007-2012 Red Hat Middleware, LLC. All Rights Reserved