| Modifier and Type | Field and Description |
|---|---|
| private final Map | |
| private final Map | |
| private final Map |
| Access | Constructor and Description |
|---|---|
| public | BeanDescriptorImpl(Type beanClass, Set<ConstraintDescriptorImpl<?>> classLevelConstraints, Map<String, PropertyDescriptor> constrainedProperties, Map<Signature, ExecutableDescriptorImpl> constrainedMethods, Map<Signature, ConstructorDescriptor> constrainedConstructors, boolean defaultGroupSequenceRedefined, List<Class<?>> defaultGroupSequence)
|
| Modifier and Type | Method and Description |
|---|---|
| public Set | getConstrainedConstructors()
Implements jakarta. |
| public Set | getConstrainedMethods(MethodType
method type to consider methodType, MethodType... remaining optional method types to consider methodTypes)Implements jakarta. |
| public final Set | getConstrainedProperties()
Implements jakarta. Valid).
|
| public ConstructorDescriptor | getConstraintsForConstructor(Class<?>...
the parameter types of the constructor parameterTypes)Implements jakarta. |
| public MethodDescriptor | getConstraintsForMethod(String
the name of the method methodName, Class<?>... the parameter types of the method parameterTypes)Implements jakarta. |
| public final PropertyDescriptor | getConstraintsForProperty(String
property evaluated propertyName)Implements jakarta. |
| public final boolean | isBeanConstrained()
Implements jakarta. true if the bean involves validation:
|
| public String |
| constrainedConstructors | back to summary |
|---|---|
| private final Map<Signature, ConstructorDescriptor> constrainedConstructors
| |
| constrainedMethods | back to summary |
|---|---|
| private final Map<Signature, ExecutableDescriptorImpl> constrainedMethods
| |
| constrainedProperties | back to summary |
|---|---|
| private final Map<String, PropertyDescriptor> constrainedProperties
| |
| BeanDescriptorImpl | back to summary |
|---|---|
| public BeanDescriptorImpl(Type beanClass, Set<ConstraintDescriptorImpl<?>> classLevelConstraints, Map<String, PropertyDescriptor> constrainedProperties, Map<Signature, ExecutableDescriptorImpl> constrainedMethods, Map<Signature, ConstructorDescriptor> constrainedConstructors, boolean defaultGroupSequenceRedefined, List<Class<?>> defaultGroupSequence) | |
| getConstrainedConstructors | back to summary |
|---|---|
| public Set Implements jakarta. Doc from jakarta. Returns a set with descriptors for the constrained constructors of the bean represented by this descriptor. Constrained constructors have at least one parameter or return value constraint or at least one parameter or return value marked for cascaded validation.
| |
| getConstrainedMethods | back to summary |
|---|---|
| public Set Implements jakarta. Doc from jakarta. Returns a set with descriptors for the constrained methods of the bean represented by this descriptor. Constrained methods have at least one parameter or return value constraint or at least one parameter or return value marked for cascaded validation. Methods of super types are considered. Only methods matching the given method type(s) are considered.
| |
| getConstrainedProperties | back to summary |
|---|---|
| public final Set Implements jakarta. Doc from jakarta. Returns a set of property descriptors having at least one constraint defined
or marked as cascaded ( If no property matches, an empty set is returned. Properties of super types are considered.
| |
| getConstraintsForConstructor | back to summary |
|---|---|
| public ConstructorDescriptor getConstraintsForConstructor(Class<?>... parameterTypes) Implements jakarta. Doc from jakarta. Returns a constructor descriptor for the given constructor.
Returns
| |
| getConstraintsForMethod | back to summary |
|---|---|
| public MethodDescriptor getConstraintsForMethod(String methodName, Class<?>... parameterTypes) Implements jakarta. Doc from jakarta. Returns a method descriptor for the given method.
Returns
| |
| getConstraintsForProperty | back to summary |
|---|---|
| public final PropertyDescriptor getConstraintsForProperty(String propertyName) Implements jakarta. Doc from jakarta. Returns the property descriptor for a given property.
Returns
| |
| isBeanConstrained | back to summary |
|---|---|
| public final boolean isBeanConstrained() Implements jakarta. Doc from jakarta. Returns
Constrained methods and constructors are ignored.
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object. | |