/// /// <summary> * Get all JobPhase from the current element /// * </summary> /// * <returns> Collection<JDFJobPhase> </returns> /// public virtual ICollection <JDFJobPhase> getAllJobPhase() { List <JDFJobPhase> v = new List <JDFJobPhase>(); JDFJobPhase kElem = (JDFJobPhase)getFirstChildElement(ElementName.JOBPHASE, null); while (kElem != null) { v.Add(kElem); kElem = (JDFJobPhase)kElem.getNextSiblingElement(ElementName.JOBPHASE, null); } return(v); }