Package org.apache.bval.jsr.descriptor
Class ComposedD<D extends ElementD<?,?>>
- java.lang.Object
-
- org.apache.bval.jsr.descriptor.ComposedD<D>
-
- All Implemented Interfaces:
jakarta.validation.metadata.ElementDescriptor
- Direct Known Subclasses:
ComposedD.ForCascadableContainer
public abstract class ComposedD<D extends ElementD<?,?>> extends Object implements jakarta.validation.metadata.ElementDescriptor
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description (package private) static class
ComposedD.ForCascadableContainer<D extends CascadableContainerD<?,?>>
(package private) static class
ComposedD.ForProperty
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description jakarta.validation.metadata.ElementDescriptor.ConstraintFinder
findConstraints()
Set<jakarta.validation.metadata.ConstraintDescriptor<?>>
getConstraintDescriptors()
Class<?>
getElementClass()
boolean
hasConstraints()
static <T extends ElementD<?,?>>
Stream<T>unwrap(jakarta.validation.metadata.ElementDescriptor descriptor, Class<T> delegateType)
-
-
-
Method Detail
-
unwrap
public static <T extends ElementD<?,?>> Stream<T> unwrap(jakarta.validation.metadata.ElementDescriptor descriptor, Class<T> delegateType)
-
hasConstraints
public boolean hasConstraints()
- Specified by:
hasConstraints
in interfacejakarta.validation.metadata.ElementDescriptor
-
getElementClass
public Class<?> getElementClass()
- Specified by:
getElementClass
in interfacejakarta.validation.metadata.ElementDescriptor
-
getConstraintDescriptors
public Set<jakarta.validation.metadata.ConstraintDescriptor<?>> getConstraintDescriptors()
- Specified by:
getConstraintDescriptors
in interfacejakarta.validation.metadata.ElementDescriptor
-
findConstraints
public jakarta.validation.metadata.ElementDescriptor.ConstraintFinder findConstraints()
- Specified by:
findConstraints
in interfacejakarta.validation.metadata.ElementDescriptor
-
-