javax.validation.metadata
Interface CascadableDescriptor

All Known Subinterfaces:
ParameterDescriptor, PropertyDescriptor, ReturnValueDescriptor

public interface CascadableDescriptor

Represents a cascadable element.

Since:
1.1
Author:
Gunnar Morling

Method Summary
 Set<GroupConversionDescriptor> getGroupConversions()
          Returns the group conversions configured for this element.
 boolean isCascaded()
          Whether this element is marked for cascaded validation or not.
 

Method Detail

isCascaded

boolean isCascaded()
Whether this element is marked for cascaded validation or not.

Returns:
true, if this element is marked for cascaded validation, false otherwise.

getGroupConversions

Set<GroupConversionDescriptor> getGroupConversions()
Returns the group conversions configured for this element.

Returns:
A set containing this element's group conversions. An empty set may be returned if no conversions are configured but never null.


Copyright © 2007-2013. All Rights Reserved.