public class ParameterDescriptorImpl extends ElementDescriptorImpl implements ParameterDescriptor
ElementDescriptor.ConstraintFinder| Constructor and Description |
|---|
ParameterDescriptorImpl(BeanMetaData<?> metaDataBean,
ParameterMetaData parameterMetaData) |
| Modifier and Type | Method and Description |
|---|---|
int |
getIndex()
Returns this parameter's index within the parameter array of the
method holding it.
|
boolean |
isCascaded()
Whether cascaded validation for this parameter shall be
performed or not.
|
addConstraintDescriptor, findConstraints, getConstraintDescriptors, getElementClass, getMetaDataBean, hasConstraintsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitfindConstraints, getConstraintDescriptors, getElementClass, hasConstraintspublic ParameterDescriptorImpl(BeanMetaData<?> metaDataBean, ParameterMetaData parameterMetaData)
public boolean isCascaded()
ParameterDescriptorValid annotation either locally or in the inheritance hierarchy.isCascaded in interface ParameterDescriptorTrue, if this parameter shall be
validated recursively, false otherwise.public int getIndex()
ParameterDescriptorgetIndex in interface ParameterDescriptorCopyright © 2012 JBoss by Red Hat. All Rights Reserved.