org.hibernate.validator.cfg.context

## Interface ReturnValueTarget

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

      public interface ReturnValueTarget

  Facet of a constraint mapping creational context which allows to the select the current method's or constructor's return value as target for the next operations.
  Author:
    Kevin Pollet (C) 2011 SERLI, Gunnar Morling

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `ReturnValueConstraintMappingContext` | `returnValue()` Selects the current method's return value as the target for the next operations.

- - ### Method Detail

    - #### returnValue

          ReturnValueConstraintMappingContext returnValue()

      Selects the current method's return value as the target for the next operations. The return value of one method or constructor may only be configured more once.
      Returns:
        A creational context representing the current method's or constructor's return value.

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