public class ValidationConstraintGeneratorImpl extends java.lang.Object implements ValidationConstraintGenerator
| Constructor and Description |
|---|
ValidationConstraintGeneratorImpl(java.util.List<ValidationConstraintGenerator> configuration) |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<java.lang.String> |
buildConstraints(java.lang.Class propertyType,
AnnotationProvider annotationProvider)
For a given property, identify all the approprite validation constraints.
|
public ValidationConstraintGeneratorImpl(java.util.List<ValidationConstraintGenerator> configuration)
public java.util.List<java.lang.String> buildConstraints(java.lang.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)FieldValidatorSource${project.version} - Copyright © 2003-2015 The Apache Software Foundation.