/// /// <summary> * set rRef to the value of devCap/@ID /// * </summary> /// * <param name="dc"> /// * the DevCap to set </param> /// public override JDFDevCap appendDevCap() { JDFDevCap dc = base.appendDevCap(); if (hasAttribute(AttributeName.NAME)) { dc.setName(getName()); } return(dc); }
/// /// <summary> * set rRef to the value of devCap/@ID /// * </summary> /// * <param name="dc"> /// * the DevCap to set </param> /// public virtual JDFDevCap appendDevCapInPool() { JDFDevCapPool dcp = getCreateDevCapPool(); JDFDevCap dc = dcp.appendDevCap(); string id2 = dc.getID(); setDevCapRef(id2); if (hasAttribute(AttributeName.NAME)) { dc.setName(getName()); } return(dc); }