javax.validation.metadata
Interface ReturnValueDescriptor

All Superinterfaces:
ElementDescriptor

public interface ReturnValueDescriptor
extends ElementDescriptor

Describes a validated return value of a method or constructor.

Author:
Gunnar Morling

Nested Class Summary
 
Nested classes/interfaces inherited from interface javax.validation.metadata.ElementDescriptor
ElementDescriptor.ConstraintFinder, ElementDescriptor.Kind
 
Method Summary
 boolean isCascaded()
          Whether a cascaded validation for this return value shall be performed or not.
 
Methods inherited from interface javax.validation.metadata.ElementDescriptor
as, findConstraints, getConstraintDescriptors, getElementClass, getKind, hasConstraints
 

Method Detail

isCascaded

boolean isCascaded()
Whether a cascaded validation for this return value shall be performed or not.

Returns:
true, if this return value shall be validated recursively, false otherwise.


Copyright © 2007-2012. All Rights Reserved.