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
ConstructorsConstructorDescriptionElementDescriptorImpl(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:
hasConstraintsin interfaceElementDescriptor
-
getElementClass
- Specified by:
getElementClassin interfaceElementDescriptor
-
getConstraintDescriptors
- Specified by:
getConstraintDescriptorsin interfaceElementDescriptor
-
findConstraints
- Specified by:
findConstraintsin interfaceElementDescriptor
-