package net.sourceforge.fenixedu.dataTransferObject.onlineTests; import java.util.List; import net.sourceforge.fenixedu.dataTransferObject.InfoObject; import net.sourceforge.fenixedu.domain.DomainListReference; import net.sourceforge.fenixedu.domain.DomainReference; import net.sourceforge.fenixedu.domain.onlineTests.DistributedTest; import net.sourceforge.fenixedu.domain.student.Registration; public class RegistrationDistributedTests extends InfoObject { private DomainListReference distributedTestsToDo; private DomainListReference distributedTestsDone; private DomainReference registration; public RegistrationDistributedTests(Registration registration, List distributedTestsToDo, List distributedTestsDone) { setRegistration(registration); setDistributedTestsToDo(distributedTestsToDo); setDistributedTestsDone(distributedTestsDone); } public List getDistributedTestsToDo() { return distributedTestsToDo; } public void setDistributedTestsToDo(List distributedTests) { this.distributedTestsToDo = new DomainListReference(distributedTests); } public List getDistributedTestsDone() { return distributedTestsDone; } public void setDistributedTestsDone(List distributedTests) { this.distributedTestsDone = new DomainListReference(distributedTests); } public Registration getRegistration() { return registration == null ? null : registration.getObject(); } public void setRegistration(Registration registration) { this.registration = new DomainReference(registration); } }