package net.sourceforge.fenixedu.dataTransferObject.degreeAdministrativeOffice.gradeSubmission; import java.util.ArrayList; import java.util.Collection; import java.util.Date; import java.util.HashSet; import net.sourceforge.fenixedu.domain.MarkSheetType; public class MarkSheetManagementCreateBean extends MarkSheetManagementBaseBean { private Integer teacherNumber; private Date evaluationDate; private MarkSheetType markSheetType; private Collection enrolmentEvaluationBeans = new HashSet(); private Collection impossibleEnrolmentEvaluationBeans = new HashSet(); public MarkSheetType getMarkSheetType() { return markSheetType; } public void setMarkSheetType(MarkSheetType markSheetType) { this.markSheetType = markSheetType; } public Date getEvaluationDate() { return evaluationDate; } public void setEvaluationDate(Date evaluationDate) { this.evaluationDate = evaluationDate; } public Integer getTeacherNumber() { return teacherNumber; } public void setTeacherNumber(Integer teacherNumber) { this.teacherNumber = teacherNumber; } public Collection getEnrolmentEvaluationBeans() { return enrolmentEvaluationBeans; } public void setEnrolmentEvaluationBeans(Collection enrolmentEvaluationBeans) { this.enrolmentEvaluationBeans = enrolmentEvaluationBeans; } public Collection getImpossibleEnrolmentEvaluationBeans() { return impossibleEnrolmentEvaluationBeans; } public void setImpossibleEnrolmentEvaluationBeans( Collection impossibleEnrolmentEvaluationBeans) { this.impossibleEnrolmentEvaluationBeans = impossibleEnrolmentEvaluationBeans; } public Collection getAllEnrolmentEvalutionBeans() { final Collection result = new ArrayList(); result.addAll(getEnrolmentEvaluationBeans()); result.addAll(getImpossibleEnrolmentEvaluationBeans()); return result; } }