package net.sourceforge.fenixedu.dataTransferObject.student; import net.sourceforge.fenixedu.domain.student.Registration; import net.sourceforge.fenixedu.domain.studentCurriculum.CycleCurriculumGroup; import com.linkare.commons.metainfo.Linkare; @Linkare(author = "Paulo Zenida") public class LinkareRegistrationConclusionBean extends RegistrationConclusionBean { private static final long serialVersionUID = 1L; public LinkareRegistrationConclusionBean(Registration registration) { this(registration, null); } public LinkareRegistrationConclusionBean(Registration registration, CycleCurriculumGroup cycleCurriculumGroup) { super(registration, cycleCurriculumGroup); } @Override public boolean isConclusionProcessed() { return hasConclusionProcess(); } @Override public boolean isConcluded() { return isByCycle() ? getCycleCurriculumGroup().isConcluded() : getRegistration().hasConcluded(); } public boolean isOldDegree() { return getRegistration().getDegreeType().isOldDegree(); } public boolean hasConclusionProcess() { return getRegistration().hasConclusionProcess(); } }