/*
* Hibernate Validator, declare and validate application constraints
*
* License: Apache License, Version 2.0
* See the license.txt file in the root directory or <http://www.apache.org/licenses/LICENSE-2.0>.
*/
package org.hibernate.validator.cfg.context;
Facet of a constraint mapping creational context which allows to select the current method's or constructor's
return value as target for the next operations.
Author: Kevin Pollet <kevin.pollet@serli.com> (C) 2011 SERLI, Gunnar Morling
/**
* Facet of a constraint mapping creational context which allows to select the current method's or constructor's
* return value as target for the next operations.
*
* @author Kevin Pollet <kevin.pollet@serli.com> (C) 2011 SERLI
* @author Gunnar Morling
*/
public interface ReturnValueTarget {
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.
/**
* 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.
*
* @return A creational context representing the current method's or constructor's return value.
*/
ReturnValueConstraintMappingContext returnValue();
}