Esempio n. 1
0
        public Excel_vanillaFloatingBond(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_vanillaFloatingCouponScheduleListNode = xmlNode.SelectSingleNode("excel_vanillaFloatingCouponScheduleList");

            if (excel_vanillaFloatingCouponScheduleListNode != null)
            {
                if (excel_vanillaFloatingCouponScheduleListNode.Attributes["href"] != null || excel_vanillaFloatingCouponScheduleListNode.Attributes["id"] != null)
                {
                    if (excel_vanillaFloatingCouponScheduleListNode.Attributes["id"] != null)
                    {
                        excel_vanillaFloatingCouponScheduleListIDRef_ = excel_vanillaFloatingCouponScheduleListNode.Attributes["id"].Value;
                        Excel_vanillaFloatingCouponScheduleList ob = new Excel_vanillaFloatingCouponScheduleList(excel_vanillaFloatingCouponScheduleListNode);
                        IDManager.SetID(excel_vanillaFloatingCouponScheduleListIDRef_, ob);
                    }
                    else if (excel_vanillaFloatingCouponScheduleListNode.Attributes["href"] != null)
                    {
                        excel_vanillaFloatingCouponScheduleListIDRef_ = excel_vanillaFloatingCouponScheduleListNode.Attributes["href"].Value;
                    }
                    else
                    {
                        excel_vanillaFloatingCouponScheduleList_ = new Excel_vanillaFloatingCouponScheduleList(excel_vanillaFloatingCouponScheduleListNode);
                    }
                }
                else
                {
                    excel_vanillaFloatingCouponScheduleList_ = new Excel_vanillaFloatingCouponScheduleList(excel_vanillaFloatingCouponScheduleListNode);
                }
            }


            XmlNode excel_vanillaFloatingBond_subtypeNode = xmlNode.SelectSingleNode("excel_vanillaFloatingBond_subtype");

            if (excel_vanillaFloatingBond_subtypeNode != null)
            {
                if (excel_vanillaFloatingBond_subtypeNode.Attributes["href"] != null || excel_vanillaFloatingBond_subtypeNode.Attributes["id"] != null)
                {
                    if (excel_vanillaFloatingBond_subtypeNode.Attributes["id"] != null)
                    {
                        excel_vanillaFloatingBond_subtypeIDRef_ = excel_vanillaFloatingBond_subtypeNode.Attributes["id"].Value;
                        Excel_vanillaFloatingBond_subtype ob = new Excel_vanillaFloatingBond_subtype(excel_vanillaFloatingBond_subtypeNode);
                        IDManager.SetID(excel_vanillaFloatingBond_subtypeIDRef_, ob);
                    }
                    else if (excel_vanillaFloatingBond_subtypeNode.Attributes["href"] != null)
                    {
                        excel_vanillaFloatingBond_subtypeIDRef_ = excel_vanillaFloatingBond_subtypeNode.Attributes["href"].Value;
                    }
                    else
                    {
                        excel_vanillaFloatingBond_subtype_ = new Excel_vanillaFloatingBond_subtype(excel_vanillaFloatingBond_subtypeNode);
                    }
                }
                else
                {
                    excel_vanillaFloatingBond_subtype_ = new Excel_vanillaFloatingBond_subtype(excel_vanillaFloatingBond_subtypeNode);
                }
            }
        }
 public Excel_vanillaFloatingBond(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_vanillaFloatingCouponScheduleListNode = xmlNode.SelectSingleNode("excel_vanillaFloatingCouponScheduleList");
     
     if (excel_vanillaFloatingCouponScheduleListNode != null)
     {
         if (excel_vanillaFloatingCouponScheduleListNode.Attributes["href"] != null || excel_vanillaFloatingCouponScheduleListNode.Attributes["id"] != null) 
         {
             if (excel_vanillaFloatingCouponScheduleListNode.Attributes["id"] != null) 
             {
                 excel_vanillaFloatingCouponScheduleListIDRef_ = excel_vanillaFloatingCouponScheduleListNode.Attributes["id"].Value;
                 Excel_vanillaFloatingCouponScheduleList ob = new Excel_vanillaFloatingCouponScheduleList(excel_vanillaFloatingCouponScheduleListNode);
                 IDManager.SetID(excel_vanillaFloatingCouponScheduleListIDRef_, ob);
             }
             else if (excel_vanillaFloatingCouponScheduleListNode.Attributes["href"] != null)
             {
                 excel_vanillaFloatingCouponScheduleListIDRef_ = excel_vanillaFloatingCouponScheduleListNode.Attributes["href"].Value;
             }
             else
             {
                 excel_vanillaFloatingCouponScheduleList_ = new Excel_vanillaFloatingCouponScheduleList(excel_vanillaFloatingCouponScheduleListNode);
             }
         }
         else
         {
             excel_vanillaFloatingCouponScheduleList_ = new Excel_vanillaFloatingCouponScheduleList(excel_vanillaFloatingCouponScheduleListNode);
         }
     }
     
 
     XmlNode excel_vanillaFloatingBond_subtypeNode = xmlNode.SelectSingleNode("excel_vanillaFloatingBond_subtype");
     
     if (excel_vanillaFloatingBond_subtypeNode != null)
     {
         if (excel_vanillaFloatingBond_subtypeNode.Attributes["href"] != null || excel_vanillaFloatingBond_subtypeNode.Attributes["id"] != null) 
         {
             if (excel_vanillaFloatingBond_subtypeNode.Attributes["id"] != null) 
             {
                 excel_vanillaFloatingBond_subtypeIDRef_ = excel_vanillaFloatingBond_subtypeNode.Attributes["id"].Value;
                 Excel_vanillaFloatingBond_subtype ob = new Excel_vanillaFloatingBond_subtype(excel_vanillaFloatingBond_subtypeNode);
                 IDManager.SetID(excel_vanillaFloatingBond_subtypeIDRef_, ob);
             }
             else if (excel_vanillaFloatingBond_subtypeNode.Attributes["href"] != null)
             {
                 excel_vanillaFloatingBond_subtypeIDRef_ = excel_vanillaFloatingBond_subtypeNode.Attributes["href"].Value;
             }
             else
             {
                 excel_vanillaFloatingBond_subtype_ = new Excel_vanillaFloatingBond_subtype(excel_vanillaFloatingBond_subtypeNode);
             }
         }
         else
         {
             excel_vanillaFloatingBond_subtype_ = new Excel_vanillaFloatingBond_subtype(excel_vanillaFloatingBond_subtypeNode);
         }
     }
     
 
 }