public class MethodDescriptorImpl extends InvocableElementDescriptor implements MethodDescriptor, ProcedureDescriptor
MethodDescriptor
implementation.ElementDescriptor.ConstraintFinder
elementClass, metaBean
Modifier | Constructor and Description |
---|---|
|
MethodDescriptorImpl(MetaBean bean,
MetaMethod metaMethod) |
protected |
MethodDescriptorImpl(MetaBean metaBean,
Validation[] validations,
Method method) |
Modifier and Type | Method and Description |
---|---|
String |
getName() |
boolean |
hasConstrainedParameters() |
boolean |
hasConstrainedReturnValue() |
boolean |
hasConstraints()
return true if at least one constraint declaration is
present on the element.
|
findConstraints, getConstraintDescriptors, getCrossParameterDescriptor, getParameterDescriptors, getReturnValueDescriptor, setCrossParameterDescriptor, setReturnValueDescriptor
addGroupConversion, addGroupMapping, getConstraintDescriptors, getElementClass, getGroupConversions, getMetaBean, getMutableConstraintDescriptors, isCascaded, isValidated, mapGroup, setCascaded, setConstraintDescriptors, setValidated
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
findConstraints, getConstraintDescriptors, getCrossParameterDescriptor, getParameterDescriptors, getReturnValueDescriptor
getElementClass
addGroupMapping, getMetaBean, getParameterDescriptors, mapGroup, setCascaded
protected MethodDescriptorImpl(MetaBean metaBean, Validation[] validations, Method method)
public MethodDescriptorImpl(MetaBean bean, MetaMethod metaMethod)
public String getName()
getName
in interface ExecutableDescriptor
public boolean hasConstrainedParameters()
hasConstrainedParameters
in interface ExecutableDescriptor
hasConstrainedParameters
in class InvocableElementDescriptor
public boolean hasConstrainedReturnValue()
hasConstrainedReturnValue
in interface ExecutableDescriptor
hasConstrainedReturnValue
in class InvocableElementDescriptor
public boolean hasConstraints()
ElementDescriptorImpl
hasConstraints
in interface ElementDescriptor
hasConstraints
in interface ExecutableDescriptor
hasConstraints
in class ElementDescriptorImpl
Copyright © 2010–2024 The Apache Software Foundation. All rights reserved.