org.hibernate.validator.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
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.
Copyright © 2007-2011 Red Hat Middleware, LLC. All Rights Reserved