package net.sourceforge.fenixedu.dataTransferObject.student; import java.io.Serializable; import net.sourceforge.fenixedu.domain.DomainReference; import net.sourceforge.fenixedu.domain.student.Student; import org.joda.time.YearMonthDay; import pt.utl.ist.fenix.tools.util.i18n.MultiLanguageString; /** * * @author rjmvo * */ public class StudentAdditionalInformationBean implements Serializable { private YearMonthDay startDate; private YearMonthDay endDate; private MultiLanguageString description; private DomainReference student; public StudentAdditionalInformationBean(Student student) { startDate = new YearMonthDay(); setStudent(student); } public YearMonthDay getStartDate() { return startDate; } public void setStartDate(YearMonthDay startDate) { this.startDate = startDate; } public YearMonthDay getEndDate() { return endDate; } public void setEndDate(YearMonthDay endDate) { this.endDate = endDate; } public MultiLanguageString getDescription() { return description; } public void setDescription(MultiLanguageString description) { this.description = description; } public Student getStudent() { return student == null ? null : student.getObject(); } public void setStudent(Student student) { this.student = student == null ? null : new DomainReference(student); } }