package net.sourceforge.fenixedu.dataTransferObject.accounting.events; import java.io.Serializable; import net.sourceforge.fenixedu.domain.DomainReference; import net.sourceforge.fenixedu.domain.ExecutionSemester; import net.sourceforge.fenixedu.domain.ExecutionYear; import net.sourceforge.fenixedu.domain.StudentCurricularPlan; public class AccountingEventCreateBean implements Serializable { /** * */ private static final long serialVersionUID = 5068902775407522276L; private DomainReference studentCurricularPlan; private DomainReference executionYear; private DomainReference executionSemester; public AccountingEventCreateBean(final StudentCurricularPlan studentCurricularPlan) { setStudentCurricularPlan(studentCurricularPlan); } public StudentCurricularPlan getStudentCurricularPlan() { return (this.studentCurricularPlan != null) ? this.studentCurricularPlan.getObject() : null; } public void setStudentCurricularPlan(StudentCurricularPlan studentCurricularPlan) { this.studentCurricularPlan = (studentCurricularPlan != null) ? new DomainReference( studentCurricularPlan) : null; } public ExecutionYear getExecutionYear() { return (this.executionYear != null) ? this.executionYear.getObject() : null; } public void setExecutionYear(ExecutionYear executionYear) { this.executionYear = (executionYear != null) ? new DomainReference(executionYear) : null; } public ExecutionSemester getExecutionPeriod() { return (this.executionSemester != null) ? this.executionSemester.getObject() : null; } public void setExecutionPeriod(ExecutionSemester executionSemester) { this.executionSemester = (executionSemester != null) ? new DomainReference(executionSemester) : null; } }