public class StudyValidator extends Object implements org.springframework.validation.Validator
StudyValidator class.
Constructor and Description |
---|
StudyValidator()
Constructor for StudyValidator.
|
Modifier and Type | Method and Description |
---|---|
StudyService |
getStudyService()
Getter for the field
studyService . |
void |
setStudyService(StudyService studyService)
Setter for the field
studyService . |
boolean |
supports(Class clazz) |
void |
validate(Object obj,
org.springframework.validation.Errors errors)
Validates the specified Object.
|
void |
validateTitle(Study study,
org.springframework.validation.Errors errors)
Determines if the experiment's email address and confirm email address match.
|
public boolean supports(Class clazz)
supports
in interface org.springframework.validation.Validator
clazz
- public void validate(Object obj, org.springframework.validation.Errors errors)
validate
in interface org.springframework.validation.Validator
obj
- errors
- public void validateTitle(Study study, org.springframework.validation.Errors errors)
errors
- Errors object for validation errorsstudy
- a Study
object.public StudyService getStudyService()
Getter for the field studyService
.
StudyService
object.public void setStudyService(StudyService studyService)
Setter for the field studyService
.
studyService
- a StudyService
object.Copyright © 2015 SeqWare. All rights reserved.