public class ConstrainedParameter extends AbstractConstrainedElement
ConstrainedElement.ConstrainedElementKind| Constructor and Description |
|---|
ConstrainedParameter(ConfigurationSource source,
ExecutableConstraintLocation location,
String name,
Set<MetaConstraint<?>> constraints,
Map<Class<?>,Class<?>> groupConversions,
boolean isCascading)
Creates a new parameter meta data object.
|
| Modifier and Type | Method and Description |
|---|---|
ExecutableConstraintLocation |
getLocation()
Returns the location of this constrained element.
|
String |
getParameterName() |
String |
toString() |
equals, getConstraints, getGroupConversions, getKind, hashCode, isCascading, isConstrained, iteratorpublic ConstrainedParameter(ConfigurationSource source, ExecutableConstraintLocation location, String name, Set<MetaConstraint<?>> constraints, Map<Class<?>,Class<?>> groupConversions, boolean isCascading)
source - The source of meta data.location - The location of the represented method parameter.name - The name of the represented parameter.constraints - The constraints of the represented method parameter, if
any.groupConversions - The group conversions of the represented method parameter, if any.isCascading - Whether a cascaded validation of the represented method
parameter shall be performed or not.public ExecutableConstraintLocation getLocation()
ConstrainedElementgetLocation in interface ConstrainedElementgetLocation in class AbstractConstrainedElementpublic String getParameterName()
public String toString()
toString in class AbstractConstrainedElementCopyright © 2007-2012 Red Hat Middleware, LLC. All Rights Reserved