public class ConstrainedField extends AbstractConstrainedElement
ConstrainedElement.ConstrainedElementKind
constraints, groupConversions, isCascading, location, source
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, toString
public 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()
ConstrainedElement
getLocation
in interface ConstrainedElement
getLocation
in class AbstractConstrainedElement
Copyright © 2007-2013 Red Hat, Inc. All Rights Reserved