public class MethodDescriptorImpl extends InvocableElementDescriptor implements javax.validation.metadata.MethodDescriptor, ProcedureDescriptor
MethodDescriptor implementation.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, setReturnValueDescriptoraddGroupConversion, addGroupMapping, getConstraintDescriptors, getElementClass, getGroupConversions, getMetaBean, getMutableConstraintDescriptors, isCascaded, isValidated, mapGroup, setCascaded, setConstraintDescriptors, setValidatedclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitfindConstraints, getConstraintDescriptors, getCrossParameterDescriptor, getParameterDescriptors, getReturnValueDescriptoraddGroupMapping, getMetaBean, getParameterDescriptors, mapGroup, setCascadedprotected MethodDescriptorImpl(MetaBean metaBean, Validation[] validations, Method method)
public MethodDescriptorImpl(MetaBean bean, MetaMethod metaMethod)
public String getName()
getName in interface javax.validation.metadata.ExecutableDescriptorpublic boolean hasConstrainedParameters()
hasConstrainedParameters in interface javax.validation.metadata.ExecutableDescriptorhasConstrainedParameters in class InvocableElementDescriptorpublic boolean hasConstrainedReturnValue()
hasConstrainedReturnValue in interface javax.validation.metadata.ExecutableDescriptorhasConstrainedReturnValue in class InvocableElementDescriptorpublic boolean hasConstraints()
ElementDescriptorImplhasConstraints in interface javax.validation.metadata.ElementDescriptorhasConstraints in interface javax.validation.metadata.ExecutableDescriptorhasConstraints in class ElementDescriptorImplCopyright © 2010–2022 The Apache Software Foundation. All rights reserved.