Ejemplo n.º 1
0
        ///
        ///     <summary> * Get all JobField from the current element
        ///     *  </summary>
        ///     * <returns> Collection<JDFJobField> </returns>
        ///
        public virtual ICollection <JDFJobField> getAllJobField()
        {
            List <JDFJobField> v = new List <JDFJobField>();

            JDFJobField kElem = (JDFJobField)getFirstChildElement(ElementName.JOBFIELD, null);

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

                kElem = (JDFJobField)kElem.getNextSiblingElement(ElementName.JOBFIELD, null);
            }

            return(v);
        }
Ejemplo n.º 2
0
 ///
 ///      <summary> * (31) create inter-resource link to refTarget </summary>
 ///      * <param name="refTarget"> the element that is referenced </param>
 ///
 public virtual void refJobField(JDFJobField refTarget)
 {
     refElement(refTarget);
 }