/// /// <summary> * copy a Vector of resourceLinks into this PhaseTime /// * </summary> /// * <param name="vRL"> the Vector of resourceLinks to copy - the order is significant, because the first rl will be used to /// * fill the Amount in Signal/DeviceInfo/JobPhase </param> /// public virtual void setLinks(VElement vRL) { if (vRL == null) { return; } int size = vRL.Count; if (size == 0) { return; } for (int i = 0; i < size; i++) { JDFResourceLink rl = (JDFResourceLink)vRL[i]; removeChildren(rl.LocalName, rl.getNamespaceURI(), null); } for (int i = 0; i < size; i++) { JDFResourceLink rl = (JDFResourceLink)vRL[i]; copyElement(rl, null); } }