package net.sourceforge.fenixedu.dataTransferObject.serviceRequests; import com.linkare.commons.metainfo.Linkare; 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; public class RegistrationAcademicServiceRequestCreateBean extends AcademicServiceRequestCreateBean { private AcademicServiceRequestType academicServiceRequestType; private DomainReference curriculumGroup; private DomainReference courseGroup; private DomainReference enrolment; private DomainReference equivalencePlanRequest; private String subject; private String purpose; public RegistrationAcademicServiceRequestCreateBean(final Registration registration) { super(registration); } @Linkare(author = "Paulo Zenida", comments = "Changed the modifiers order according to the JLS suggestions") public final AcademicServiceRequestType getAcademicServiceRequestType() { return academicServiceRequestType; } @Linkare(author = "Paulo Zenida", comments = "Changed the modifiers order according to the JLS suggestions") public final void setAcademicServiceRequestType(AcademicServiceRequestType academicServiceRequestType) { this.academicServiceRequestType = academicServiceRequestType; } @Linkare(author = "Paulo Zenida", comments = "Changed the modifiers order according to the JLS suggestions") public final CurriculumGroup getCurriculumGroup() { return (this.curriculumGroup != null) ? this.curriculumGroup.getObject() : null; } @Linkare(author = "Paulo Zenida", comments = "Changed the modifiers order according to the JLS suggestions") public final void setCurriculumGroup(CurriculumGroup curriculumGroup) { this.curriculumGroup = (curriculumGroup != null) ? new DomainReference(curriculumGroup) : null; } @Linkare(author = "Paulo Zenida", comments = "Changed the modifiers order according to the JLS suggestions") public final CourseGroup getCourseGroup() { return (this.courseGroup != null) ? this.courseGroup.getObject() : null; } @Linkare(author = "Paulo Zenida", comments = "Changed the modifiers order according to the JLS suggestions") public final void setCourseGroup(CourseGroup courseGroup) { this.courseGroup = (courseGroup != null) ? new DomainReference(courseGroup) : null; } @Linkare(author = "Paulo Zenida", comments = "Changed the modifiers order according to the JLS suggestions") public final Enrolment getEnrolment() { return (this.enrolment != null) ? this.enrolment.getObject() : null; } @Linkare(author = "Paulo Zenida", comments = "Changed the modifiers order according to the JLS suggestions") public final void setEnrolment(Enrolment enrolment) { this.enrolment = (enrolment != null) ? new DomainReference(enrolment) : null; } @Linkare(author = "Paulo Zenida", comments = "Changed the modifiers order according to the JLS suggestions") public final EquivalencePlanRequest getEquivalencePlanRequest() { return (this.equivalencePlanRequest != null) ? this.equivalencePlanRequest.getObject() : null; } @Linkare(author = "Paulo Zenida", comments = "Changed the modifiers order according to the JLS suggestions") public final void setEquivalencePlanRequest(EquivalencePlanRequest equivalencePlanRequest) { this.equivalencePlanRequest = (equivalencePlanRequest != null) ? new DomainReference( equivalencePlanRequest) : null; } @Linkare(author = "Paulo Zenida", comments = "Changed the modifiers order according to the JLS suggestions") public final String getSubject() { return subject; } @Linkare(author = "Paulo Zenida", comments = "Changed the modifiers order according to the JLS suggestions") public final void setSubject(String subject) { this.subject = subject; } @Linkare(author = "Paulo Zenida", comments = "Changed the modifiers order according to the JLS suggestions") public final String getPurpose() { return purpose; } @Linkare(author = "Paulo Zenida", comments = "Changed the modifiers order according to the JLS suggestions") public final void setPurpose(String purpose) { this.purpose = purpose; } }