public class ConstrainedField extends AbstractConstrainedElement
ConstrainedElement.ConstrainedElementKindconstraints, 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, toStringpublic 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 AbstractConstrainedElementpublic boolean equals(Object obj)
equals in class AbstractConstrainedElementCopyright © 2009-2016 Oracle Corporation. All Rights Reserved.