@Handler(supports=Person.class, order=50) public class PersonValidator extends java.lang.Object implements org.springframework.validation.Validator
Constructor and Description |
---|
PersonValidator() |
Modifier and Type | Method and Description |
---|---|
boolean |
supports(java.lang.Class<?> clazz) |
void |
validate(java.lang.Object target,
org.springframework.validation.Errors errors) |
public boolean supports(java.lang.Class<?> clazz)
supports
in interface org.springframework.validation.Validator
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.