public class ConstrainedField extends AbstractConstrainedElement
ConstrainedElement.ConstrainedElementKind| Constructor and Description |
|---|
ConstrainedField(ConfigurationSource source,
BeanConstraintLocation location,
Set<MetaConstraint<?>> constraints,
Map<Class<?>,Class<?>> groupConversions,
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, getGroupConversions, getKind, hashCode, isCascading, isConstrained, iterator, toStringpublic ConstrainedField(ConfigurationSource source, BeanConstraintLocation location, Set<MetaConstraint<?>> constraints, Map<Class<?>,Class<?>> groupConversions, boolean isCascading)
source - The source of meta data.location - The location of the represented field.constraints - The constraints of the represented field, if any.groupConversions - The group conversions of the represented field, if any.isCascading - Whether a cascaded validation of the represented field shall
be performed or not.public BeanConstraintLocation getLocation()
ConstrainedElementgetLocation in interface ConstrainedElementgetLocation in class AbstractConstrainedElementCopyright © 2007-2012 Red Hat Middleware, LLC. All Rights Reserved