@Handler(supports=Visit.class, order=50) public class VisitValidator extends BaseCustomizableValidator implements org.springframework.validation.Validator
Visit
class.Constructor and Description |
---|
VisitValidator() |
Modifier and Type | Method and Description |
---|---|
boolean |
supports(java.lang.Class<?> clazz) |
void |
validate(java.lang.Object target,
org.springframework.validation.Errors errors) |
validateAttributes
public boolean supports(java.lang.Class<?> clazz)
supports
in interface org.springframework.validation.Validator
Validator.supports(java.lang.Class)
public void validate(java.lang.Object target, org.springframework.validation.Errors errors)
validate
in interface org.springframework.validation.Validator
Validator.validate(java.lang.Object,
org.springframework.validation.Errors)
Copyright © 2018 OpenMRS Inc.. All Rights Reserved.