Class ParameterDescriptorImpl
java.lang.Object
org.hibernate.validator.internal.metadata.descriptor.ElementDescriptorImpl
org.hibernate.validator.internal.metadata.descriptor.ParameterDescriptorImpl
- All Implemented Interfaces:
CascadableDescriptor
,ContainerDescriptor
,ElementDescriptor
,ParameterDescriptor
,Serializable
Describes a validated method parameter.
- Author:
- Gunnar Morling, Hardy Ferentschik, Guillaume Smet
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface jakarta.validation.metadata.ElementDescriptor
ElementDescriptor.ConstraintFinder
-
Constructor Summary
ConstructorDescriptionParameterDescriptorImpl
(Type type, int index, String name, Set<ConstraintDescriptorImpl<?>> constraints, Set<ContainerElementTypeDescriptor> constrainedContainerElementTypes, boolean isCascaded, boolean defaultGroupSequenceRedefined, List<Class<?>> defaultGroupSequence, Set<GroupConversionDescriptor> groupConversions) -
Method Summary
Methods inherited from class org.hibernate.validator.internal.metadata.descriptor.ElementDescriptorImpl
findConstraints, getConstraintDescriptors, getElementClass, hasConstraints
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface jakarta.validation.metadata.ElementDescriptor
findConstraints, getConstraintDescriptors, getElementClass, hasConstraints
-
Constructor Details
-
ParameterDescriptorImpl
public ParameterDescriptorImpl(Type type, int index, String name, Set<ConstraintDescriptorImpl<?>> constraints, Set<ContainerElementTypeDescriptor> constrainedContainerElementTypes, boolean isCascaded, boolean defaultGroupSequenceRedefined, List<Class<?>> defaultGroupSequence, Set<GroupConversionDescriptor> groupConversions)
-
-
Method Details
-
getIndex
public int getIndex()- Specified by:
getIndex
in interfaceParameterDescriptor
-
getConstrainedContainerElementTypes
- Specified by:
getConstrainedContainerElementTypes
in interfaceContainerDescriptor
-
getName
- Specified by:
getName
in interfaceParameterDescriptor
-
isCascaded
public boolean isCascaded()- Specified by:
isCascaded
in interfaceCascadableDescriptor
-
getGroupConversions
- Specified by:
getGroupConversions
in interfaceCascadableDescriptor
-
toString
-