Package org.apache.bval.jsr.descriptor
Class ParameterD<P extends ExecutableD<?,?,P>>
- java.lang.Object
-
- org.apache.bval.jsr.descriptor.ElementD<E,R>
-
- org.apache.bval.jsr.descriptor.ElementD.NonRoot<P,E,MetadataReader.ForContainer<E>>
-
- org.apache.bval.jsr.descriptor.CascadableContainerD<P,Parameter>
-
- org.apache.bval.jsr.descriptor.ParameterD<P>
-
- All Implemented Interfaces:
jakarta.validation.metadata.CascadableDescriptor
,jakarta.validation.metadata.ContainerDescriptor
,jakarta.validation.metadata.ElementDescriptor
,jakarta.validation.metadata.ParameterDescriptor
public class ParameterD<P extends ExecutableD<?,?,P>> extends CascadableContainerD<P,Parameter> implements jakarta.validation.metadata.ParameterDescriptor
-
-
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.NonRoot
parent
-
Fields inherited from class org.apache.bval.jsr.descriptor.ElementD
genericType, groupsComputer
-
-
Constructor Summary
Constructors Constructor Description ParameterD(Meta.ForParameter meta, int index, MetadataReader.ForContainer<Parameter> reader, P parent)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Class<?>
getElementClass()
int
getIndex()
String
getName()
-
Methods inherited from class org.apache.bval.jsr.descriptor.CascadableContainerD
getConstrainedContainerElementTypes, getGroupConversions, isCascaded
-
Methods inherited from class org.apache.bval.jsr.descriptor.ElementD.NonRoot
getBean, getGenericType, getGroupStrategy, getParent
-
Methods inherited from class org.apache.bval.jsr.descriptor.ElementD
findConstraints, getConstraintDescriptors, getDeclaringClass, getElementType, getTarget, hasConstraints, toString
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface jakarta.validation.metadata.CascadableDescriptor
getGroupConversions, isCascaded
-
-
-
-
Constructor Detail
-
ParameterD
ParameterD(Meta.ForParameter meta, int index, MetadataReader.ForContainer<Parameter> reader, P parent)
-
-
Method Detail
-
getElementClass
public Class<?> getElementClass()
- Specified by:
getElementClass
in interfacejakarta.validation.metadata.ElementDescriptor
- Overrides:
getElementClass
in classCascadableContainerD<P extends ExecutableD<?,?,P>,Parameter>
-
getIndex
public int getIndex()
- Specified by:
getIndex
in interfacejakarta.validation.metadata.ParameterDescriptor
-
getName
public String getName()
- Specified by:
getName
in interfacejakarta.validation.metadata.ParameterDescriptor
-
-