Package org.apache.bval.jsr.descriptor
Class CascadableContainerD<P extends ElementD<?,?>,E extends AnnotatedElement>
- java.lang.Object
-
- org.apache.bval.jsr.descriptor.ElementD<E,R>
-
- org.apache.bval.jsr.descriptor.ElementD.NonRoot<P,E,MetadataReader.ForContainer<E>>
-
- org.apache.bval.jsr.descriptor.CascadableContainerD<P,E>
-
- All Implemented Interfaces:
jakarta.validation.metadata.CascadableDescriptor
,jakarta.validation.metadata.ContainerDescriptor
,jakarta.validation.metadata.ElementDescriptor
- Direct Known Subclasses:
ContainerElementTypeD
,ParameterD
,PropertyD
,ReturnValueD
public abstract class CascadableContainerD<P extends ElementD<?,?>,E extends AnnotatedElement> extends ElementD.NonRoot<P,E,MetadataReader.ForContainer<E>> implements jakarta.validation.metadata.CascadableDescriptor, jakarta.validation.metadata.ContainerDescriptor
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.apache.bval.jsr.descriptor.ElementD
ElementD.NonRoot<P extends ElementD<?,?>,E extends AnnotatedElement,R extends MetadataReader.ForElement<E,?>>
-
-
Field Summary
-
Fields inherited from class org.apache.bval.jsr.descriptor.ElementD.NonRoot
parent
-
Fields inherited from class org.apache.bval.jsr.descriptor.ElementD
genericType, groupsComputer
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
CascadableContainerD(MetadataReader.ForContainer<E> reader, P parent)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Set<jakarta.validation.metadata.ContainerElementTypeDescriptor>
getConstrainedContainerElementTypes()
Class<?>
getElementClass()
Set<jakarta.validation.metadata.GroupConversionDescriptor>
getGroupConversions()
boolean
isCascaded()
-
Methods inherited from class org.apache.bval.jsr.descriptor.ElementD.NonRoot
getBean, getGenericType, getGroupStrategy, getParent
-
Methods inherited from class org.apache.bval.jsr.descriptor.ElementD
findConstraints, getConstraintDescriptors, getDeclaringClass, getElementType, getTarget, hasConstraints, toString
-
-
-
-
Constructor Detail
-
CascadableContainerD
protected CascadableContainerD(MetadataReader.ForContainer<E> reader, P parent)
-
-
Method Detail
-
getElementClass
public Class<?> getElementClass()
- Specified by:
getElementClass
in interfacejakarta.validation.metadata.ElementDescriptor
-
isCascaded
public boolean isCascaded()
- Specified by:
isCascaded
in interfacejakarta.validation.metadata.CascadableDescriptor
-
getGroupConversions
public Set<jakarta.validation.metadata.GroupConversionDescriptor> getGroupConversions()
- Specified by:
getGroupConversions
in interfacejakarta.validation.metadata.CascadableDescriptor
-
getConstrainedContainerElementTypes
public Set<jakarta.validation.metadata.ContainerElementTypeDescriptor> getConstrainedContainerElementTypes()
- Specified by:
getConstrainedContainerElementTypes
in interfacejakarta.validation.metadata.ContainerDescriptor
-
-