public Excel_fxForward(XmlNode xmlNode)
 : base(xmlNode)
 {
     XmlNode excel_issueInfoNode = xmlNode.SelectSingleNode("excel_issueInfo");
     
     if (excel_issueInfoNode != null)
     {
         if (excel_issueInfoNode.Attributes["href"] != null || excel_issueInfoNode.Attributes["id"] != null) 
         {
             if (excel_issueInfoNode.Attributes["id"] != null) 
             {
                 excel_issueInfoIDRef_ = excel_issueInfoNode.Attributes["id"].Value;
                 Excel_issueInfo ob = new Excel_issueInfo(excel_issueInfoNode);
                 IDManager.SetID(excel_issueInfoIDRef_, ob);
             }
             else if (excel_issueInfoNode.Attributes["href"] != null)
             {
                 excel_issueInfoIDRef_ = excel_issueInfoNode.Attributes["href"].Value;
             }
             else
             {
                 excel_issueInfo_ = new Excel_issueInfo(excel_issueInfoNode);
             }
         }
         else
         {
             excel_issueInfo_ = new Excel_issueInfo(excel_issueInfoNode);
         }
     }
     
 
     XmlNode fx_exchangeLegNode = xmlNode.SelectSingleNode("fx_exchangeLeg");
     
     if (fx_exchangeLegNode != null)
     {
         if (fx_exchangeLegNode.Attributes["href"] != null || fx_exchangeLegNode.Attributes["id"] != null) 
         {
             if (fx_exchangeLegNode.Attributes["id"] != null) 
             {
                 fx_exchangeLegIDRef_ = fx_exchangeLegNode.Attributes["id"].Value;
                 Fx_exchangeLeg ob = new Fx_exchangeLeg(fx_exchangeLegNode);
                 IDManager.SetID(fx_exchangeLegIDRef_, ob);
             }
             else if (fx_exchangeLegNode.Attributes["href"] != null)
             {
                 fx_exchangeLegIDRef_ = fx_exchangeLegNode.Attributes["href"].Value;
             }
             else
             {
                 fx_exchangeLeg_ = new Fx_exchangeLeg(fx_exchangeLegNode);
             }
         }
         else
         {
             fx_exchangeLeg_ = new Fx_exchangeLeg(fx_exchangeLegNode);
         }
     }
     
 
 }
        public Excel_fxForward(XmlNode xmlNode)
            : base(xmlNode)
        {
            XmlNode excel_issueInfoNode = xmlNode.SelectSingleNode("excel_issueInfo");

            if (excel_issueInfoNode != null)
            {
                if (excel_issueInfoNode.Attributes["href"] != null || excel_issueInfoNode.Attributes["id"] != null)
                {
                    if (excel_issueInfoNode.Attributes["id"] != null)
                    {
                        excel_issueInfoIDRef_ = excel_issueInfoNode.Attributes["id"].Value;
                        Excel_issueInfo ob = new Excel_issueInfo(excel_issueInfoNode);
                        IDManager.SetID(excel_issueInfoIDRef_, ob);
                    }
                    else if (excel_issueInfoNode.Attributes["href"] != null)
                    {
                        excel_issueInfoIDRef_ = excel_issueInfoNode.Attributes["href"].Value;
                    }
                    else
                    {
                        excel_issueInfo_ = new Excel_issueInfo(excel_issueInfoNode);
                    }
                }
                else
                {
                    excel_issueInfo_ = new Excel_issueInfo(excel_issueInfoNode);
                }
            }


            XmlNode fx_exchangeLegNode = xmlNode.SelectSingleNode("fx_exchangeLeg");

            if (fx_exchangeLegNode != null)
            {
                if (fx_exchangeLegNode.Attributes["href"] != null || fx_exchangeLegNode.Attributes["id"] != null)
                {
                    if (fx_exchangeLegNode.Attributes["id"] != null)
                    {
                        fx_exchangeLegIDRef_ = fx_exchangeLegNode.Attributes["id"].Value;
                        Fx_exchangeLeg ob = new Fx_exchangeLeg(fx_exchangeLegNode);
                        IDManager.SetID(fx_exchangeLegIDRef_, ob);
                    }
                    else if (fx_exchangeLegNode.Attributes["href"] != null)
                    {
                        fx_exchangeLegIDRef_ = fx_exchangeLegNode.Attributes["href"].Value;
                    }
                    else
                    {
                        fx_exchangeLeg_ = new Fx_exchangeLeg(fx_exchangeLegNode);
                    }
                }
                else
                {
                    fx_exchangeLeg_ = new Fx_exchangeLeg(fx_exchangeLegNode);
                }
            }
        }
        public Excel_structuredBond(XmlNode xmlNode)
            : base(xmlNode)
        {
            XmlNode excel_issueInfoNode = xmlNode.SelectSingleNode("excel_issueInfo");

            if (excel_issueInfoNode != null)
            {
                if (excel_issueInfoNode.Attributes["href"] != null || excel_issueInfoNode.Attributes["id"] != null)
                {
                    if (excel_issueInfoNode.Attributes["id"] != null)
                    {
                        excel_issueInfoIDRef_ = excel_issueInfoNode.Attributes["id"].Value;
                        Excel_issueInfo ob = new Excel_issueInfo(excel_issueInfoNode);
                        IDManager.SetID(excel_issueInfoIDRef_, ob);
                    }
                    else if (excel_issueInfoNode.Attributes["href"] != null)
                    {
                        excel_issueInfoIDRef_ = excel_issueInfoNode.Attributes["href"].Value;
                    }
                    else
                    {
                        excel_issueInfo_ = new Excel_issueInfo(excel_issueInfoNode);
                    }
                }
                else
                {
                    excel_issueInfo_ = new Excel_issueInfo(excel_issueInfoNode);
                }
            }


            XmlNode excel_underlyingCalcInfoNode = xmlNode.SelectSingleNode("excel_underlyingCalcInfo");

            if (excel_underlyingCalcInfoNode != null)
            {
                if (excel_underlyingCalcInfoNode.Attributes["href"] != null || excel_underlyingCalcInfoNode.Attributes["id"] != null)
                {
                    if (excel_underlyingCalcInfoNode.Attributes["id"] != null)
                    {
                        excel_underlyingCalcInfoIDRef_ = excel_underlyingCalcInfoNode.Attributes["id"].Value;
                        Excel_underlyingCalcInfo ob = new Excel_underlyingCalcInfo(excel_underlyingCalcInfoNode);
                        IDManager.SetID(excel_underlyingCalcInfoIDRef_, ob);
                    }
                    else if (excel_underlyingCalcInfoNode.Attributes["href"] != null)
                    {
                        excel_underlyingCalcInfoIDRef_ = excel_underlyingCalcInfoNode.Attributes["href"].Value;
                    }
                    else
                    {
                        excel_underlyingCalcInfo_ = new Excel_underlyingCalcInfo(excel_underlyingCalcInfoNode);
                    }
                }
                else
                {
                    excel_underlyingCalcInfo_ = new Excel_underlyingCalcInfo(excel_underlyingCalcInfoNode);
                }
            }


            XmlNode excel_couponScheduleListNode = xmlNode.SelectSingleNode("excel_couponScheduleList");

            if (excel_couponScheduleListNode != null)
            {
                if (excel_couponScheduleListNode.Attributes["href"] != null || excel_couponScheduleListNode.Attributes["id"] != null)
                {
                    if (excel_couponScheduleListNode.Attributes["id"] != null)
                    {
                        excel_couponScheduleListIDRef_ = excel_couponScheduleListNode.Attributes["id"].Value;
                        Excel_couponScheduleList ob = new Excel_couponScheduleList(excel_couponScheduleListNode);
                        IDManager.SetID(excel_couponScheduleListIDRef_, ob);
                    }
                    else if (excel_couponScheduleListNode.Attributes["href"] != null)
                    {
                        excel_couponScheduleListIDRef_ = excel_couponScheduleListNode.Attributes["href"].Value;
                    }
                    else
                    {
                        excel_couponScheduleList_ = new Excel_couponScheduleList(excel_couponScheduleListNode);
                    }
                }
                else
                {
                    excel_couponScheduleList_ = new Excel_couponScheduleList(excel_couponScheduleListNode);
                }
            }


            XmlNode excel_structuredBond_subtypeNode = xmlNode.SelectSingleNode("excel_structuredBond_subtype");

            if (excel_structuredBond_subtypeNode != null)
            {
                if (excel_structuredBond_subtypeNode.Attributes["href"] != null || excel_structuredBond_subtypeNode.Attributes["id"] != null)
                {
                    if (excel_structuredBond_subtypeNode.Attributes["id"] != null)
                    {
                        excel_structuredBond_subtypeIDRef_ = excel_structuredBond_subtypeNode.Attributes["id"].Value;
                        Excel_structuredBond_subtype ob = new Excel_structuredBond_subtype(excel_structuredBond_subtypeNode);
                        IDManager.SetID(excel_structuredBond_subtypeIDRef_, ob);
                    }
                    else if (excel_structuredBond_subtypeNode.Attributes["href"] != null)
                    {
                        excel_structuredBond_subtypeIDRef_ = excel_structuredBond_subtypeNode.Attributes["href"].Value;
                    }
                    else
                    {
                        excel_structuredBond_subtype_ = new Excel_structuredBond_subtype(excel_structuredBond_subtypeNode);
                    }
                }
                else
                {
                    excel_structuredBond_subtype_ = new Excel_structuredBond_subtype(excel_structuredBond_subtypeNode);
                }
            }
        }
 public Excel_fxSwap(XmlNode xmlNode)
 : base(xmlNode)
 {
     XmlNode excel_issueInfoNode = xmlNode.SelectSingleNode("excel_issueInfo");
     
     if (excel_issueInfoNode != null)
     {
         if (excel_issueInfoNode.Attributes["href"] != null || excel_issueInfoNode.Attributes["id"] != null) 
         {
             if (excel_issueInfoNode.Attributes["id"] != null) 
             {
                 excel_issueInfoIDRef_ = excel_issueInfoNode.Attributes["id"].Value;
                 Excel_issueInfo ob = new Excel_issueInfo(excel_issueInfoNode);
                 IDManager.SetID(excel_issueInfoIDRef_, ob);
             }
             else if (excel_issueInfoNode.Attributes["href"] != null)
             {
                 excel_issueInfoIDRef_ = excel_issueInfoNode.Attributes["href"].Value;
             }
             else
             {
                 excel_issueInfo_ = new Excel_issueInfo(excel_issueInfoNode);
             }
         }
         else
         {
             excel_issueInfo_ = new Excel_issueInfo(excel_issueInfoNode);
         }
     }
     
 
     XmlNodeList fx_exchangeLegNodeList = xmlNode.SelectNodes("fx_exchangeLeg");
     
     if (fx_exchangeLegNodeList != null)
     {
         this.fx_exchangeLeg_ = new List<Fx_exchangeLeg>();
         foreach (XmlNode item in fx_exchangeLegNodeList)
         {
             if (item.Attributes["href"] != null || item.Attributes["id"] != null) 
             {
                 if (item.Attributes["id"] != null) 
                 {
                     fx_exchangeLegIDRef_ = item.Attributes["id"].Value;
                     fx_exchangeLeg_.Add(new Fx_exchangeLeg(item));
                     IDManager.SetID(fx_exchangeLegIDRef_, fx_exchangeLeg_[fx_exchangeLeg_.Count - 1 ]);
                 }
                 else if (item.Attributes["href"] != null)
                 {
                     fx_exchangeLegIDRef_ = item.Attributes["href"].Value;
                 }
                 else
                 {
                 fx_exchangeLeg_.Add(new Fx_exchangeLeg(item));
                 }
             }
             else
             {
                 fx_exchangeLeg_.Add(new Fx_exchangeLeg(item));
             }
         }
     }
     
 
 }
 public Excel_hifive(XmlNode xmlNode)
 : base(xmlNode)
 {
     XmlNode excel_issueInfoNode = xmlNode.SelectSingleNode("excel_issueInfo");
     
     if (excel_issueInfoNode != null)
     {
         if (excel_issueInfoNode.Attributes["href"] != null || excel_issueInfoNode.Attributes["id"] != null) 
         {
             if (excel_issueInfoNode.Attributes["id"] != null) 
             {
                 excel_issueInfoIDRef_ = excel_issueInfoNode.Attributes["id"].Value;
                 Excel_issueInfo ob = new Excel_issueInfo(excel_issueInfoNode);
                 IDManager.SetID(excel_issueInfoIDRef_, ob);
             }
             else if (excel_issueInfoNode.Attributes["href"] != null)
             {
                 excel_issueInfoIDRef_ = excel_issueInfoNode.Attributes["href"].Value;
             }
             else
             {
                 excel_issueInfo_ = new Excel_issueInfo(excel_issueInfoNode);
             }
         }
         else
         {
             excel_issueInfo_ = new Excel_issueInfo(excel_issueInfoNode);
         }
     }
     
 
     XmlNode excel_underlyingCalcInfoNode = xmlNode.SelectSingleNode("excel_underlyingCalcInfo");
     
     if (excel_underlyingCalcInfoNode != null)
     {
         if (excel_underlyingCalcInfoNode.Attributes["href"] != null || excel_underlyingCalcInfoNode.Attributes["id"] != null) 
         {
             if (excel_underlyingCalcInfoNode.Attributes["id"] != null) 
             {
                 excel_underlyingCalcInfoIDRef_ = excel_underlyingCalcInfoNode.Attributes["id"].Value;
                 Excel_underlyingCalcInfo ob = new Excel_underlyingCalcInfo(excel_underlyingCalcInfoNode);
                 IDManager.SetID(excel_underlyingCalcInfoIDRef_, ob);
             }
             else if (excel_underlyingCalcInfoNode.Attributes["href"] != null)
             {
                 excel_underlyingCalcInfoIDRef_ = excel_underlyingCalcInfoNode.Attributes["href"].Value;
             }
             else
             {
                 excel_underlyingCalcInfo_ = new Excel_underlyingCalcInfo(excel_underlyingCalcInfoNode);
             }
         }
         else
         {
             excel_underlyingCalcInfo_ = new Excel_underlyingCalcInfo(excel_underlyingCalcInfoNode);
         }
     }
     
 
     XmlNode excel_hifive_subtypeNode = xmlNode.SelectSingleNode("excel_hifive_subtype");
     
     if (excel_hifive_subtypeNode != null)
     {
         if (excel_hifive_subtypeNode.Attributes["href"] != null || excel_hifive_subtypeNode.Attributes["id"] != null) 
         {
             if (excel_hifive_subtypeNode.Attributes["id"] != null) 
             {
                 excel_hifive_subtypeIDRef_ = excel_hifive_subtypeNode.Attributes["id"].Value;
                 Excel_hifive_subtype ob = new Excel_hifive_subtype(excel_hifive_subtypeNode);
                 IDManager.SetID(excel_hifive_subtypeIDRef_, ob);
             }
             else if (excel_hifive_subtypeNode.Attributes["href"] != null)
             {
                 excel_hifive_subtypeIDRef_ = excel_hifive_subtypeNode.Attributes["href"].Value;
             }
             else
             {
                 excel_hifive_subtype_ = new Excel_hifive_subtype(excel_hifive_subtypeNode);
             }
         }
         else
         {
             excel_hifive_subtype_ = new Excel_hifive_subtype(excel_hifive_subtypeNode);
         }
     }
     
 
     XmlNode excel_scheduleListNode = xmlNode.SelectSingleNode("excel_scheduleList");
     
     if (excel_scheduleListNode != null)
     {
         if (excel_scheduleListNode.Attributes["href"] != null || excel_scheduleListNode.Attributes["id"] != null) 
         {
             if (excel_scheduleListNode.Attributes["id"] != null) 
             {
                 excel_scheduleListIDRef_ = excel_scheduleListNode.Attributes["id"].Value;
                 Excel_scheduleList ob = new Excel_scheduleList(excel_scheduleListNode);
                 IDManager.SetID(excel_scheduleListIDRef_, ob);
             }
             else if (excel_scheduleListNode.Attributes["href"] != null)
             {
                 excel_scheduleListIDRef_ = excel_scheduleListNode.Attributes["href"].Value;
             }
             else
             {
                 excel_scheduleList_ = new Excel_scheduleList(excel_scheduleListNode);
             }
         }
         else
         {
             excel_scheduleList_ = new Excel_scheduleList(excel_scheduleListNode);
         }
     }
     
 
     XmlNode excel_kiEventCalculationNode = xmlNode.SelectSingleNode("excel_kiEventCalculation");
     
     if (excel_kiEventCalculationNode != null)
     {
         if (excel_kiEventCalculationNode.Attributes["href"] != null || excel_kiEventCalculationNode.Attributes["id"] != null) 
         {
             if (excel_kiEventCalculationNode.Attributes["id"] != null) 
             {
                 excel_kiEventCalculationIDRef_ = excel_kiEventCalculationNode.Attributes["id"].Value;
                 Excel_kiEventCalculation ob = new Excel_kiEventCalculation(excel_kiEventCalculationNode);
                 IDManager.SetID(excel_kiEventCalculationIDRef_, ob);
             }
             else if (excel_kiEventCalculationNode.Attributes["href"] != null)
             {
                 excel_kiEventCalculationIDRef_ = excel_kiEventCalculationNode.Attributes["href"].Value;
             }
             else
             {
                 excel_kiEventCalculation_ = new Excel_kiEventCalculation(excel_kiEventCalculationNode);
             }
         }
         else
         {
             excel_kiEventCalculation_ = new Excel_kiEventCalculation(excel_kiEventCalculationNode);
         }
     }
     
 
 }
 public Excel_compositeOption(XmlNode xmlNode)
 : base(xmlNode)
 {
     XmlNode excel_issueInfoNode = xmlNode.SelectSingleNode("excel_issueInfo");
     
     if (excel_issueInfoNode != null)
     {
         if (excel_issueInfoNode.Attributes["href"] != null || excel_issueInfoNode.Attributes["id"] != null) 
         {
             if (excel_issueInfoNode.Attributes["id"] != null) 
             {
                 excel_issueInfoIDRef_ = excel_issueInfoNode.Attributes["id"].Value;
                 Excel_issueInfo ob = new Excel_issueInfo(excel_issueInfoNode);
                 IDManager.SetID(excel_issueInfoIDRef_, ob);
             }
             else if (excel_issueInfoNode.Attributes["href"] != null)
             {
                 excel_issueInfoIDRef_ = excel_issueInfoNode.Attributes["href"].Value;
             }
             else
             {
                 excel_issueInfo_ = new Excel_issueInfo(excel_issueInfoNode);
             }
         }
         else
         {
             excel_issueInfo_ = new Excel_issueInfo(excel_issueInfoNode);
         }
     }
     
 
     XmlNode excel_underlyingCalcInfoNode = xmlNode.SelectSingleNode("excel_underlyingCalcInfo");
     
     if (excel_underlyingCalcInfoNode != null)
     {
         if (excel_underlyingCalcInfoNode.Attributes["href"] != null || excel_underlyingCalcInfoNode.Attributes["id"] != null) 
         {
             if (excel_underlyingCalcInfoNode.Attributes["id"] != null) 
             {
                 excel_underlyingCalcInfoIDRef_ = excel_underlyingCalcInfoNode.Attributes["id"].Value;
                 Excel_underlyingCalcInfo ob = new Excel_underlyingCalcInfo(excel_underlyingCalcInfoNode);
                 IDManager.SetID(excel_underlyingCalcInfoIDRef_, ob);
             }
             else if (excel_underlyingCalcInfoNode.Attributes["href"] != null)
             {
                 excel_underlyingCalcInfoIDRef_ = excel_underlyingCalcInfoNode.Attributes["href"].Value;
             }
             else
             {
                 excel_underlyingCalcInfo_ = new Excel_underlyingCalcInfo(excel_underlyingCalcInfoNode);
             }
         }
         else
         {
             excel_underlyingCalcInfo_ = new Excel_underlyingCalcInfo(excel_underlyingCalcInfoNode);
         }
     }
     
 
     XmlNode exerciseDateNode = xmlNode.SelectSingleNode("exerciseDate");
     
     if (exerciseDateNode != null)
     {
         if (exerciseDateNode.Attributes["href"] != null || exerciseDateNode.Attributes["id"] != null) 
         {
             if (exerciseDateNode.Attributes["id"] != null) 
             {
                 exerciseDateIDRef_ = exerciseDateNode.Attributes["id"].Value;
                 XsdTypeToken ob = new XsdTypeToken(exerciseDateNode);
                 IDManager.SetID(exerciseDateIDRef_, ob);
             }
             else if (exerciseDateNode.Attributes["href"] != null)
             {
                 exerciseDateIDRef_ = exerciseDateNode.Attributes["href"].Value;
             }
             else
             {
                 exerciseDate_ = new XsdTypeToken(exerciseDateNode);
             }
         }
         else
         {
             exerciseDate_ = new XsdTypeToken(exerciseDateNode);
         }
     }
     
 
     XmlNode payoffDateNode = xmlNode.SelectSingleNode("payoffDate");
     
     if (payoffDateNode != null)
     {
         if (payoffDateNode.Attributes["href"] != null || payoffDateNode.Attributes["id"] != null) 
         {
             if (payoffDateNode.Attributes["id"] != null) 
             {
                 payoffDateIDRef_ = payoffDateNode.Attributes["id"].Value;
                 XsdTypeToken ob = new XsdTypeToken(payoffDateNode);
                 IDManager.SetID(payoffDateIDRef_, ob);
             }
             else if (payoffDateNode.Attributes["href"] != null)
             {
                 payoffDateIDRef_ = payoffDateNode.Attributes["href"].Value;
             }
             else
             {
                 payoffDate_ = new XsdTypeToken(payoffDateNode);
             }
         }
         else
         {
             payoffDate_ = new XsdTypeToken(payoffDateNode);
         }
     }
     
 
     XmlNode notionalMaturityPaymentNode = xmlNode.SelectSingleNode("notionalMaturityPayment");
     
     if (notionalMaturityPaymentNode != null)
     {
         if (notionalMaturityPaymentNode.Attributes["href"] != null || notionalMaturityPaymentNode.Attributes["id"] != null) 
         {
             if (notionalMaturityPaymentNode.Attributes["id"] != null) 
             {
                 notionalMaturityPaymentIDRef_ = notionalMaturityPaymentNode.Attributes["id"].Value;
                 XsdTypeToken ob = new XsdTypeToken(notionalMaturityPaymentNode);
                 IDManager.SetID(notionalMaturityPaymentIDRef_, ob);
             }
             else if (notionalMaturityPaymentNode.Attributes["href"] != null)
             {
                 notionalMaturityPaymentIDRef_ = notionalMaturityPaymentNode.Attributes["href"].Value;
             }
             else
             {
                 notionalMaturityPayment_ = new XsdTypeToken(notionalMaturityPaymentNode);
             }
         }
         else
         {
             notionalMaturityPayment_ = new XsdTypeToken(notionalMaturityPaymentNode);
         }
     }
     
 
     XmlNodeList excel_compositeOption_subtypeNodeList = xmlNode.SelectNodes("excel_compositeOption_subtype");
     
     if (excel_compositeOption_subtypeNodeList != null)
     {
         this.excel_compositeOption_subtype_ = new List<Excel_compositeOption_subtype>();
         foreach (XmlNode item in excel_compositeOption_subtypeNodeList)
         {
             if (item.Attributes["href"] != null || item.Attributes["id"] != null) 
             {
                 if (item.Attributes["id"] != null) 
                 {
                     excel_compositeOption_subtypeIDRef_ = item.Attributes["id"].Value;
                     excel_compositeOption_subtype_.Add(new Excel_compositeOption_subtype(item));
                     IDManager.SetID(excel_compositeOption_subtypeIDRef_, excel_compositeOption_subtype_[excel_compositeOption_subtype_.Count - 1 ]);
                 }
                 else if (item.Attributes["href"] != null)
                 {
                     excel_compositeOption_subtypeIDRef_ = item.Attributes["href"].Value;
                 }
                 else
                 {
                 excel_compositeOption_subtype_.Add(new Excel_compositeOption_subtype(item));
                 }
             }
             else
             {
                 excel_compositeOption_subtype_.Add(new Excel_compositeOption_subtype(item));
             }
         }
     }
     
 
 }
        public Excel_multiAssetCompositeOption(XmlNode xmlNode)
            : base(xmlNode)
        {
            XmlNode excel_issueInfoNode = xmlNode.SelectSingleNode("excel_issueInfo");

            if (excel_issueInfoNode != null)
            {
                if (excel_issueInfoNode.Attributes["href"] != null || excel_issueInfoNode.Attributes["id"] != null)
                {
                    if (excel_issueInfoNode.Attributes["id"] != null)
                    {
                        excel_issueInfoIDRef_ = excel_issueInfoNode.Attributes["id"].Value;
                        Excel_issueInfo ob = new Excel_issueInfo(excel_issueInfoNode);
                        IDManager.SetID(excel_issueInfoIDRef_, ob);
                    }
                    else if (excel_issueInfoNode.Attributes["href"] != null)
                    {
                        excel_issueInfoIDRef_ = excel_issueInfoNode.Attributes["href"].Value;
                    }
                    else
                    {
                        excel_issueInfo_ = new Excel_issueInfo(excel_issueInfoNode);
                    }
                }
                else
                {
                    excel_issueInfo_ = new Excel_issueInfo(excel_issueInfoNode);
                }
            }


            XmlNode excel_underlyingCalcInfoNode = xmlNode.SelectSingleNode("excel_underlyingCalcInfo");

            if (excel_underlyingCalcInfoNode != null)
            {
                if (excel_underlyingCalcInfoNode.Attributes["href"] != null || excel_underlyingCalcInfoNode.Attributes["id"] != null)
                {
                    if (excel_underlyingCalcInfoNode.Attributes["id"] != null)
                    {
                        excel_underlyingCalcInfoIDRef_ = excel_underlyingCalcInfoNode.Attributes["id"].Value;
                        Excel_underlyingCalcInfo ob = new Excel_underlyingCalcInfo(excel_underlyingCalcInfoNode);
                        IDManager.SetID(excel_underlyingCalcInfoIDRef_, ob);
                    }
                    else if (excel_underlyingCalcInfoNode.Attributes["href"] != null)
                    {
                        excel_underlyingCalcInfoIDRef_ = excel_underlyingCalcInfoNode.Attributes["href"].Value;
                    }
                    else
                    {
                        excel_underlyingCalcInfo_ = new Excel_underlyingCalcInfo(excel_underlyingCalcInfoNode);
                    }
                }
                else
                {
                    excel_underlyingCalcInfo_ = new Excel_underlyingCalcInfo(excel_underlyingCalcInfoNode);
                }
            }


            XmlNode exerciseDateNode = xmlNode.SelectSingleNode("exerciseDate");

            if (exerciseDateNode != null)
            {
                if (exerciseDateNode.Attributes["href"] != null || exerciseDateNode.Attributes["id"] != null)
                {
                    if (exerciseDateNode.Attributes["id"] != null)
                    {
                        exerciseDateIDRef_ = exerciseDateNode.Attributes["id"].Value;
                        XsdTypeToken ob = new XsdTypeToken(exerciseDateNode);
                        IDManager.SetID(exerciseDateIDRef_, ob);
                    }
                    else if (exerciseDateNode.Attributes["href"] != null)
                    {
                        exerciseDateIDRef_ = exerciseDateNode.Attributes["href"].Value;
                    }
                    else
                    {
                        exerciseDate_ = new XsdTypeToken(exerciseDateNode);
                    }
                }
                else
                {
                    exerciseDate_ = new XsdTypeToken(exerciseDateNode);
                }
            }


            XmlNode payoffDateNode = xmlNode.SelectSingleNode("payoffDate");

            if (payoffDateNode != null)
            {
                if (payoffDateNode.Attributes["href"] != null || payoffDateNode.Attributes["id"] != null)
                {
                    if (payoffDateNode.Attributes["id"] != null)
                    {
                        payoffDateIDRef_ = payoffDateNode.Attributes["id"].Value;
                        XsdTypeToken ob = new XsdTypeToken(payoffDateNode);
                        IDManager.SetID(payoffDateIDRef_, ob);
                    }
                    else if (payoffDateNode.Attributes["href"] != null)
                    {
                        payoffDateIDRef_ = payoffDateNode.Attributes["href"].Value;
                    }
                    else
                    {
                        payoffDate_ = new XsdTypeToken(payoffDateNode);
                    }
                }
                else
                {
                    payoffDate_ = new XsdTypeToken(payoffDateNode);
                }
            }


            XmlNode notionalMaturityPaymentNode = xmlNode.SelectSingleNode("notionalMaturityPayment");

            if (notionalMaturityPaymentNode != null)
            {
                if (notionalMaturityPaymentNode.Attributes["href"] != null || notionalMaturityPaymentNode.Attributes["id"] != null)
                {
                    if (notionalMaturityPaymentNode.Attributes["id"] != null)
                    {
                        notionalMaturityPaymentIDRef_ = notionalMaturityPaymentNode.Attributes["id"].Value;
                        XsdTypeToken ob = new XsdTypeToken(notionalMaturityPaymentNode);
                        IDManager.SetID(notionalMaturityPaymentIDRef_, ob);
                    }
                    else if (notionalMaturityPaymentNode.Attributes["href"] != null)
                    {
                        notionalMaturityPaymentIDRef_ = notionalMaturityPaymentNode.Attributes["href"].Value;
                    }
                    else
                    {
                        notionalMaturityPayment_ = new XsdTypeToken(notionalMaturityPaymentNode);
                    }
                }
                else
                {
                    notionalMaturityPayment_ = new XsdTypeToken(notionalMaturityPaymentNode);
                }
            }


            XmlNodeList excel_multiAsset_compositeOption_subtypeNodeList = xmlNode.SelectNodes("excel_multiAsset_compositeOption_subtype");

            if (excel_multiAsset_compositeOption_subtypeNodeList != null)
            {
                this.excel_multiAsset_compositeOption_subtype_ = new List <Excel_multiAsset_compositeOption_subtype>();
                foreach (XmlNode item in excel_multiAsset_compositeOption_subtypeNodeList)
                {
                    if (item.Attributes["href"] != null || item.Attributes["id"] != null)
                    {
                        if (item.Attributes["id"] != null)
                        {
                            excel_multiAsset_compositeOption_subtypeIDRef_ = item.Attributes["id"].Value;
                            excel_multiAsset_compositeOption_subtype_.Add(new Excel_multiAsset_compositeOption_subtype(item));
                            IDManager.SetID(excel_multiAsset_compositeOption_subtypeIDRef_, excel_multiAsset_compositeOption_subtype_[excel_multiAsset_compositeOption_subtype_.Count - 1]);
                        }
                        else if (item.Attributes["href"] != null)
                        {
                            excel_multiAsset_compositeOption_subtypeIDRef_ = item.Attributes["href"].Value;
                        }
                        else
                        {
                            excel_multiAsset_compositeOption_subtype_.Add(new Excel_multiAsset_compositeOption_subtype(item));
                        }
                    }
                    else
                    {
                        excel_multiAsset_compositeOption_subtype_.Add(new Excel_multiAsset_compositeOption_subtype(item));
                    }
                }
            }
        }
 public Excel_general(XmlNode xmlNode)
 : base(xmlNode)
 {
     XmlNode excel_issueInfoNode = xmlNode.SelectSingleNode("excel_issueInfo");
     
     if (excel_issueInfoNode != null)
     {
         if (excel_issueInfoNode.Attributes["href"] != null || excel_issueInfoNode.Attributes["id"] != null) 
         {
             if (excel_issueInfoNode.Attributes["id"] != null) 
             {
                 excel_issueInfoIDRef_ = excel_issueInfoNode.Attributes["id"].Value;
                 Excel_issueInfo ob = new Excel_issueInfo(excel_issueInfoNode);
                 IDManager.SetID(excel_issueInfoIDRef_, ob);
             }
             else if (excel_issueInfoNode.Attributes["href"] != null)
             {
                 excel_issueInfoIDRef_ = excel_issueInfoNode.Attributes["href"].Value;
             }
             else
             {
                 excel_issueInfo_ = new Excel_issueInfo(excel_issueInfoNode);
             }
         }
         else
         {
             excel_issueInfo_ = new Excel_issueInfo(excel_issueInfoNode);
         }
     }
     
 
     XmlNodeList generalScheduleNodeList = xmlNode.SelectNodes("generalSchedule");
     
     if (generalScheduleNodeList != null)
     {
         this.generalSchedule_ = new List<GeneralSchedule>();
         foreach (XmlNode item in generalScheduleNodeList)
         {
             if (item.Attributes["href"] != null || item.Attributes["id"] != null) 
             {
                 if (item.Attributes["id"] != null) 
                 {
                     generalScheduleIDRef_ = item.Attributes["id"].Value;
                     generalSchedule_.Add(new GeneralSchedule(item));
                     IDManager.SetID(generalScheduleIDRef_, generalSchedule_[generalSchedule_.Count - 1 ]);
                 }
                 else if (item.Attributes["href"] != null)
                 {
                     generalScheduleIDRef_ = item.Attributes["href"].Value;
                 }
                 else
                 {
                 generalSchedule_.Add(new GeneralSchedule(item));
                 }
             }
             else
             {
                 generalSchedule_.Add(new GeneralSchedule(item));
             }
         }
     }
     
 
     XmlNodeList generalTerminationEventNodeList = xmlNode.SelectNodes("generalTerminationEvent");
     
     if (generalTerminationEventNodeList != null)
     {
         this.generalTerminationEvent_ = new List<GeneralTerminationEvent>();
         foreach (XmlNode item in generalTerminationEventNodeList)
         {
             if (item.Attributes["href"] != null || item.Attributes["id"] != null) 
             {
                 if (item.Attributes["id"] != null) 
                 {
                     generalTerminationEventIDRef_ = item.Attributes["id"].Value;
                     generalTerminationEvent_.Add(new GeneralTerminationEvent(item));
                     IDManager.SetID(generalTerminationEventIDRef_, generalTerminationEvent_[generalTerminationEvent_.Count - 1 ]);
                 }
                 else if (item.Attributes["href"] != null)
                 {
                     generalTerminationEventIDRef_ = item.Attributes["href"].Value;
                 }
                 else
                 {
                 generalTerminationEvent_.Add(new GeneralTerminationEvent(item));
                 }
             }
             else
             {
                 generalTerminationEvent_.Add(new GeneralTerminationEvent(item));
             }
         }
     }
     
 
 }
        public Excel_creditEventInfo(XmlNode xmlNode)
            : base(xmlNode)
        {
            XmlNode excel_issueInfoNode = xmlNode.SelectSingleNode("excel_issueInfo");

            if (excel_issueInfoNode != null)
            {
                if (excel_issueInfoNode.Attributes["href"] != null || excel_issueInfoNode.Attributes["id"] != null)
                {
                    if (excel_issueInfoNode.Attributes["id"] != null)
                    {
                        excel_issueInfoIDRef_ = excel_issueInfoNode.Attributes["id"].Value;
                        Excel_issueInfo ob = new Excel_issueInfo(excel_issueInfoNode);
                        IDManager.SetID(excel_issueInfoIDRef_, ob);
                    }
                    else if (excel_issueInfoNode.Attributes["href"] != null)
                    {
                        excel_issueInfoIDRef_ = excel_issueInfoNode.Attributes["href"].Value;
                    }
                    else
                    {
                        excel_issueInfo_ = new Excel_issueInfo(excel_issueInfoNode);
                    }
                }
                else
                {
                    excel_issueInfo_ = new Excel_issueInfo(excel_issueInfoNode);
                }
            }


            XmlNode excel_referenceInformationListNode = xmlNode.SelectSingleNode("excel_referenceInformationList");

            if (excel_referenceInformationListNode != null)
            {
                if (excel_referenceInformationListNode.Attributes["href"] != null || excel_referenceInformationListNode.Attributes["id"] != null)
                {
                    if (excel_referenceInformationListNode.Attributes["id"] != null)
                    {
                        excel_referenceInformationListIDRef_ = excel_referenceInformationListNode.Attributes["id"].Value;
                        Excel_referenceInformationList ob = new Excel_referenceInformationList(excel_referenceInformationListNode);
                        IDManager.SetID(excel_referenceInformationListIDRef_, ob);
                    }
                    else if (excel_referenceInformationListNode.Attributes["href"] != null)
                    {
                        excel_referenceInformationListIDRef_ = excel_referenceInformationListNode.Attributes["href"].Value;
                    }
                    else
                    {
                        excel_referenceInformationList_ = new Excel_referenceInformationList(excel_referenceInformationListNode);
                    }
                }
                else
                {
                    excel_referenceInformationList_ = new Excel_referenceInformationList(excel_referenceInformationListNode);
                }
            }


            XmlNode excel_jointProbabilityTraitNode = xmlNode.SelectSingleNode("excel_jointProbabilityTrait");

            if (excel_jointProbabilityTraitNode != null)
            {
                if (excel_jointProbabilityTraitNode.Attributes["href"] != null || excel_jointProbabilityTraitNode.Attributes["id"] != null)
                {
                    if (excel_jointProbabilityTraitNode.Attributes["id"] != null)
                    {
                        excel_jointProbabilityTraitIDRef_ = excel_jointProbabilityTraitNode.Attributes["id"].Value;
                        Excel_jointProbabilityTrait ob = new Excel_jointProbabilityTrait(excel_jointProbabilityTraitNode);
                        IDManager.SetID(excel_jointProbabilityTraitIDRef_, ob);
                    }
                    else if (excel_jointProbabilityTraitNode.Attributes["href"] != null)
                    {
                        excel_jointProbabilityTraitIDRef_ = excel_jointProbabilityTraitNode.Attributes["href"].Value;
                    }
                    else
                    {
                        excel_jointProbabilityTrait_ = new Excel_jointProbabilityTrait(excel_jointProbabilityTraitNode);
                    }
                }
                else
                {
                    excel_jointProbabilityTrait_ = new Excel_jointProbabilityTrait(excel_jointProbabilityTraitNode);
                }
            }


            XmlNode excel_protectionTermsNode = xmlNode.SelectSingleNode("excel_protectionTerms");

            if (excel_protectionTermsNode != null)
            {
                if (excel_protectionTermsNode.Attributes["href"] != null || excel_protectionTermsNode.Attributes["id"] != null)
                {
                    if (excel_protectionTermsNode.Attributes["id"] != null)
                    {
                        excel_protectionTermsIDRef_ = excel_protectionTermsNode.Attributes["id"].Value;
                        Excel_protectionTerms ob = new Excel_protectionTerms(excel_protectionTermsNode);
                        IDManager.SetID(excel_protectionTermsIDRef_, ob);
                    }
                    else if (excel_protectionTermsNode.Attributes["href"] != null)
                    {
                        excel_protectionTermsIDRef_ = excel_protectionTermsNode.Attributes["href"].Value;
                    }
                    else
                    {
                        excel_protectionTerms_ = new Excel_protectionTerms(excel_protectionTermsNode);
                    }
                }
                else
                {
                    excel_protectionTerms_ = new Excel_protectionTerms(excel_protectionTermsNode);
                }
            }
        }
        public Excel_hifive(XmlNode xmlNode)
            : base(xmlNode)
        {
            XmlNode excel_issueInfoNode = xmlNode.SelectSingleNode("excel_issueInfo");

            if (excel_issueInfoNode != null)
            {
                if (excel_issueInfoNode.Attributes["href"] != null || excel_issueInfoNode.Attributes["id"] != null)
                {
                    if (excel_issueInfoNode.Attributes["id"] != null)
                    {
                        excel_issueInfoIDRef_ = excel_issueInfoNode.Attributes["id"].Value;
                        Excel_issueInfo ob = new Excel_issueInfo(excel_issueInfoNode);
                        IDManager.SetID(excel_issueInfoIDRef_, ob);
                    }
                    else if (excel_issueInfoNode.Attributes["href"] != null)
                    {
                        excel_issueInfoIDRef_ = excel_issueInfoNode.Attributes["href"].Value;
                    }
                    else
                    {
                        excel_issueInfo_ = new Excel_issueInfo(excel_issueInfoNode);
                    }
                }
                else
                {
                    excel_issueInfo_ = new Excel_issueInfo(excel_issueInfoNode);
                }
            }


            XmlNode excel_underlyingCalcInfoNode = xmlNode.SelectSingleNode("excel_underlyingCalcInfo");

            if (excel_underlyingCalcInfoNode != null)
            {
                if (excel_underlyingCalcInfoNode.Attributes["href"] != null || excel_underlyingCalcInfoNode.Attributes["id"] != null)
                {
                    if (excel_underlyingCalcInfoNode.Attributes["id"] != null)
                    {
                        excel_underlyingCalcInfoIDRef_ = excel_underlyingCalcInfoNode.Attributes["id"].Value;
                        Excel_underlyingCalcInfo ob = new Excel_underlyingCalcInfo(excel_underlyingCalcInfoNode);
                        IDManager.SetID(excel_underlyingCalcInfoIDRef_, ob);
                    }
                    else if (excel_underlyingCalcInfoNode.Attributes["href"] != null)
                    {
                        excel_underlyingCalcInfoIDRef_ = excel_underlyingCalcInfoNode.Attributes["href"].Value;
                    }
                    else
                    {
                        excel_underlyingCalcInfo_ = new Excel_underlyingCalcInfo(excel_underlyingCalcInfoNode);
                    }
                }
                else
                {
                    excel_underlyingCalcInfo_ = new Excel_underlyingCalcInfo(excel_underlyingCalcInfoNode);
                }
            }


            XmlNode excel_hifive_subtypeNode = xmlNode.SelectSingleNode("excel_hifive_subtype");

            if (excel_hifive_subtypeNode != null)
            {
                if (excel_hifive_subtypeNode.Attributes["href"] != null || excel_hifive_subtypeNode.Attributes["id"] != null)
                {
                    if (excel_hifive_subtypeNode.Attributes["id"] != null)
                    {
                        excel_hifive_subtypeIDRef_ = excel_hifive_subtypeNode.Attributes["id"].Value;
                        Excel_hifive_subtype ob = new Excel_hifive_subtype(excel_hifive_subtypeNode);
                        IDManager.SetID(excel_hifive_subtypeIDRef_, ob);
                    }
                    else if (excel_hifive_subtypeNode.Attributes["href"] != null)
                    {
                        excel_hifive_subtypeIDRef_ = excel_hifive_subtypeNode.Attributes["href"].Value;
                    }
                    else
                    {
                        excel_hifive_subtype_ = new Excel_hifive_subtype(excel_hifive_subtypeNode);
                    }
                }
                else
                {
                    excel_hifive_subtype_ = new Excel_hifive_subtype(excel_hifive_subtypeNode);
                }
            }


            XmlNode excel_scheduleListNode = xmlNode.SelectSingleNode("excel_scheduleList");

            if (excel_scheduleListNode != null)
            {
                if (excel_scheduleListNode.Attributes["href"] != null || excel_scheduleListNode.Attributes["id"] != null)
                {
                    if (excel_scheduleListNode.Attributes["id"] != null)
                    {
                        excel_scheduleListIDRef_ = excel_scheduleListNode.Attributes["id"].Value;
                        Excel_scheduleList ob = new Excel_scheduleList(excel_scheduleListNode);
                        IDManager.SetID(excel_scheduleListIDRef_, ob);
                    }
                    else if (excel_scheduleListNode.Attributes["href"] != null)
                    {
                        excel_scheduleListIDRef_ = excel_scheduleListNode.Attributes["href"].Value;
                    }
                    else
                    {
                        excel_scheduleList_ = new Excel_scheduleList(excel_scheduleListNode);
                    }
                }
                else
                {
                    excel_scheduleList_ = new Excel_scheduleList(excel_scheduleListNode);
                }
            }


            XmlNode excel_kiEventCalculationNode = xmlNode.SelectSingleNode("excel_kiEventCalculation");

            if (excel_kiEventCalculationNode != null)
            {
                if (excel_kiEventCalculationNode.Attributes["href"] != null || excel_kiEventCalculationNode.Attributes["id"] != null)
                {
                    if (excel_kiEventCalculationNode.Attributes["id"] != null)
                    {
                        excel_kiEventCalculationIDRef_ = excel_kiEventCalculationNode.Attributes["id"].Value;
                        Excel_kiEventCalculation ob = new Excel_kiEventCalculation(excel_kiEventCalculationNode);
                        IDManager.SetID(excel_kiEventCalculationIDRef_, ob);
                    }
                    else if (excel_kiEventCalculationNode.Attributes["href"] != null)
                    {
                        excel_kiEventCalculationIDRef_ = excel_kiEventCalculationNode.Attributes["href"].Value;
                    }
                    else
                    {
                        excel_kiEventCalculation_ = new Excel_kiEventCalculation(excel_kiEventCalculationNode);
                    }
                }
                else
                {
                    excel_kiEventCalculation_ = new Excel_kiEventCalculation(excel_kiEventCalculationNode);
                }
            }
        }
        public Excel_structuredSwap(XmlNode xmlNode)
            : base(xmlNode)
        {
            XmlNode excel_issueInfoNode = xmlNode.SelectSingleNode("excel_issueInfo");

            if (excel_issueInfoNode != null)
            {
                if (excel_issueInfoNode.Attributes["href"] != null || excel_issueInfoNode.Attributes["id"] != null)
                {
                    if (excel_issueInfoNode.Attributes["id"] != null)
                    {
                        excel_issueInfoIDRef_ = excel_issueInfoNode.Attributes["id"].Value;
                        Excel_issueInfo ob = new Excel_issueInfo(excel_issueInfoNode);
                        IDManager.SetID(excel_issueInfoIDRef_, ob);
                    }
                    else if (excel_issueInfoNode.Attributes["href"] != null)
                    {
                        excel_issueInfoIDRef_ = excel_issueInfoNode.Attributes["href"].Value;
                    }
                    else
                    {
                        excel_issueInfo_ = new Excel_issueInfo(excel_issueInfoNode);
                    }
                }
                else
                {
                    excel_issueInfo_ = new Excel_issueInfo(excel_issueInfoNode);
                }
            }


            XmlNodeList excel_swapLegNodeList = xmlNode.SelectNodes("excel_swapLeg");

            if (excel_swapLegNodeList != null)
            {
                this.excel_swapLeg_ = new List <Excel_swapLeg>();
                foreach (XmlNode item in excel_swapLegNodeList)
                {
                    if (item.Attributes["href"] != null || item.Attributes["id"] != null)
                    {
                        if (item.Attributes["id"] != null)
                        {
                            excel_swapLegIDRef_ = item.Attributes["id"].Value;
                            excel_swapLeg_.Add(new Excel_swapLeg(item));
                            IDManager.SetID(excel_swapLegIDRef_, excel_swapLeg_[excel_swapLeg_.Count - 1]);
                        }
                        else if (item.Attributes["href"] != null)
                        {
                            excel_swapLegIDRef_ = item.Attributes["href"].Value;
                        }
                        else
                        {
                            excel_swapLeg_.Add(new Excel_swapLeg(item));
                        }
                    }
                    else
                    {
                        excel_swapLeg_.Add(new Excel_swapLeg(item));
                    }
                }
            }
        }
        public Excel_general(XmlNode xmlNode)
            : base(xmlNode)
        {
            XmlNode excel_issueInfoNode = xmlNode.SelectSingleNode("excel_issueInfo");

            if (excel_issueInfoNode != null)
            {
                if (excel_issueInfoNode.Attributes["href"] != null || excel_issueInfoNode.Attributes["id"] != null)
                {
                    if (excel_issueInfoNode.Attributes["id"] != null)
                    {
                        excel_issueInfoIDRef_ = excel_issueInfoNode.Attributes["id"].Value;
                        Excel_issueInfo ob = new Excel_issueInfo(excel_issueInfoNode);
                        IDManager.SetID(excel_issueInfoIDRef_, ob);
                    }
                    else if (excel_issueInfoNode.Attributes["href"] != null)
                    {
                        excel_issueInfoIDRef_ = excel_issueInfoNode.Attributes["href"].Value;
                    }
                    else
                    {
                        excel_issueInfo_ = new Excel_issueInfo(excel_issueInfoNode);
                    }
                }
                else
                {
                    excel_issueInfo_ = new Excel_issueInfo(excel_issueInfoNode);
                }
            }


            XmlNodeList generalScheduleNodeList = xmlNode.SelectNodes("generalSchedule");

            if (generalScheduleNodeList != null)
            {
                this.generalSchedule_ = new List <GeneralSchedule>();
                foreach (XmlNode item in generalScheduleNodeList)
                {
                    if (item.Attributes["href"] != null || item.Attributes["id"] != null)
                    {
                        if (item.Attributes["id"] != null)
                        {
                            generalScheduleIDRef_ = item.Attributes["id"].Value;
                            generalSchedule_.Add(new GeneralSchedule(item));
                            IDManager.SetID(generalScheduleIDRef_, generalSchedule_[generalSchedule_.Count - 1]);
                        }
                        else if (item.Attributes["href"] != null)
                        {
                            generalScheduleIDRef_ = item.Attributes["href"].Value;
                        }
                        else
                        {
                            generalSchedule_.Add(new GeneralSchedule(item));
                        }
                    }
                    else
                    {
                        generalSchedule_.Add(new GeneralSchedule(item));
                    }
                }
            }


            XmlNodeList generalTerminationEventNodeList = xmlNode.SelectNodes("generalTerminationEvent");

            if (generalTerminationEventNodeList != null)
            {
                this.generalTerminationEvent_ = new List <GeneralTerminationEvent>();
                foreach (XmlNode item in generalTerminationEventNodeList)
                {
                    if (item.Attributes["href"] != null || item.Attributes["id"] != null)
                    {
                        if (item.Attributes["id"] != null)
                        {
                            generalTerminationEventIDRef_ = item.Attributes["id"].Value;
                            generalTerminationEvent_.Add(new GeneralTerminationEvent(item));
                            IDManager.SetID(generalTerminationEventIDRef_, generalTerminationEvent_[generalTerminationEvent_.Count - 1]);
                        }
                        else if (item.Attributes["href"] != null)
                        {
                            generalTerminationEventIDRef_ = item.Attributes["href"].Value;
                        }
                        else
                        {
                            generalTerminationEvent_.Add(new GeneralTerminationEvent(item));
                        }
                    }
                    else
                    {
                        generalTerminationEvent_.Add(new GeneralTerminationEvent(item));
                    }
                }
            }
        }
 public Excel_structuredSwap(XmlNode xmlNode)
 : base(xmlNode)
 {
     XmlNode excel_issueInfoNode = xmlNode.SelectSingleNode("excel_issueInfo");
     
     if (excel_issueInfoNode != null)
     {
         if (excel_issueInfoNode.Attributes["href"] != null || excel_issueInfoNode.Attributes["id"] != null) 
         {
             if (excel_issueInfoNode.Attributes["id"] != null) 
             {
                 excel_issueInfoIDRef_ = excel_issueInfoNode.Attributes["id"].Value;
                 Excel_issueInfo ob = new Excel_issueInfo(excel_issueInfoNode);
                 IDManager.SetID(excel_issueInfoIDRef_, ob);
             }
             else if (excel_issueInfoNode.Attributes["href"] != null)
             {
                 excel_issueInfoIDRef_ = excel_issueInfoNode.Attributes["href"].Value;
             }
             else
             {
                 excel_issueInfo_ = new Excel_issueInfo(excel_issueInfoNode);
             }
         }
         else
         {
             excel_issueInfo_ = new Excel_issueInfo(excel_issueInfoNode);
         }
     }
     
 
     XmlNodeList excel_swapLegNodeList = xmlNode.SelectNodes("excel_swapLeg");
     
     if (excel_swapLegNodeList != null)
     {
         this.excel_swapLeg_ = new List<Excel_swapLeg>();
         foreach (XmlNode item in excel_swapLegNodeList)
         {
             if (item.Attributes["href"] != null || item.Attributes["id"] != null) 
             {
                 if (item.Attributes["id"] != null) 
                 {
                     excel_swapLegIDRef_ = item.Attributes["id"].Value;
                     excel_swapLeg_.Add(new Excel_swapLeg(item));
                     IDManager.SetID(excel_swapLegIDRef_, excel_swapLeg_[excel_swapLeg_.Count - 1 ]);
                 }
                 else if (item.Attributes["href"] != null)
                 {
                     excel_swapLegIDRef_ = item.Attributes["href"].Value;
                 }
                 else
                 {
                 excel_swapLeg_.Add(new Excel_swapLeg(item));
                 }
             }
             else
             {
                 excel_swapLeg_.Add(new Excel_swapLeg(item));
             }
         }
     }
     
 
 }
        public Excel_fxSwap(XmlNode xmlNode)
            : base(xmlNode)
        {
            XmlNode excel_issueInfoNode = xmlNode.SelectSingleNode("excel_issueInfo");

            if (excel_issueInfoNode != null)
            {
                if (excel_issueInfoNode.Attributes["href"] != null || excel_issueInfoNode.Attributes["id"] != null)
                {
                    if (excel_issueInfoNode.Attributes["id"] != null)
                    {
                        excel_issueInfoIDRef_ = excel_issueInfoNode.Attributes["id"].Value;
                        Excel_issueInfo ob = new Excel_issueInfo(excel_issueInfoNode);
                        IDManager.SetID(excel_issueInfoIDRef_, ob);
                    }
                    else if (excel_issueInfoNode.Attributes["href"] != null)
                    {
                        excel_issueInfoIDRef_ = excel_issueInfoNode.Attributes["href"].Value;
                    }
                    else
                    {
                        excel_issueInfo_ = new Excel_issueInfo(excel_issueInfoNode);
                    }
                }
                else
                {
                    excel_issueInfo_ = new Excel_issueInfo(excel_issueInfoNode);
                }
            }


            XmlNodeList fx_exchangeLegNodeList = xmlNode.SelectNodes("fx_exchangeLeg");

            if (fx_exchangeLegNodeList != null)
            {
                this.fx_exchangeLeg_ = new List <Fx_exchangeLeg>();
                foreach (XmlNode item in fx_exchangeLegNodeList)
                {
                    if (item.Attributes["href"] != null || item.Attributes["id"] != null)
                    {
                        if (item.Attributes["id"] != null)
                        {
                            fx_exchangeLegIDRef_ = item.Attributes["id"].Value;
                            fx_exchangeLeg_.Add(new Fx_exchangeLeg(item));
                            IDManager.SetID(fx_exchangeLegIDRef_, fx_exchangeLeg_[fx_exchangeLeg_.Count - 1]);
                        }
                        else if (item.Attributes["href"] != null)
                        {
                            fx_exchangeLegIDRef_ = item.Attributes["href"].Value;
                        }
                        else
                        {
                            fx_exchangeLeg_.Add(new Fx_exchangeLeg(item));
                        }
                    }
                    else
                    {
                        fx_exchangeLeg_.Add(new Fx_exchangeLeg(item));
                    }
                }
            }
        }
 public Excel_stepDownKICustom(XmlNode xmlNode)
 : base(xmlNode)
 {
     XmlNode excel_issueInfoNode = xmlNode.SelectSingleNode("excel_issueInfo");
     
     if (excel_issueInfoNode != null)
     {
         if (excel_issueInfoNode.Attributes["href"] != null || excel_issueInfoNode.Attributes["id"] != null) 
         {
             if (excel_issueInfoNode.Attributes["id"] != null) 
             {
                 excel_issueInfoIDRef_ = excel_issueInfoNode.Attributes["id"].Value;
                 Excel_issueInfo ob = new Excel_issueInfo(excel_issueInfoNode);
                 IDManager.SetID(excel_issueInfoIDRef_, ob);
             }
             else if (excel_issueInfoNode.Attributes["href"] != null)
             {
                 excel_issueInfoIDRef_ = excel_issueInfoNode.Attributes["href"].Value;
             }
             else
             {
                 excel_issueInfo_ = new Excel_issueInfo(excel_issueInfoNode);
             }
         }
         else
         {
             excel_issueInfo_ = new Excel_issueInfo(excel_issueInfoNode);
         }
     }
     
 
     XmlNode excel_underlyingCalcInfoNode = xmlNode.SelectSingleNode("excel_underlyingCalcInfo");
     
     if (excel_underlyingCalcInfoNode != null)
     {
         if (excel_underlyingCalcInfoNode.Attributes["href"] != null || excel_underlyingCalcInfoNode.Attributes["id"] != null) 
         {
             if (excel_underlyingCalcInfoNode.Attributes["id"] != null) 
             {
                 excel_underlyingCalcInfoIDRef_ = excel_underlyingCalcInfoNode.Attributes["id"].Value;
                 Excel_underlyingCalcInfo ob = new Excel_underlyingCalcInfo(excel_underlyingCalcInfoNode);
                 IDManager.SetID(excel_underlyingCalcInfoIDRef_, ob);
             }
             else if (excel_underlyingCalcInfoNode.Attributes["href"] != null)
             {
                 excel_underlyingCalcInfoIDRef_ = excel_underlyingCalcInfoNode.Attributes["href"].Value;
             }
             else
             {
                 excel_underlyingCalcInfo_ = new Excel_underlyingCalcInfo(excel_underlyingCalcInfoNode);
             }
         }
         else
         {
             excel_underlyingCalcInfo_ = new Excel_underlyingCalcInfo(excel_underlyingCalcInfoNode);
         }
     }
     
 
     XmlNode excel_hifive_subtypeNode = xmlNode.SelectSingleNode("excel_hifive_subtype");
     
     if (excel_hifive_subtypeNode != null)
     {
         if (excel_hifive_subtypeNode.Attributes["href"] != null || excel_hifive_subtypeNode.Attributes["id"] != null) 
         {
             if (excel_hifive_subtypeNode.Attributes["id"] != null) 
             {
                 excel_hifive_subtypeIDRef_ = excel_hifive_subtypeNode.Attributes["id"].Value;
                 Excel_hifive_subtype ob = new Excel_hifive_subtype(excel_hifive_subtypeNode);
                 IDManager.SetID(excel_hifive_subtypeIDRef_, ob);
             }
             else if (excel_hifive_subtypeNode.Attributes["href"] != null)
             {
                 excel_hifive_subtypeIDRef_ = excel_hifive_subtypeNode.Attributes["href"].Value;
             }
             else
             {
                 excel_hifive_subtype_ = new Excel_hifive_subtype(excel_hifive_subtypeNode);
             }
         }
         else
         {
             excel_hifive_subtype_ = new Excel_hifive_subtype(excel_hifive_subtypeNode);
         }
     }
     
 
 }
 public Excel_fixedBond(XmlNode xmlNode)
 : base(xmlNode)
 {
     XmlNode excel_issueInfoNode = xmlNode.SelectSingleNode("excel_issueInfo");
     
     if (excel_issueInfoNode != null)
     {
         if (excel_issueInfoNode.Attributes["href"] != null || excel_issueInfoNode.Attributes["id"] != null) 
         {
             if (excel_issueInfoNode.Attributes["id"] != null) 
             {
                 excel_issueInfoIDRef_ = excel_issueInfoNode.Attributes["id"].Value;
                 Excel_issueInfo ob = new Excel_issueInfo(excel_issueInfoNode);
                 IDManager.SetID(excel_issueInfoIDRef_, ob);
             }
             else if (excel_issueInfoNode.Attributes["href"] != null)
             {
                 excel_issueInfoIDRef_ = excel_issueInfoNode.Attributes["href"].Value;
             }
             else
             {
                 excel_issueInfo_ = new Excel_issueInfo(excel_issueInfoNode);
             }
         }
         else
         {
             excel_issueInfo_ = new Excel_issueInfo(excel_issueInfoNode);
         }
     }
     
 
     XmlNode excel_fixedCouponScheduleListNode = xmlNode.SelectSingleNode("excel_fixedCouponScheduleList");
     
     if (excel_fixedCouponScheduleListNode != null)
     {
         if (excel_fixedCouponScheduleListNode.Attributes["href"] != null || excel_fixedCouponScheduleListNode.Attributes["id"] != null) 
         {
             if (excel_fixedCouponScheduleListNode.Attributes["id"] != null) 
             {
                 excel_fixedCouponScheduleListIDRef_ = excel_fixedCouponScheduleListNode.Attributes["id"].Value;
                 Excel_fixedCouponScheduleList ob = new Excel_fixedCouponScheduleList(excel_fixedCouponScheduleListNode);
                 IDManager.SetID(excel_fixedCouponScheduleListIDRef_, ob);
             }
             else if (excel_fixedCouponScheduleListNode.Attributes["href"] != null)
             {
                 excel_fixedCouponScheduleListIDRef_ = excel_fixedCouponScheduleListNode.Attributes["href"].Value;
             }
             else
             {
                 excel_fixedCouponScheduleList_ = new Excel_fixedCouponScheduleList(excel_fixedCouponScheduleListNode);
             }
         }
         else
         {
             excel_fixedCouponScheduleList_ = new Excel_fixedCouponScheduleList(excel_fixedCouponScheduleListNode);
         }
     }
     
 
     XmlNode excel_fixedBond_subtypeNode = xmlNode.SelectSingleNode("excel_fixedBond_subtype");
     
     if (excel_fixedBond_subtypeNode != null)
     {
         if (excel_fixedBond_subtypeNode.Attributes["href"] != null || excel_fixedBond_subtypeNode.Attributes["id"] != null) 
         {
             if (excel_fixedBond_subtypeNode.Attributes["id"] != null) 
             {
                 excel_fixedBond_subtypeIDRef_ = excel_fixedBond_subtypeNode.Attributes["id"].Value;
                 Excel_fixedBond_subtype ob = new Excel_fixedBond_subtype(excel_fixedBond_subtypeNode);
                 IDManager.SetID(excel_fixedBond_subtypeIDRef_, ob);
             }
             else if (excel_fixedBond_subtypeNode.Attributes["href"] != null)
             {
                 excel_fixedBond_subtypeIDRef_ = excel_fixedBond_subtypeNode.Attributes["href"].Value;
             }
             else
             {
                 excel_fixedBond_subtype_ = new Excel_fixedBond_subtype(excel_fixedBond_subtypeNode);
             }
         }
         else
         {
             excel_fixedBond_subtype_ = new Excel_fixedBond_subtype(excel_fixedBond_subtypeNode);
         }
     }
     
 
 }
        public Excel_stepDownKICustom(XmlNode xmlNode)
            : base(xmlNode)
        {
            XmlNode excel_issueInfoNode = xmlNode.SelectSingleNode("excel_issueInfo");

            if (excel_issueInfoNode != null)
            {
                if (excel_issueInfoNode.Attributes["href"] != null || excel_issueInfoNode.Attributes["id"] != null)
                {
                    if (excel_issueInfoNode.Attributes["id"] != null)
                    {
                        excel_issueInfoIDRef_ = excel_issueInfoNode.Attributes["id"].Value;
                        Excel_issueInfo ob = new Excel_issueInfo(excel_issueInfoNode);
                        IDManager.SetID(excel_issueInfoIDRef_, ob);
                    }
                    else if (excel_issueInfoNode.Attributes["href"] != null)
                    {
                        excel_issueInfoIDRef_ = excel_issueInfoNode.Attributes["href"].Value;
                    }
                    else
                    {
                        excel_issueInfo_ = new Excel_issueInfo(excel_issueInfoNode);
                    }
                }
                else
                {
                    excel_issueInfo_ = new Excel_issueInfo(excel_issueInfoNode);
                }
            }


            XmlNode excel_underlyingCalcInfoNode = xmlNode.SelectSingleNode("excel_underlyingCalcInfo");

            if (excel_underlyingCalcInfoNode != null)
            {
                if (excel_underlyingCalcInfoNode.Attributes["href"] != null || excel_underlyingCalcInfoNode.Attributes["id"] != null)
                {
                    if (excel_underlyingCalcInfoNode.Attributes["id"] != null)
                    {
                        excel_underlyingCalcInfoIDRef_ = excel_underlyingCalcInfoNode.Attributes["id"].Value;
                        Excel_underlyingCalcInfo ob = new Excel_underlyingCalcInfo(excel_underlyingCalcInfoNode);
                        IDManager.SetID(excel_underlyingCalcInfoIDRef_, ob);
                    }
                    else if (excel_underlyingCalcInfoNode.Attributes["href"] != null)
                    {
                        excel_underlyingCalcInfoIDRef_ = excel_underlyingCalcInfoNode.Attributes["href"].Value;
                    }
                    else
                    {
                        excel_underlyingCalcInfo_ = new Excel_underlyingCalcInfo(excel_underlyingCalcInfoNode);
                    }
                }
                else
                {
                    excel_underlyingCalcInfo_ = new Excel_underlyingCalcInfo(excel_underlyingCalcInfoNode);
                }
            }


            XmlNode excel_hifive_subtypeNode = xmlNode.SelectSingleNode("excel_hifive_subtype");

            if (excel_hifive_subtypeNode != null)
            {
                if (excel_hifive_subtypeNode.Attributes["href"] != null || excel_hifive_subtypeNode.Attributes["id"] != null)
                {
                    if (excel_hifive_subtypeNode.Attributes["id"] != null)
                    {
                        excel_hifive_subtypeIDRef_ = excel_hifive_subtypeNode.Attributes["id"].Value;
                        Excel_hifive_subtype ob = new Excel_hifive_subtype(excel_hifive_subtypeNode);
                        IDManager.SetID(excel_hifive_subtypeIDRef_, ob);
                    }
                    else if (excel_hifive_subtypeNode.Attributes["href"] != null)
                    {
                        excel_hifive_subtypeIDRef_ = excel_hifive_subtypeNode.Attributes["href"].Value;
                    }
                    else
                    {
                        excel_hifive_subtype_ = new Excel_hifive_subtype(excel_hifive_subtypeNode);
                    }
                }
                else
                {
                    excel_hifive_subtype_ = new Excel_hifive_subtype(excel_hifive_subtypeNode);
                }
            }
        }
 public Excel_creditEventInfo(XmlNode xmlNode)
 : base(xmlNode)
 {
     XmlNode excel_issueInfoNode = xmlNode.SelectSingleNode("excel_issueInfo");
     
     if (excel_issueInfoNode != null)
     {
         if (excel_issueInfoNode.Attributes["href"] != null || excel_issueInfoNode.Attributes["id"] != null) 
         {
             if (excel_issueInfoNode.Attributes["id"] != null) 
             {
                 excel_issueInfoIDRef_ = excel_issueInfoNode.Attributes["id"].Value;
                 Excel_issueInfo ob = new Excel_issueInfo(excel_issueInfoNode);
                 IDManager.SetID(excel_issueInfoIDRef_, ob);
             }
             else if (excel_issueInfoNode.Attributes["href"] != null)
             {
                 excel_issueInfoIDRef_ = excel_issueInfoNode.Attributes["href"].Value;
             }
             else
             {
                 excel_issueInfo_ = new Excel_issueInfo(excel_issueInfoNode);
             }
         }
         else
         {
             excel_issueInfo_ = new Excel_issueInfo(excel_issueInfoNode);
         }
     }
     
 
     XmlNode excel_referenceInformationListNode = xmlNode.SelectSingleNode("excel_referenceInformationList");
     
     if (excel_referenceInformationListNode != null)
     {
         if (excel_referenceInformationListNode.Attributes["href"] != null || excel_referenceInformationListNode.Attributes["id"] != null) 
         {
             if (excel_referenceInformationListNode.Attributes["id"] != null) 
             {
                 excel_referenceInformationListIDRef_ = excel_referenceInformationListNode.Attributes["id"].Value;
                 Excel_referenceInformationList ob = new Excel_referenceInformationList(excel_referenceInformationListNode);
                 IDManager.SetID(excel_referenceInformationListIDRef_, ob);
             }
             else if (excel_referenceInformationListNode.Attributes["href"] != null)
             {
                 excel_referenceInformationListIDRef_ = excel_referenceInformationListNode.Attributes["href"].Value;
             }
             else
             {
                 excel_referenceInformationList_ = new Excel_referenceInformationList(excel_referenceInformationListNode);
             }
         }
         else
         {
             excel_referenceInformationList_ = new Excel_referenceInformationList(excel_referenceInformationListNode);
         }
     }
     
 
     XmlNode excel_jointProbabilityTraitNode = xmlNode.SelectSingleNode("excel_jointProbabilityTrait");
     
     if (excel_jointProbabilityTraitNode != null)
     {
         if (excel_jointProbabilityTraitNode.Attributes["href"] != null || excel_jointProbabilityTraitNode.Attributes["id"] != null) 
         {
             if (excel_jointProbabilityTraitNode.Attributes["id"] != null) 
             {
                 excel_jointProbabilityTraitIDRef_ = excel_jointProbabilityTraitNode.Attributes["id"].Value;
                 Excel_jointProbabilityTrait ob = new Excel_jointProbabilityTrait(excel_jointProbabilityTraitNode);
                 IDManager.SetID(excel_jointProbabilityTraitIDRef_, ob);
             }
             else if (excel_jointProbabilityTraitNode.Attributes["href"] != null)
             {
                 excel_jointProbabilityTraitIDRef_ = excel_jointProbabilityTraitNode.Attributes["href"].Value;
             }
             else
             {
                 excel_jointProbabilityTrait_ = new Excel_jointProbabilityTrait(excel_jointProbabilityTraitNode);
             }
         }
         else
         {
             excel_jointProbabilityTrait_ = new Excel_jointProbabilityTrait(excel_jointProbabilityTraitNode);
         }
     }
     
 
     XmlNode excel_protectionTermsNode = xmlNode.SelectSingleNode("excel_protectionTerms");
     
     if (excel_protectionTermsNode != null)
     {
         if (excel_protectionTermsNode.Attributes["href"] != null || excel_protectionTermsNode.Attributes["id"] != null) 
         {
             if (excel_protectionTermsNode.Attributes["id"] != null) 
             {
                 excel_protectionTermsIDRef_ = excel_protectionTermsNode.Attributes["id"].Value;
                 Excel_protectionTerms ob = new Excel_protectionTerms(excel_protectionTermsNode);
                 IDManager.SetID(excel_protectionTermsIDRef_, ob);
             }
             else if (excel_protectionTermsNode.Attributes["href"] != null)
             {
                 excel_protectionTermsIDRef_ = excel_protectionTermsNode.Attributes["href"].Value;
             }
             else
             {
                 excel_protectionTerms_ = new Excel_protectionTerms(excel_protectionTermsNode);
             }
         }
         else
         {
             excel_protectionTerms_ = new Excel_protectionTerms(excel_protectionTermsNode);
         }
     }
     
 
 }