Top Description Methods
org.hibernate.validator.cfg.context

public Interface CrossParameterTarget

Known Direct Subinterfaces
org.hibernate.validator.cfg.context.MethodConstraintMappingContext, org.hibernate.validator.cfg.context.ParameterConstraintMappingContext, org.hibernate.validator.cfg.context.ReturnValueConstraintMappingContext, org.hibernate.validator.cfg.context.ConstructorConstraintMappingContext

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

Method Summary

Modifier and TypeMethod and Description
public CrossParameterConstraintMappingContext

Returns:

A creational context representing the cross-parameter element of the current method or constructor.
crossParameter
()

Selects the cross-parameter element of a method or constructor as target for the next constraint declaration operations.

Method Detail

crossParameterback to summary
public 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:CrossParameterConstraintMappingContext

A creational context representing the cross-parameter element of the current method or constructor.