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, hasConstraints
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
findConstraints, getConstraintDescriptors, getElementClass, hasConstraints
public ParameterDescriptorImpl(BeanMetaData<?> metaDataBean, ParameterMetaData parameterMetaData)
public boolean isCascaded()
ParameterDescriptor
Valid
annotation either locally or in the inheritance hierarchy.isCascaded
in interface ParameterDescriptor
True
, if this parameter shall be
validated recursively, false
otherwise.public int getIndex()
ParameterDescriptor
getIndex
in interface ParameterDescriptor
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.