|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.openmrs.validator.RoleValidator
@Handler(supports=Role.class, order=50) public class RoleValidator
Validates attributes on the Role
object
Field Summary | |
---|---|
protected org.apache.commons.logging.Log |
log
Log for this class and subclasses |
Constructor Summary | |
---|---|
RoleValidator()
|
Method Summary | |
---|---|
boolean |
supports(java.lang.Class c)
Determines if the command object being submitted is a valid type |
void |
validate(java.lang.Object obj,
org.springframework.validation.Errors errors)
Checks the form object for any inconsistencies/errors |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected final org.apache.commons.logging.Log log
Constructor Detail |
---|
public RoleValidator()
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 |