Class BeanD<T>

  • All Implemented Interfaces:
    jakarta.validation.metadata.BeanDescriptor, jakarta.validation.metadata.ElementDescriptor

    public class BeanD<T>
    extends ElementD<Class<T>,​MetadataReader.ForBean<T>>
    implements jakarta.validation.metadata.BeanDescriptor
    • Method Detail

      • getElementClass

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

        public boolean isBeanConstrained()
        Specified by:
        isBeanConstrained in interface jakarta.validation.metadata.BeanDescriptor
      • getConstraintsForProperty

        public jakarta.validation.metadata.PropertyDescriptor getConstraintsForProperty​(String propertyName)
        Specified by:
        getConstraintsForProperty in interface jakarta.validation.metadata.BeanDescriptor
      • getConstrainedProperties

        public Set<jakarta.validation.metadata.PropertyDescriptor> getConstrainedProperties()
        Specified by:
        getConstrainedProperties in interface jakarta.validation.metadata.BeanDescriptor
      • getConstraintsForMethod

        public jakarta.validation.metadata.MethodDescriptor getConstraintsForMethod​(String methodName,
                                                                                    Class<?>... parameterTypes)
        Specified by:
        getConstraintsForMethod in interface jakarta.validation.metadata.BeanDescriptor
      • getConstrainedMethods

        public Set<jakarta.validation.metadata.MethodDescriptor> getConstrainedMethods​(jakarta.validation.metadata.MethodType methodType,
                                                                                       jakarta.validation.metadata.MethodType... methodTypes)
        Specified by:
        getConstrainedMethods in interface jakarta.validation.metadata.BeanDescriptor
      • getConstraintsForConstructor

        public jakarta.validation.metadata.ConstructorDescriptor getConstraintsForConstructor​(Class<?>... parameterTypes)
        Specified by:
        getConstraintsForConstructor in interface jakarta.validation.metadata.BeanDescriptor
      • getConstrainedConstructors

        public Set<jakarta.validation.metadata.ConstructorDescriptor> getConstrainedConstructors()
        Specified by:
        getConstrainedConstructors in interface jakarta.validation.metadata.BeanDescriptor
      • getProperty

        public jakarta.validation.metadata.PropertyDescriptor getProperty​(String propertyName)