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 ConstraintLocation
public Member getMember()
getMember
in interface ConstraintLocation
public Type typeOfAnnotatedElement()
ConstraintLocation
typeOfAnnotatedElement
in interface ConstraintLocation
public ElementType getElementType()
getElementType
in interface ConstraintLocation
Copyright © 2007-2014 Red Hat Middleware, LLC. All Rights Reserved