org.hibernate.validator.cfg.context
Interface Cascadable<C extends Cascadable<C>>

All Known Subinterfaces:
ParameterConstraintMappingContext, PropertyConstraintMappingContext, ReturnValueConstraintMappingContext
All Known Implementing Classes:
ParameterConstraintMappingContextImpl, PropertyConstraintMappingContextImpl, ReturnValueConstraintMappingContextImpl

public interface Cascadable<C extends Cascadable<C>>

Facet of a constraint mapping creational context which allows to mark the underlying element as to be validated in a cascaded way.

Author:
Gunnar Morling, Kevin Pollet - SERLI - (kevin.pollet@serli.com)

Method Summary
 C valid()
          Marks the current element (property, parameter etc.) as cascadable.
 

Method Detail

valid

C valid()
Marks the current element (property, parameter etc.) as cascadable.

Returns:
The current creational context following the method chaining pattern.


Copyright © 2007-2011 Red Hat Middleware, LLC. All Rights Reserved