Package jakarta.validation.metadata
Interface CascadableDescriptor
-
- All Known Subinterfaces:
ContainerElementTypeDescriptor
,ParameterDescriptor
,PropertyDescriptor
,ReturnValueDescriptor
public interface CascadableDescriptor
Represents a cascadable element.- Since:
- 1.1
- Author:
- Gunnar Morling
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description 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
-
-