///
        ///     <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);
        }