Class ElementDescriptorImpl
java.lang.Object
org.hibernate.validator.internal.metadata.descriptor.ElementDescriptorImpl
- All Implemented Interfaces:
ElementDescriptor
,Serializable
- Direct Known Subclasses:
BeanDescriptorImpl
,ClassDescriptorImpl
,ContainerElementTypeDescriptorImpl
,CrossParameterDescriptorImpl
,ExecutableDescriptorImpl
,ParameterDescriptorImpl
,PropertyDescriptorImpl
,ReturnValueDescriptorImpl
public abstract class ElementDescriptorImpl
extends Object
implements ElementDescriptor, Serializable
Describes a validated element (class, field or property).
- Author:
- Emmanuel Bernard, Hardy Ferentschik, Gunnar Morling
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface jakarta.validation.metadata.ElementDescriptor
ElementDescriptor.ConstraintFinder
-
Constructor Summary
ConstructorDescriptionElementDescriptorImpl
(Type type, Set<ConstraintDescriptorImpl<?>> constraintDescriptors, boolean defaultGroupSequenceRedefined, List<Class<?>> defaultGroupSequence) -
Method Summary
Modifier and TypeMethodDescriptionfinal Set<ConstraintDescriptor<?>>
final Class<?>
final boolean
-
Constructor Details
-
ElementDescriptorImpl
public ElementDescriptorImpl(Type type, Set<ConstraintDescriptorImpl<?>> constraintDescriptors, boolean defaultGroupSequenceRedefined, List<Class<?>> defaultGroupSequence)
-
-
Method Details
-
hasConstraints
public final boolean hasConstraints()- Specified by:
hasConstraints
in interfaceElementDescriptor
-
getElementClass
- Specified by:
getElementClass
in interfaceElementDescriptor
-
getConstraintDescriptors
- Specified by:
getConstraintDescriptors
in interfaceElementDescriptor
-
findConstraints
- Specified by:
findConstraints
in interfaceElementDescriptor
-