Package org.apache.bval.jsr.descriptor
Class ExecutableD<E extends Executable,R extends MetadataReader.ForExecutable<E,R>,SELF extends ExecutableD<E,R,SELF>>
- java.lang.Object
-
- org.apache.bval.jsr.descriptor.ElementD<E,R>
-
- org.apache.bval.jsr.descriptor.ElementD.NonRoot<BeanD<?>,E,R>
-
- org.apache.bval.jsr.descriptor.ExecutableD<E,R,SELF>
-
- All Implemented Interfaces:
jakarta.validation.metadata.ElementDescriptor
,jakarta.validation.metadata.ExecutableDescriptor
- Direct Known Subclasses:
ConstructorD
,MethodD
public abstract class ExecutableD<E extends Executable,R extends MetadataReader.ForExecutable<E,R>,SELF extends ExecutableD<E,R,SELF>> extends ElementD.NonRoot<BeanD<?>,E,R> implements jakarta.validation.metadata.ExecutableDescriptor
-
-
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 Modifier Constructor Description protected
ExecutableD(R reader, BeanD<?> parent)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description jakarta.validation.metadata.CrossParameterDescriptor
getCrossParameterDescriptor()
String
getName()
List<jakarta.validation.metadata.ParameterDescriptor>
getParameterDescriptors()
jakarta.validation.metadata.ReturnValueDescriptor
getReturnValueDescriptor()
boolean
hasConstrainedParameters()
boolean
hasConstrainedReturnValue()
-
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
-
-
-
-
Method Detail
-
getName
public final String getName()
- Specified by:
getName
in interfacejakarta.validation.metadata.ExecutableDescriptor
-
getParameterDescriptors
public final List<jakarta.validation.metadata.ParameterDescriptor> getParameterDescriptors()
- Specified by:
getParameterDescriptors
in interfacejakarta.validation.metadata.ExecutableDescriptor
-
getCrossParameterDescriptor
public final jakarta.validation.metadata.CrossParameterDescriptor getCrossParameterDescriptor()
- Specified by:
getCrossParameterDescriptor
in interfacejakarta.validation.metadata.ExecutableDescriptor
-
getReturnValueDescriptor
public final jakarta.validation.metadata.ReturnValueDescriptor getReturnValueDescriptor()
- Specified by:
getReturnValueDescriptor
in interfacejakarta.validation.metadata.ExecutableDescriptor
-
hasConstrainedParameters
public final boolean hasConstrainedParameters()
- Specified by:
hasConstrainedParameters
in interfacejakarta.validation.metadata.ExecutableDescriptor
-
hasConstrainedReturnValue
public final boolean hasConstrainedReturnValue()
- Specified by:
hasConstrainedReturnValue
in interfacejakarta.validation.metadata.ExecutableDescriptor
-
-