public class ParameterDescriptorImpl extends ElementDescriptorImpl implements ParameterDescriptor
ElementDescriptor.ConstraintFinder| Constructor and Description |
|---|
ParameterDescriptorImpl(Type type,
int index,
String name,
Set<ConstraintDescriptorImpl<?>> constraints,
boolean isCascaded,
boolean defaultGroupSequenceRedefined,
List<Class<?>> defaultGroupSequence,
Set<GroupConversionDescriptor> groupConversions) |
| Modifier and Type | Method and Description |
|---|---|
Set<GroupConversionDescriptor> |
getGroupConversions()
Returns the group conversions configured for this element.
|
int |
getIndex()
Returns this parameter's index within the parameter array of the method
or constructor holding it.
|
String |
getName()
Returns this parameter's name as retrieved by the current parameter name
resolver.
|
boolean |
isCascaded()
Whether this element is marked for cascaded validation or not.
|
String |
toString() |
findConstraints, getConstraintDescriptors, getElementClass, hasConstraintsclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindConstraints, getConstraintDescriptors, getElementClass, hasConstraintsgetConstrainedContainerElementTypespublic ParameterDescriptorImpl(Type type, int index, String name, Set<ConstraintDescriptorImpl<?>> constraints, boolean isCascaded, boolean defaultGroupSequenceRedefined, List<Class<?>> defaultGroupSequence, Set<GroupConversionDescriptor> groupConversions)
public boolean isCascaded()
CascadableDescriptorisCascaded in interface CascadableDescriptortrue, if this element is marked for cascaded validation,
false otherwisepublic Set<GroupConversionDescriptor> getGroupConversions()
CascadableDescriptorgetGroupConversions in interface CascadableDescriptornullpublic int getIndex()
ParameterDescriptorgetIndex in interface ParameterDescriptorpublic String getName()
ParameterDescriptorgetName in interface ParameterDescriptorCopyright © 2018 JBoss by Red Hat. All rights reserved.