org.hibernate.validator.cfg.context

## Interface CrossParameterTarget

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

      public interface CrossParameterTarget

  Facet of a constraint mapping creational context which allows to the select the cross-parameter element of a method or constructor as target of the next operations.
  Author:
    Gunnar Morling

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `CrossParameterConstraintMappingContext` | `crossParameter()` Selects the cross-parameter element of a method or constructor as target for the next constraint declaration operations.

- - ### Method Detail

    - #### crossParameter

          CrossParameterConstraintMappingContext crossParameter()

      Selects the cross-parameter element of a method or constructor as target for the next constraint declaration operations. May only be configured once for a given method or constructor.
      Returns:
        A creational context representing the cross-parameter element of the current method or constructor.

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