|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.openmrs.validator.ObsValidator
@Handler(supports=Obs.class, order=50) public class ObsValidator
Validator for the Obs class. This class checks for anything set on the Obs object that will cause errors or is incorrect. Things checked are similar to:
Obs
Field Summary | |
---|---|
static int |
VALUE_TEXT_MAX_LENGTH
|
Constructor Summary | |
---|---|
ObsValidator()
|
Method Summary | |
---|---|
boolean |
supports(java.lang.Class c)
|
void |
validate(java.lang.Object obj,
org.springframework.validation.Errors errors)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int VALUE_TEXT_MAX_LENGTH
Constructor Detail |
---|
public ObsValidator()
Method Detail |
---|
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)
|
OpenMRS-1.7.x | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |