package net.sourceforge.fenixedu.domain; import net.sourceforge.fenixedu.dataTransferObject.administrativeOffice.equivalencyPlan.DCPTransitionPlanRuleBean.SelectedContext; public class DestinyDCPTransitionPlanRuleWrapper extends DestinyDCPTransitionPlanRuleWrapper_Base { public DestinyDCPTransitionPlanRuleWrapper() { super(); } public DestinyDCPTransitionPlanRuleWrapper(SelectedContext selectedContext) { this(); setContext(selectedContext.getContext()); setCreditsEcts(selectedContext.getCreditsEcts()); setCreditsWeight(selectedContext.getWeigth()); setStudentCurricularYear(selectedContext.getStudentCurricularYear()); } @Override public void delete() { removeDcpTransitionPlanRule(); super.delete(); } }