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, hasConstraints
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
findConstraints, getConstraintDescriptors, getElementClass, hasConstraints
public MethodDescriptorImpl(BeanMetaData<?> metaDataBean, AggregatedMethodMetaData methodMetaData)
public String getMethodName()
MethodDescriptor
getMethodName
in interface MethodDescriptor
public List<ParameterDescriptor> getParameterDescriptors()
MethodDescriptor
Returns 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 MethodDescriptor
public boolean isCascaded()
MethodDescriptor
Valid
annotation) either locally or in the inheritance hierarchy.isCascaded
in interface MethodDescriptor
True
, if this method's return value shall be
validated recursively, false
otherwise.Copyright © 2012 JBoss by Red Hat. All Rights Reserved.