// declare transform functions public void Dispose() { Ooaofooa.log.println( ILogger.OPERATION, "Bridge Invocation", " Operation entered: BridgeInvocation::Dispose"); final ModelRoot modelRoot = getModelRoot(); Bridge_c v_brg = Bridge_c.getOneS_BRGOnR674(this); if ((!(v_brg == null))) { this.unrelateAcrossR674From(v_brg); } ActualParameter_c[] v_parm_set = ActualParameter_c.getManyV_PARsOnR628(this); ActualParameter_c v_parm = null; for (int i37268 = 0; i37268 < v_parm_set.length; i37268++) { v_parm = v_parm_set[i37268]; this.unrelateAcrossR628From(v_parm); if (v_parm != null) { v_parm.Dispose(); } else { Throwable t = new Throwable(); t.fillInStackTrace(); CorePlugin.logError("Attempted to call an operation on a null instance.", t); } } delete(); } // End dispose
public void setActualParameterOrderInChildListR628(ActualParameter_c target, int index) { unrelateAcrossR628From(target); ActualParameter_c[] elements = ActualParameter_c.getManyV_PARsOnR628(this); int count = 0; for (int i = 0; i < elements.length; i++) { if (count >= index) { unrelateAcrossR628From((ActualParameter_c) elements[i]); } count++; } relateAcrossR628To(target); count = 0; for (int i = 0; i < elements.length; i++) { if (count >= index) { relateAcrossR628To((ActualParameter_c) elements[i]); } count++; } }