|
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.openmrs.validator.PatientValidator
public class PatientValidator
This class validates a Patient object.
| Constructor Summary | |
|---|---|
PatientValidator()
|
|
| Method Summary | |
|---|---|
boolean |
supports(java.lang.Class c)
Returns whether or not this validator supports validating a given class. |
void |
validate(java.lang.Object obj,
org.springframework.validation.Errors errors)
Validates the given Patient. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PatientValidator()
| Method Detail |
|---|
public boolean supports(java.lang.Class c)
supports in interface org.springframework.validation.Validatorc - The class to check for support.Validator.supports(java.lang.Class)
public void validate(java.lang.Object obj,
org.springframework.validation.Errors errors)
validate in interface org.springframework.validation.Validatorobj - The patient to validate.errors - ErrorsValidator.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 | ||||||||