package net.sourceforge.fenixedu.dataTransferObject.serviceRequests; import net.sourceforge.fenixedu.dataTransferObject.student.RegistrationSelectExecutionYearBean; import net.sourceforge.fenixedu.domain.DomainReference; import net.sourceforge.fenixedu.domain.Enrolment; import net.sourceforge.fenixedu.domain.degreeStructure.CourseGroup; import net.sourceforge.fenixedu.domain.serviceRequests.EquivalencePlanRequest; import net.sourceforge.fenixedu.domain.serviceRequests.documentRequests.AcademicServiceRequestType; import net.sourceforge.fenixedu.domain.student.Registration; import net.sourceforge.fenixedu.domain.studentCurriculum.CurriculumGroup; import org.joda.time.YearMonthDay; public class RegistrationAcademicServiceRequestCreateBean extends RegistrationSelectExecutionYearBean { private AcademicServiceRequestType academicServiceRequestType; private DomainReference curriculumGroup; private DomainReference courseGroup; private DomainReference enrolment; private DomainReference equivalencePlanRequest; private String subject; private String purpose; private YearMonthDay requestDate; public RegistrationAcademicServiceRequestCreateBean(final Registration registration) { super(registration); } public AcademicServiceRequestType getAcademicServiceRequestType() { return academicServiceRequestType; } public void setAcademicServiceRequestType(AcademicServiceRequestType academicServiceRequestType) { this.academicServiceRequestType = academicServiceRequestType; } public CurriculumGroup getCurriculumGroup() { return (this.curriculumGroup != null) ? this.curriculumGroup.getObject() : null; } public void setCurriculumGroup(CurriculumGroup curriculumGroup) { this.curriculumGroup = (curriculumGroup != null) ? new DomainReference(curriculumGroup) : null; } public CourseGroup getCourseGroup() { return (this.courseGroup != null) ? this.courseGroup.getObject() : null; } public void setCourseGroup(CourseGroup courseGroup) { this.courseGroup = (courseGroup != null) ? new DomainReference(courseGroup) : null; } public Enrolment getEnrolment() { return (this.enrolment != null) ? this.enrolment.getObject() : null; } public void setEnrolment(Enrolment enrolment) { this.enrolment = (enrolment != null) ? new DomainReference(enrolment) : null; } public EquivalencePlanRequest getEquivalencePlanRequest() { return (this.equivalencePlanRequest != null) ? this.equivalencePlanRequest.getObject() : null; } public void setEquivalencePlanRequest(EquivalencePlanRequest equivalencePlanRequest) { this.equivalencePlanRequest = (equivalencePlanRequest != null) ? new DomainReference(equivalencePlanRequest) : null; } public String getSubject() { return subject; } public void setSubject(String subject) { this.subject = subject; } public String getPurpose() { return purpose; } public void setPurpose(String purpose) { this.purpose = purpose; } public YearMonthDay getRequestDate() { return requestDate; } public void setRequestDate(YearMonthDay requestDate) { this.requestDate = requestDate; } }