예제 #1
0
        ///
        ///     <summary> * Get all DeviceNSpace from the current element
        ///     *  </summary>
        ///     * <returns> Collection<JDFDeviceNSpace> </returns>
        ///
        public virtual ICollection <JDFDeviceNSpace> getAllDeviceNSpace()
        {
            List <JDFDeviceNSpace> v = new List <JDFDeviceNSpace>();

            JDFDeviceNSpace kElem = (JDFDeviceNSpace)getFirstChildElement(ElementName.DEVICENSPACE, null);

            while (kElem != null)
            {
                v.Add(kElem);

                kElem = (JDFDeviceNSpace)kElem.getNextSiblingElement(ElementName.DEVICENSPACE, null);
            }

            return(v);
        }
 ///
 ///      <summary> * (31) create inter-resource link to refTarget </summary>
 ///      * <param name="refTarget"> the element that is referenced </param>
 ///
 public virtual void refDeviceNSpace(JDFDeviceNSpace refTarget)
 {
     refElement(refTarget);
 }