|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.openmrs.validator.RequireNameValidator
public class RequireNameValidator
Validates objects and requires that "name" be filled in. Used by other validators so that they don't have to check the name every time.
Constructor Summary | |
---|---|
RequireNameValidator()
|
Method Summary | |
---|---|
boolean |
supports(java.lang.Class clz)
|
void |
validate(java.lang.Object o,
org.springframework.validation.Errors errors)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RequireNameValidator()
Method Detail |
---|
public boolean supports(java.lang.Class clz)
supports
in interface org.springframework.validation.Validator
Validator.supports(java.lang.Class)
public void validate(java.lang.Object o, 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 |