org.hibernate.validator.internal.metadata.location
Class CrossParameterConstraintLocation

java.lang.Object
  extended by org.hibernate.validator.internal.metadata.location.CrossParameterConstraintLocation
All Implemented Interfaces:
ConstraintLocation

public class CrossParameterConstraintLocation
extends Object
implements ConstraintLocation

A ConstraintLocation representing all the parameters of a method or constructor; Used for cross-parameter constraints.

Author:
Gunnar Morling

Constructor Summary
CrossParameterConstraintLocation(ExecutableElement executableElement)
           
 
Method Summary
 Class<?> getBeanClass()
           
 ElementType getElementType()
           
 Member getMember()
           
 Type typeOfAnnotatedElement()
          Returns the type of the element at this constraint location.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CrossParameterConstraintLocation

public CrossParameterConstraintLocation(ExecutableElement executableElement)
Method Detail

getBeanClass

public Class<?> getBeanClass()
Specified by:
getBeanClass in interface ConstraintLocation

typeOfAnnotatedElement

public Type typeOfAnnotatedElement()
Description copied from interface: ConstraintLocation
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.

Specified by:
typeOfAnnotatedElement in interface ConstraintLocation
Returns:
The type of the element at this constraint location.

getElementType

public ElementType getElementType()
Specified by:
getElementType in interface ConstraintLocation

getMember

public Member getMember()
Specified by:
getMember in interface ConstraintLocation


Copyright © 2007-2013 Red Hat Middleware, LLC. All Rights Reserved