Search in sources :

Example 6 with DisplayStudySubjectBean

use of org.akaza.openclinica.bean.managestudy.DisplayStudySubjectBean in project OpenClinica by OpenClinica.

the class DisplayStudySubjectRow method getSearchString.

@Override
public String getSearchString() {
    DisplayStudySubjectBean thisStudy = (DisplayStudySubjectBean) bean;
    String searchString = thisStudy.getStudySubject().getLabel();
    String secondaryLabel = thisStudy.getStudySubject().getSecondaryLabel();
    if (!"".equalsIgnoreCase(secondaryLabel)) {
        searchString += " ";
        searchString += secondaryLabel;
    }
    return searchString;
}
Also used : DisplayStudySubjectBean(org.akaza.openclinica.bean.managestudy.DisplayStudySubjectBean)

Aggregations

DisplayStudySubjectBean (org.akaza.openclinica.bean.managestudy.DisplayStudySubjectBean)6 ArrayList (java.util.ArrayList)3 DisplayStudyEventBean (org.akaza.openclinica.bean.managestudy.DisplayStudyEventBean)3 StudyEventBean (org.akaza.openclinica.bean.managestudy.StudyEventBean)3 HashMap (java.util.HashMap)2 StudyBean (org.akaza.openclinica.bean.managestudy.StudyBean)2 StudyEventDefinitionBean (org.akaza.openclinica.bean.managestudy.StudyEventDefinitionBean)2 StudyGroupClassBean (org.akaza.openclinica.bean.managestudy.StudyGroupClassBean)2 StudySubjectBean (org.akaza.openclinica.bean.managestudy.StudySubjectBean)2 SubjectGroupMapBean (org.akaza.openclinica.bean.submit.SubjectGroupMapBean)2 FormProcessor (org.akaza.openclinica.control.form.FormProcessor)2 StudyDAO (org.akaza.openclinica.dao.managestudy.StudyDAO)2 StudyEventDAO (org.akaza.openclinica.dao.managestudy.StudyEventDAO)2 StudyEventDefinitionDAO (org.akaza.openclinica.dao.managestudy.StudyEventDefinitionDAO)2 StudyGroupClassDAO (org.akaza.openclinica.dao.managestudy.StudyGroupClassDAO)2 StudySubjectDAO (org.akaza.openclinica.dao.managestudy.StudySubjectDAO)2 SubjectGroupMapDAO (org.akaza.openclinica.dao.submit.SubjectGroupMapDAO)2 EntityBeanTable (org.akaza.openclinica.web.bean.EntityBeanTable)2 Iterator (java.util.Iterator)1 CRFBean (org.akaza.openclinica.bean.admin.CRFBean)1