Annotation Interface ValidationConfiguration
- Author:
- jfischer
-
Required Element Summary
Required ElementsModifier and TypeRequired ElementDescriptionThe fully qualified classname of the org.broadleafcommerce.openadmin.server.service.persistence.validation.PropertyValidator instance to use for validation -
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionOptional configuration items that can be used to setup the validator
-
Element Details
-
validationImplementation
String validationImplementationThe fully qualified classname of the org.broadleafcommerce.openadmin.server.service.persistence.validation.PropertyValidator instance to use for validation
If you need to do dependency injection, this can also correspond to a bean ID that implements the org.broadleafcommerce.openadmin.server.service.persistence.validation.PropertyValidator interface.
- Returns:
- the validator implementation. This implementation should be an instance of org.broadleafcommerce.openadmin.server.service.persistence.validation.PropertyValidator and could be either a bean name or fully-qualified class name
-
-
-
configurationItems
ConfigurationItem[] configurationItemsOptional configuration items that can be used to setup the validator
. Most validators should have at least a single configuration item withConfigurationItem.ERROR_MESSAGE
.- Returns:
- validator configuration attributes
- Default:
- {}
-