@Handler(supports=LocationTag.class, order=50) public class LocationTagValidator extends Object implements org.springframework.validation.Validator
LocationTag
objectsConstructor and Description |
---|
LocationTagValidator() |
Modifier and Type | Method and Description |
---|---|
boolean |
supports(Class<?> c) |
void |
validate(Object target,
org.springframework.validation.Errors errors) |
public boolean supports(Class<?> c)
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
Should pass validation if field lengths are correct
Should fail validation if field lengths are not correct
Copyright © 2024 OpenMRS Inc.. All rights reserved.