/* * Created on May 19, 2006 */ package net.sourceforge.fenixedu.dataTransferObject.teacher.gradeSubmission; import java.util.Date; import net.sourceforge.fenixedu.dataTransferObject.DataTranferObject; import net.sourceforge.fenixedu.domain.Attends; import net.sourceforge.fenixedu.domain.DomainReference; import net.sourceforge.fenixedu.domain.curriculum.EnrolmentEvaluationType; public class MarkSheetTeacherMarkBean extends DataTranferObject { private DomainReference attends; private EnrolmentEvaluationType enrolmentEvaluationType; private Date evaluationDate; private String gradeValue; private boolean toSubmitMark; public MarkSheetTeacherMarkBean() { } public MarkSheetTeacherMarkBean(Attends attends, Date evaluationDate, String grade, EnrolmentEvaluationType enrolmentEvaluationType, boolean sendMark) { setAttends(attends); setEvaluationDate(evaluationDate); setGradeValue(grade); setEnrolmentEvaluationType(enrolmentEvaluationType); setToSubmitMark(sendMark); } public Attends getAttends() { return (this.attends != null) ? this.attends.getObject() : null; } public void setAttends(Attends attends) { this.attends = (attends != null) ? new DomainReference(attends) : null; } public boolean isToSubmitMark() { return toSubmitMark; } public void setToSubmitMark(boolean markToSubmit) { this.toSubmitMark = markToSubmit; } public String getGradeValue() { return gradeValue; } public void setGradeValue(String grade) { this.gradeValue = grade; } public Date getEvaluationDate() { return evaluationDate; } public void setEvaluationDate(Date evaluationDate) { this.evaluationDate = evaluationDate; } public EnrolmentEvaluationType getEnrolmentEvaluationType() { return enrolmentEvaluationType; } public void setEnrolmentEvaluationType(EnrolmentEvaluationType enrolmentEvaluationType) { this.enrolmentEvaluationType = enrolmentEvaluationType; } }