Package jakarta.validation.metadata
Interface CascadableDescriptor
-
- All Known Subinterfaces:
ContainerElementTypeDescriptor,ParameterDescriptor,PropertyDescriptor,ReturnValueDescriptor
public interface CascadableDescriptorRepresents a cascadable element.- Since:
- 1.1
- Author:
- Gunnar Morling
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.Set<GroupConversionDescriptor>getGroupConversions()Returns the group conversions configured for this element.booleanisCascaded()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,falseotherwise
-
getGroupConversions
java.util.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
-
-