public class RequireNameValidator extends Object implements org.springframework.validation.Validator
Constructor and Description |
---|
RequireNameValidator() |
Modifier and Type | Method and Description |
---|---|
boolean |
supports(Class clz) |
void |
validate(Object o,
org.springframework.validation.Errors errors) |
public boolean supports(Class clz)
supports
in interface org.springframework.validation.Validator
Validator.supports(java.lang.Class)
public void validate(Object o, org.springframework.validation.Errors errors)
validate
in interface org.springframework.validation.Validator
Validator.validate(java.lang.Object,
org.springframework.validation.Errors)
Copyright © 2018 OpenMRS LLC.. All Rights Reserved.