public class ValidationConstraintGeneratorImpl extends Object implements ValidationConstraintGenerator
| Constructor and Description |
|---|
ValidationConstraintGeneratorImpl(List<ValidationConstraintGenerator> configuration) |
| Modifier and Type | Method and Description |
|---|---|
List<String> |
buildConstraints(Class propertyType,
AnnotationProvider annotationProvider)
For a given property, identify all the approprite validation constraints.
|
public ValidationConstraintGeneratorImpl(List<ValidationConstraintGenerator> configuration)
public List<String> buildConstraints(Class propertyType, AnnotationProvider annotationProvider)
ValidationConstraintGeneratorvalidate specification. These will ultimately be used to create FieldValidators for the field
that edits the property.buildConstraints in interface ValidationConstraintGeneratorpropertyType - the type of the property for which constraints are neededannotationProvider - provides access to any annotations concerning the property (for implementations that
are based on analysis of property annotations)FieldValidatorSource5.6.4 - Copyright © 2003-2021 The Apache Software Foundation.