Package org.apache.bval.jsr.descriptor
Class BeanD<T>
- java.lang.Object
-
- org.apache.bval.jsr.descriptor.ElementD<Class<T>,MetadataReader.ForBean<T>>
-
- org.apache.bval.jsr.descriptor.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
-
-
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
genericType, groupsComputer
-
-
Constructor Summary
Constructors Constructor Description BeanD(MetadataReader.ForBean<T> reader)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected BeanD<T>
getBean()
Set<jakarta.validation.metadata.ConstructorDescriptor>
getConstrainedConstructors()
Set<jakarta.validation.metadata.MethodDescriptor>
getConstrainedMethods(jakarta.validation.metadata.MethodType methodType, jakarta.validation.metadata.MethodType... methodTypes)
Set<jakarta.validation.metadata.PropertyDescriptor>
getConstrainedProperties()
jakarta.validation.metadata.ConstructorDescriptor
getConstraintsForConstructor(Class<?>... parameterTypes)
jakarta.validation.metadata.MethodDescriptor
getConstraintsForMethod(String methodName, Class<?>... parameterTypes)
jakarta.validation.metadata.PropertyDescriptor
getConstraintsForProperty(String propertyName)
Class<?>
getElementClass()
Type
getGenericType()
GroupStrategy
getGroupStrategy()
jakarta.validation.metadata.PropertyDescriptor
getProperty(String propertyName)
boolean
isBeanConstrained()
-
Methods inherited from class org.apache.bval.jsr.descriptor.ElementD
findConstraints, getConstraintDescriptors, getDeclaringClass, getElementType, getTarget, hasConstraints, toString
-
-
-
-
Constructor Detail
-
BeanD
BeanD(MetadataReader.ForBean<T> reader)
-
-
Method Detail
-
getElementClass
public Class<?> getElementClass()
- Specified by:
getElementClass
in interfacejakarta.validation.metadata.ElementDescriptor
-
isBeanConstrained
public boolean isBeanConstrained()
- Specified by:
isBeanConstrained
in interfacejakarta.validation.metadata.BeanDescriptor
-
getConstraintsForProperty
public jakarta.validation.metadata.PropertyDescriptor getConstraintsForProperty(String propertyName)
- Specified by:
getConstraintsForProperty
in interfacejakarta.validation.metadata.BeanDescriptor
-
getConstrainedProperties
public Set<jakarta.validation.metadata.PropertyDescriptor> getConstrainedProperties()
- Specified by:
getConstrainedProperties
in interfacejakarta.validation.metadata.BeanDescriptor
-
getConstraintsForMethod
public jakarta.validation.metadata.MethodDescriptor getConstraintsForMethod(String methodName, Class<?>... parameterTypes)
- Specified by:
getConstraintsForMethod
in interfacejakarta.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 interfacejakarta.validation.metadata.BeanDescriptor
-
getConstraintsForConstructor
public jakarta.validation.metadata.ConstructorDescriptor getConstraintsForConstructor(Class<?>... parameterTypes)
- Specified by:
getConstraintsForConstructor
in interfacejakarta.validation.metadata.BeanDescriptor
-
getConstrainedConstructors
public Set<jakarta.validation.metadata.ConstructorDescriptor> getConstrainedConstructors()
- Specified by:
getConstrainedConstructors
in interfacejakarta.validation.metadata.BeanDescriptor
-
getProperty
public jakarta.validation.metadata.PropertyDescriptor getProperty(String propertyName)
-
getGroupStrategy
public GroupStrategy getGroupStrategy()
- Specified by:
getGroupStrategy
in classElementD<Class<T>,MetadataReader.ForBean<T>>
-
getGenericType
public final Type getGenericType()
- Specified by:
getGenericType
in classElementD<Class<T>,MetadataReader.ForBean<T>>
-
-