@Handler(supports=Obs.class, order=50) public class ObsValidator extends java.lang.Object implements org.springframework.validation.Validator
Obs
Modifier and Type | Field and Description |
---|---|
static int |
VALUE_TEXT_MAX_LENGTH |
Constructor and Description |
---|
ObsValidator() |
Modifier and Type | Method and Description |
---|---|
boolean |
supports(java.lang.Class c) |
void |
validate(java.lang.Object obj,
org.springframework.validation.Errors errors) |
public static final int VALUE_TEXT_MAX_LENGTH
public boolean supports(java.lang.Class c)
supports
in interface org.springframework.validation.Validator
Validator.supports(java.lang.Class)
public void validate(java.lang.Object obj, 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.