public class MethodDescriptorImpl extends ElementDescriptorImpl implements MethodDescriptor
ElementDescriptor.ConstraintFinder| Constructor and Description |
|---|
MethodDescriptorImpl(BeanMetaData<?> metaDataBean,
AggregatedMethodMetaData methodMetaData) |
| Modifier and Type | Method and Description |
|---|---|
String |
getMethodName()
Returns the name of the method represented by this descriptor.
|
List<ParameterDescriptor> |
getParameterDescriptors()
Returns a list with descriptors for this method's parameters.
|
boolean |
isCascaded()
Whether a cascaded validation for this method's return value shall be
performed or not.
|
addConstraintDescriptor, findConstraints, getConstraintDescriptors, getElementClass, getMetaDataBean, hasConstraintsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitfindConstraints, getConstraintDescriptors, getElementClass, hasConstraintspublic MethodDescriptorImpl(BeanMetaData<?> metaDataBean, AggregatedMethodMetaData methodMetaData)
public String getMethodName()
MethodDescriptorgetMethodName in interface MethodDescriptorpublic List<ParameterDescriptor> getParameterDescriptors()
MethodDescriptorReturns a list with descriptors for this method's parameters.
The size of this list corresponds with the number of this method's parameters.
getParameterDescriptors in interface MethodDescriptorpublic boolean isCascaded()
MethodDescriptorValid
annotation) either locally or in the inheritance hierarchy.isCascaded in interface MethodDescriptorTrue, if this method's return value shall be
validated recursively, false otherwise.Copyright © 2012 JBoss by Red Hat. All Rights Reserved.