package net.sourceforge.fenixedu.domain.student; import java.io.Serializable; import java.util.List; import net.sourceforge.fenixedu.domain.CurricularCourse; import net.sourceforge.fenixedu.domain.CurricularYear; import net.sourceforge.fenixedu.domain.Degree; import net.sourceforge.fenixedu.domain.Department; import net.sourceforge.fenixedu.domain.DomainReference; import net.sourceforge.fenixedu.domain.ExecutionYear; import net.sourceforge.fenixedu.domain.SchoolClass; import net.sourceforge.fenixedu.presentationTier.Action.commons.renderers.CurricularCourseBean; import net.sourceforge.fenixedu.presentationTier.Action.commons.renderers.DegreeBean; import net.sourceforge.fenixedu.presentationTier.Action.commons.renderers.DepartmentsBean; import net.sourceforge.fenixedu.presentationTier.Action.commons.renderers.ExecutionYearBean; public class SearchStudentsWithEnrolmentsByParameters implements Serializable, ExecutionYearBean, DegreeBean, CurricularCourseBean, DepartmentsBean { private List departments; private DomainReference executionYear; private DomainReference degree; private DomainReference schoolClass; private DomainReference curricularCourse; private DomainReference curricularYear; public SearchStudentsWithEnrolmentsByParameters(final List departments) { this.departments = departments; } public List getDepartments() { return departments; } public ExecutionYear getExecutionYear() { return (executionYear == null) ? null : this.executionYear.getObject(); } public void setExecutionYear(ExecutionYear executionYear) { this.executionYear = (executionYear != null) ? new DomainReference(executionYear) : null; } public Degree getDegree() { return degree == null ? null : degree.getObject(); } public void setDegree(Degree degree) { this.degree = degree == null ? null : new DomainReference(degree); } public SchoolClass getSchoolClass() { return schoolClass == null ? null : schoolClass.getObject(); } public void setSchoolClass(SchoolClass schoolClass) { this.schoolClass = schoolClass == null ? null : new DomainReference(schoolClass); } public CurricularCourse getCurricularCourse() { return curricularCourse == null ? null : curricularCourse.getObject(); } public void setCurricularCourse(CurricularCourse curricularCourse) { this.curricularCourse = curricularCourse == null ? null : new DomainReference(curricularCourse); } public CurricularYear getCurricularYear() { return curricularYear == null ? null : curricularYear.getObject(); } public void setCurricularYear(CurricularYear curricularYear) { this.curricularYear = curricularYear == null ? null : new DomainReference(curricularYear); } }