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