org.hibernate.validator.cfg.context

## Interface ParameterTarget

- All Known Subinterfaces:
    ConstructorConstraintMappingContext, CrossParameterConstraintMappingContext, MethodConstraintMappingContext, ParameterConstraintMappingContext, ReturnValueConstraintMappingContext
  All Known Implementing Classes:
    CrossParameterConstraintMappingContextImpl, ExecutableConstraintMappingContextImpl, ParameterConstraintMappingContextImpl, ReturnValueConstraintMappingContextImpl

      public interface ParameterTarget

  Facet of a constraint mapping creational context which allows to the select a method or constructor parameter to which the next operations shall apply.
  Author:
    Kevin Pollet (C) 2011 SERLI, Gunnar Morling

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `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. A given parameter may only be configured once.
      Parameters:
        `index` - The parameter index.
      Returns:
        A creational context representing the selected parameter.

Copyright © 2007-2014 Red Hat, Inc. All Rights Reserved