/**
* Copyright © 2002 Instituto Superior Técnico
*
* This file is part of FenixEdu Academic.
*
* FenixEdu Academic is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* FenixEdu Academic is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with FenixEdu Academic. If not, see <http://www.gnu.org/licenses/>.
*/
package org.fenixedu.academic.domain.phd.candidacy;
import java.io.Serializable;
import org.fenixedu.academic.domain.phd.PhdIndividualProgramDocumentType;
import org.fenixedu.academic.domain.phd.PhdProgramDocumentUploadBean;
import org.joda.time.LocalDate;
public class RatifyCandidacyBean implements Serializable {
private static final long serialVersionUID = 1L;
private static final int DEFAULT_MAX_DAYS_TO_FORMALIZE_REGISTRATION = 20;
private LocalDate whenRatified;
private PhdProgramDocumentUploadBean ratificationFile;
private PhdProgramCandidacyProcess process;
private int maxDaysToFormalizeRegistration = DEFAULT_MAX_DAYS_TO_FORMALIZE_REGISTRATION;
public RatifyCandidacyBean(PhdProgramCandidacyProcess process) {
setProcess(process);
this.ratificationFile = new PhdProgramDocumentUploadBean(PhdIndividualProgramDocumentType.CANDIDACY_RATIFICATION);
}
public PhdProgramCandidacyProcess getProcess() {
return this.process;
}
public void setProcess(PhdProgramCandidacyProcess process) {
this.process = process;
}
public LocalDate getWhenRatified() {
return whenRatified;
}
public void setWhenRatified(LocalDate whenRatified) {
this.whenRatified = whenRatified;
}
public PhdProgramDocumentUploadBean getRatificationFile() {
return ratificationFile;
}
public void setRatificationFile(PhdProgramDocumentUploadBean ratificationFile) {
this.ratificationFile = ratificationFile;
}
public int getMaxDaysToFormalizeRegistration() {
return maxDaysToFormalizeRegistration;
}
public void setMaxDaysToFormalizeRegistration(int maxDaysToFormalizeRegistration) {
this.maxDaysToFormalizeRegistration = maxDaysToFormalizeRegistration;
}
}