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