public class ConstrainedField extends AbstractConstrainedElement
ConstrainedElement.ConstrainedElementKind
Constructor and Description |
---|
ConstrainedField(ConfigurationSource source,
BeanConstraintLocation location,
Set<MetaConstraint<?>> constraints,
boolean isCascading)
Creates a new field meta data object.
|
Modifier and Type | Method and Description |
---|---|
BeanConstraintLocation |
getLocation()
Returns the location of this constrained element.
|
equals, getConstraints, getKind, getSource, hashCode, isCascading, isConstrained, iterator, toString
public ConstrainedField(ConfigurationSource source, BeanConstraintLocation location, Set<MetaConstraint<?>> constraints, boolean isCascading)
source
- The source of meta data.location
- The location of the represented field.constraints
- The constraints of the represented field, if any.isCascading
- Whether a cascaded validation of the represented field shall
be performed or not.public BeanConstraintLocation getLocation()
ConstrainedElement
getLocation
in interface ConstrainedElement
getLocation
in class AbstractConstrainedElement
Copyright © 2007-2014 Red Hat Middleware, LLC. All Rights Reserved