|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.hibernate.validator.internal.metadata.location.BeanConstraintLocation
public class BeanConstraintLocation
A 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 Summary | |
|---|---|
BeanConstraintLocation(Class<?> beanClass)
|
|
BeanConstraintLocation(Member member)
|
|
| Method Summary | |
|---|---|
boolean |
equals(Object o)
|
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. |
int |
hashCode()
|
String |
toString()
|
Type |
typeOfAnnotatedElement()
Returns the type of the element at this constraint location. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public BeanConstraintLocation(Class<?> beanClass)
public BeanConstraintLocation(Member member)
| Method Detail |
|---|
public Class<?> getBeanClass()
ConstraintLocation
getBeanClass in interface ConstraintLocationpublic Member getMember()
ConstraintLocation
getMember in interface ConstraintLocationpublic Type typeOfAnnotatedElement()
ConstraintLocation
typeOfAnnotatedElement in interface ConstraintLocationpublic ElementType getElementType()
ConstraintLocationElementType on which the constraint is defined.
getElementType in interface ConstraintLocationElementType on which the constraint is defined.public boolean equals(Object o)
equals in class Objectpublic int hashCode()
hashCode in class Objectpublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||