@Handler(supports=Attribute.class, order=50) public class BaseAttributeValidator extends Object implements org.springframework.validation.Validator
Constructor and Description |
---|
BaseAttributeValidator() |
Modifier and Type | Method and Description |
---|---|
boolean |
supports(Class<?> clazz) |
void |
validate(Object target,
org.springframework.validation.Errors errors) |
public boolean supports(Class<?> clazz)
supports
in interface org.springframework.validation.Validator
Validator.supports(java.lang.Class)
public void validate(Object target, org.springframework.validation.Errors errors)
validate
in interface org.springframework.validation.Validator
Validator.validate(java.lang.Object, org.springframework.validation.Errors)
Copyright © 2024 OpenMRS Inc.. All rights reserved.