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 Red Hat Inc. All Rights Reserved. Released under the Apache Software License 2.0.