public class ConstrainedField extends AbstractConstrainedElement
ConstrainedElement.ConstrainedElementKind
constraints, groupConversions, isCascading, location, requiresUnwrapping, source
Constructor and Description |
---|
ConstrainedField(ConfigurationSource source,
ConstraintLocation location,
Set<MetaConstraint<?>> constraints,
Map<Class<?>,Class<?>> groupConversions,
boolean isCascading,
boolean requiresUnwrapping)
Creates a new field meta data object.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
int |
hashCode() |
getConstraints, getGroupConversions, getKind, getLocation, isCascading, isConstrained, iterator, requiresUnwrapping, toString
public ConstrainedField(ConfigurationSource source, ConstraintLocation location, Set<MetaConstraint<?>> constraints, Map<Class<?>,Class<?>> groupConversions, boolean isCascading, boolean requiresUnwrapping)
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.requiresUnwrapping
- Whether the value of the field must be unwrapped prior to validation or notpublic int hashCode()
hashCode
in class AbstractConstrainedElement
public boolean equals(Object obj)
equals
in class AbstractConstrainedElement
Copyright © 2007-2014 Red Hat, Inc. All Rights Reserved