org.hibernate.validator.cfg.context
Interface ParameterTarget

All Known Subinterfaces:
MethodConstraintMappingContext, ParameterConstraintMappingContext, ReturnValueConstraintMappingContext
All Known Implementing Classes:
MethodConstraintMappingContextImpl, ParameterConstraintMappingContextImpl, ReturnValueConstraintMappingContextImpl

public interface ParameterTarget

Facet of a constraint mapping creational context which allows to the select a method parameter to which the next operations shall apply.

Author:
Kevin Pollet - SERLI - (kevin.pollet@serli.com), Gunnar Morling

Method Summary
 ParameterConstraintMappingContext parameter(int index)
          Changes the parameter for which added constraints apply.
 

Method Detail

parameter

ParameterConstraintMappingContext parameter(int index)
Changes the parameter for which added constraints apply.

Parameters:
index - The parameter index.
Returns:
A creational context representing the selected parameter.


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