org.hibernate.validator.internal.metadata.location
Interface ConstraintLocation

All Known Implementing Classes:
BeanConstraintLocation, MethodConstraintLocation

public interface ConstraintLocation

Implementations describe the location at which a constraint is specified (a bean, a method parameter etc.).

Author:
Gunnar Morling

Method Summary
 Class<?> getBeanClass()
           
 ElementType getElementType()
           
 Member getMember()
           
 Type typeOfAnnotatedElement()
          Returns the type of the element at this constraint location.
 

Method Detail

getBeanClass

Class<?> getBeanClass()

typeOfAnnotatedElement

Type typeOfAnnotatedElement()
Returns the type of the element at this constraint location. Depending on the concrete implementation this might be the type of an annotated bean, method parameter etc.

Returns:
The type of the element at this constraint location.

getElementType

ElementType getElementType()

getMember

Member getMember()


Copyright © 2012 Oracle Corporation. All Rights Reserved.