Class ComposedD<D extends ElementD<?,​?>>

  • 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
    • Field Detail

      • delegates

        protected final List<D extends ElementD<?,​?>> delegates
    • Constructor Detail

      • ComposedD

        ComposedD​(List<D> delegates)
    • 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 interface jakarta.validation.metadata.ElementDescriptor
      • getElementClass

        public Class<?> getElementClass()
        Specified by:
        getElementClass in interface jakarta.validation.metadata.ElementDescriptor
      • getConstraintDescriptors

        public Set<jakarta.validation.metadata.ConstraintDescriptor<?>> getConstraintDescriptors()
        Specified by:
        getConstraintDescriptors in interface jakarta.validation.metadata.ElementDescriptor
      • findConstraints

        public jakarta.validation.metadata.ElementDescriptor.ConstraintFinder findConstraints()
        Specified by:
        findConstraints in interface jakarta.validation.metadata.ElementDescriptor