| Constructor and Description |
|---|
ConceptValidator() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
supports(Class c)
Determines if the command object being submitted is a valid type
|
void |
validate(Object obj,
org.springframework.validation.Errors errors)
Checks that a given concept object is valid.
|
public boolean supports(Class c)
supports in interface org.springframework.validation.ValidatorValidator.supports(java.lang.Class)public void validate(Object obj, org.springframework.validation.Errors errors) throws APIException, DuplicateConceptNameException
validate in interface org.springframework.validation.ValidatorAPIExceptionDuplicateConceptNameExceptionValidator.validate(java.lang.Object,
org.springframework.validation.Errors)Copyright © 2018 OpenMRS LLC.. All Rights Reserved.