/// /// <summary> * Get all TrapRegion from the current element /// * </summary> /// * <returns> Collection<JDFTrapRegion> </returns> /// public virtual ICollection <JDFTrapRegion> getAllTrapRegion() { List <JDFTrapRegion> v = new List <JDFTrapRegion>(); JDFTrapRegion kElem = (JDFTrapRegion)getFirstChildElement(ElementName.TRAPREGION, null); while (kElem != null) { v.Add(kElem); kElem = (JDFTrapRegion)kElem.getNextSiblingElement(ElementName.TRAPREGION, null); } return(v); }
/// /// <summary> * (31) create inter-resource link to refTarget </summary> /// * <param name="refTarget"> the element that is referenced </param> /// public virtual void refTrapRegion(JDFTrapRegion refTarget) { refElement(refTarget); }