package net.sourceforge.fenixedu.domain.phd.candidacy; import java.io.Serializable; import net.sourceforge.fenixedu.domain.DomainReference; import net.sourceforge.fenixedu.domain.phd.PhdIndividualProgramDocumentType; import org.joda.time.LocalDate; public class RatifyCandidacyBean implements Serializable { /** * */ private static final long serialVersionUID = 1L; private LocalDate whenRatified; private PhdCandidacyDocumentUploadBean ratificationFile; private DomainReference process; public RatifyCandidacyBean(PhdProgramCandidacyProcess process) { setProcess(process); this.ratificationFile = new PhdCandidacyDocumentUploadBean(PhdIndividualProgramDocumentType.CANDIDACY_RATIFICATION); } public PhdProgramCandidacyProcess getProcess() { return (this.process != null) ? this.process.getObject() : null; } public void setProcess(PhdProgramCandidacyProcess process) { this.process = (process != null) ? new DomainReference(process) : null; } public LocalDate getWhenRatified() { return whenRatified; } public void setWhenRatified(LocalDate whenRatified) { this.whenRatified = whenRatified; } public PhdCandidacyDocumentUploadBean getRatificationFile() { return ratificationFile; } public void setRatificationFile(PhdCandidacyDocumentUploadBean ratificationFile) { this.ratificationFile = ratificationFile; } }