# Uses of Interface
org.apache.tapestry5.services.ValidationConstraintGenerator

Packages that use ValidationConstraintGenerator
Package
Description
org.apache.tapestry5.internal.beaneditor
[INTERNAL USE ONLY] support classes for the `BeanEditor` component; API subject to change
org.apache.tapestry5.internal.services
[INTERNAL USE ONLY] internal service classes; API subject to change
org.apache.tapestry5.modules
org.apache.tapestry5.test
Support for testing Tapestry pages

- ## Uses of ValidationConstraintGenerator in org.apache.tapestry5.internal.beaneditor

  Classes in org.apache.tapestry5.internal.beaneditor that implement ValidationConstraintGenerator
  Modifier and Type
  Class
  Description
  `class`
  `MessagesConstraintGenerator`
  Generates constraints from the containing component's property file.
  `class`
  `PrimitiveFieldConstraintGenerator`
  Adds a "required" constraint for any property of whose type is a primitive (not a wrapper or reference) type.
  `class`
  `ValidateAnnotationConstraintGenerator`
  Checks for the `Validate` annotation, and extracts its value to form the result.

- ## Uses of ValidationConstraintGenerator in org.apache.tapestry5.internal.services

  Classes in org.apache.tapestry5.internal.services that implement ValidationConstraintGenerator
  Modifier and Type
  Class
  Description
  `class`
  `ValidationConstraintGeneratorImpl`
  Constructors in org.apache.tapestry5.internal.services with parameters of type ValidationConstraintGenerator
  Modifier
  Constructor
  Description
  ``
  `FieldValidatorDefaultSourceImpl(ValidationConstraintGenerator validationConstraintGenerator, FieldValidatorSource fieldValidatorSource)`
  Constructor parameters in org.apache.tapestry5.internal.services with type arguments of type ValidationConstraintGenerator
  Modifier
  Constructor
  Description
  ``
  `ValidationConstraintGeneratorImpl(List<ValidationConstraintGenerator> configuration)`

- ## Uses of ValidationConstraintGenerator in org.apache.tapestry5.modules

  Method parameters in org.apache.tapestry5.modules with type arguments of type ValidationConstraintGenerator
  Modifier and Type
  Method
  Description
  `static void`
  TapestryModule.`contributeValidationConstraintGenerator(OrderedConfiguration<ValidationConstraintGenerator> configuration)`
  Adds built-in constraint generators: PrimtiveField -- primitive fields are always required ValidateAnnotation -- adds constraints from a `Validate` annotation

- ## Uses of ValidationConstraintGenerator in org.apache.tapestry5.test

  Methods in org.apache.tapestry5.test that return ValidationConstraintGenerator
  Modifier and Type
  Method
  Description
  `protected final ValidationConstraintGenerator`
  TapestryTestCase.`mockValidationConstraintGenerator()`
  Methods in org.apache.tapestry5.test with parameters of type ValidationConstraintGenerator
  Modifier and Type
  Method
  Description
  `protected final void`
  TapestryTestCase.`train_buildConstraints(ValidationConstraintGenerator generator, Class propertyType, AnnotationProvider provider, String... constraints)`