Package javax.validation.metadata
Interface CascadableDescriptor
- All Known Subinterfaces:
ContainerElementTypeDescriptor
,ParameterDescriptor
,PropertyDescriptor
,ReturnValueDescriptor
public interface CascadableDescriptor
Represents a cascadable element.
- Since:
- 1.1
-
Method Summary
Modifier and TypeMethodDescriptionReturns the group conversions configured for this element.boolean
Whether this element is marked for cascaded validation or not.
-
Method Details
-
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
-