public class ConceptReferenceTermWebValidator extends Object implements org.springframework.validation.Validator
ConceptReferenceTerm. It should be called aside from
ConceptReferenceTermValidator in the web layer to make sure conceptSource, conceptMapType
and termB are persisted in the DB.| Constructor and Description |
|---|
ConceptReferenceTermWebValidator() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
supports(Class<?> clazz) |
void |
validate(Object target,
org.springframework.validation.Errors errors) |
public boolean supports(Class<?> clazz)
supports in interface org.springframework.validation.Validatorpublic void validate(Object target, org.springframework.validation.Errors errors)
validate in interface org.springframework.validation.ValidatorCopyright © 2015 OpenMRS Inc.. All rights reserved.