All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.hibernate.validator.cfg.context.CrossParameterTarget Maven / Gradle / Ivy

There is a newer version: 8.0.1.Final
Show newest version
/*
 * Hibernate Validator, declare and validate application constraints
 *
 * License: Apache License, Version 2.0
 * See the license.txt file in the root directory or .
 */
package org.hibernate.validator.cfg.context;

/**
 * Facet of a constraint mapping creational context which allows to select the cross-parameter element of a method
 * or constructor as target of the next operations.
 *
 * @author Gunnar Morling
 */
public interface CrossParameterTarget {

	/**
	 * 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.
	 *
	 * @return A creational context representing the cross-parameter element of the current method or constructor.
	 */
	CrossParameterConstraintMappingContext crossParameter();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy