public Excel_structuredSwapLeg(XmlNode xmlNode)
 : base(xmlNode)
 {
     XmlNode excel_swapLegInfoNode = xmlNode.SelectSingleNode("excel_swapLegInfo");
     
     if (excel_swapLegInfoNode != null)
     {
         if (excel_swapLegInfoNode.Attributes["href"] != null || excel_swapLegInfoNode.Attributes["id"] != null) 
         {
             if (excel_swapLegInfoNode.Attributes["id"] != null) 
             {
                 excel_swapLegInfoIDRef_ = excel_swapLegInfoNode.Attributes["id"].Value;
                 Excel_swapLegInfo ob = new Excel_swapLegInfo(excel_swapLegInfoNode);
                 IDManager.SetID(excel_swapLegInfoIDRef_, ob);
             }
             else if (excel_swapLegInfoNode.Attributes["href"] != null)
             {
                 excel_swapLegInfoIDRef_ = excel_swapLegInfoNode.Attributes["href"].Value;
             }
             else
             {
                 excel_swapLegInfo_ = new Excel_swapLegInfo(excel_swapLegInfoNode);
             }
         }
         else
         {
             excel_swapLegInfo_ = new Excel_swapLegInfo(excel_swapLegInfoNode);
         }
     }
     
 
     XmlNode excel_interfaceNode = xmlNode.SelectSingleNode("excel_interface");
     
     if (excel_interfaceNode != null)
     {
         if (excel_interfaceNode.Attributes["href"] != null || excel_interfaceNode.Attributes["id"] != null) 
         {
             if (excel_interfaceNode.Attributes["id"] != null) 
             {
                 excel_interfaceIDRef_ = excel_interfaceNode.Attributes["id"].Value;
                 Excel_interface ob = new Excel_interface(excel_interfaceNode);
                 IDManager.SetID(excel_interfaceIDRef_, ob);
             }
             else if (excel_interfaceNode.Attributes["href"] != null)
             {
                 excel_interfaceIDRef_ = excel_interfaceNode.Attributes["href"].Value;
             }
             else
             {
                 excel_interface_ = new Excel_interface(excel_interfaceNode);
             }
         }
         else
         {
             excel_interface_ = new Excel_interface(excel_interfaceNode);
         }
     }
     
 
 }
Esempio n. 2
0
        public Excel_hifiveSwapLeg(XmlNode xmlNode)
            : base(xmlNode)
        {
            XmlNode excel_swapLegInfoNode = xmlNode.SelectSingleNode("excel_swapLegInfo");

            if (excel_swapLegInfoNode != null)
            {
                if (excel_swapLegInfoNode.Attributes["href"] != null || excel_swapLegInfoNode.Attributes["id"] != null)
                {
                    if (excel_swapLegInfoNode.Attributes["id"] != null)
                    {
                        excel_swapLegInfoIDRef_ = excel_swapLegInfoNode.Attributes["id"].Value;
                        Excel_swapLegInfo ob = new Excel_swapLegInfo(excel_swapLegInfoNode);
                        IDManager.SetID(excel_swapLegInfoIDRef_, ob);
                    }
                    else if (excel_swapLegInfoNode.Attributes["href"] != null)
                    {
                        excel_swapLegInfoIDRef_ = excel_swapLegInfoNode.Attributes["href"].Value;
                    }
                    else
                    {
                        excel_swapLegInfo_ = new Excel_swapLegInfo(excel_swapLegInfoNode);
                    }
                }
                else
                {
                    excel_swapLegInfo_ = new Excel_swapLegInfo(excel_swapLegInfoNode);
                }
            }


            XmlNode excel_interfaceNode = xmlNode.SelectSingleNode("excel_interface");

            if (excel_interfaceNode != null)
            {
                if (excel_interfaceNode.Attributes["href"] != null || excel_interfaceNode.Attributes["id"] != null)
                {
                    if (excel_interfaceNode.Attributes["id"] != null)
                    {
                        excel_interfaceIDRef_ = excel_interfaceNode.Attributes["id"].Value;
                        Excel_interface ob = new Excel_interface(excel_interfaceNode);
                        IDManager.SetID(excel_interfaceIDRef_, ob);
                    }
                    else if (excel_interfaceNode.Attributes["href"] != null)
                    {
                        excel_interfaceIDRef_ = excel_interfaceNode.Attributes["href"].Value;
                    }
                    else
                    {
                        excel_interface_ = new Excel_interface(excel_interfaceNode);
                    }
                }
                else
                {
                    excel_interface_ = new Excel_interface(excel_interfaceNode);
                }
            }
        }
        public Excel_issueInfo(XmlNode xmlNode)
            : base(xmlNode)
        {
            XmlNode excel_typeNode = xmlNode.SelectSingleNode("excel_type");

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


            XmlNode excel_noteInfoNode = xmlNode.SelectSingleNode("excel_noteInfo");

            if (excel_noteInfoNode != null)
            {
                if (excel_noteInfoNode.Attributes["href"] != null || excel_noteInfoNode.Attributes["id"] != null)
                {
                    if (excel_noteInfoNode.Attributes["id"] != null)
                    {
                        excel_noteInfoIDRef_ = excel_noteInfoNode.Attributes["id"].Value;
                        Excel_noteInfo ob = new Excel_noteInfo(excel_noteInfoNode);
                        IDManager.SetID(excel_noteInfoIDRef_, ob);
                    }
                    else if (excel_noteInfoNode.Attributes["href"] != null)
                    {
                        excel_noteInfoIDRef_ = excel_noteInfoNode.Attributes["href"].Value;
                    }
                    else
                    {
                        excel_noteInfo_ = new Excel_noteInfo(excel_noteInfoNode);
                    }
                }
                else
                {
                    excel_noteInfo_ = new Excel_noteInfo(excel_noteInfoNode);
                }
            }


            XmlNode excel_swapInfoNode = xmlNode.SelectSingleNode("excel_swapInfo");

            if (excel_swapInfoNode != null)
            {
                if (excel_swapInfoNode.Attributes["href"] != null || excel_swapInfoNode.Attributes["id"] != null)
                {
                    if (excel_swapInfoNode.Attributes["id"] != null)
                    {
                        excel_swapInfoIDRef_ = excel_swapInfoNode.Attributes["id"].Value;
                        Excel_swapInfo ob = new Excel_swapInfo(excel_swapInfoNode);
                        IDManager.SetID(excel_swapInfoIDRef_, ob);
                    }
                    else if (excel_swapInfoNode.Attributes["href"] != null)
                    {
                        excel_swapInfoIDRef_ = excel_swapInfoNode.Attributes["href"].Value;
                    }
                    else
                    {
                        excel_swapInfo_ = new Excel_swapInfo(excel_swapInfoNode);
                    }
                }
                else
                {
                    excel_swapInfo_ = new Excel_swapInfo(excel_swapInfoNode);
                }
            }


            XmlNode excel_swapLegInfoNode = xmlNode.SelectSingleNode("excel_swapLegInfo");

            if (excel_swapLegInfoNode != null)
            {
                if (excel_swapLegInfoNode.Attributes["href"] != null || excel_swapLegInfoNode.Attributes["id"] != null)
                {
                    if (excel_swapLegInfoNode.Attributes["id"] != null)
                    {
                        excel_swapLegInfoIDRef_ = excel_swapLegInfoNode.Attributes["id"].Value;
                        Excel_swapLegInfo ob = new Excel_swapLegInfo(excel_swapLegInfoNode);
                        IDManager.SetID(excel_swapLegInfoIDRef_, ob);
                    }
                    else if (excel_swapLegInfoNode.Attributes["href"] != null)
                    {
                        excel_swapLegInfoIDRef_ = excel_swapLegInfoNode.Attributes["href"].Value;
                    }
                    else
                    {
                        excel_swapLegInfo_ = new Excel_swapLegInfo(excel_swapLegInfoNode);
                    }
                }
                else
                {
                    excel_swapLegInfo_ = new Excel_swapLegInfo(excel_swapLegInfoNode);
                }
            }


            XmlNode excel_emptyInfoNode = xmlNode.SelectSingleNode("excel_emptyInfo");

            if (excel_emptyInfoNode != null)
            {
                if (excel_emptyInfoNode.Attributes["href"] != null || excel_emptyInfoNode.Attributes["id"] != null)
                {
                    if (excel_emptyInfoNode.Attributes["id"] != null)
                    {
                        excel_emptyInfoIDRef_ = excel_emptyInfoNode.Attributes["id"].Value;
                        Excel_emptyInfo ob = new Excel_emptyInfo(excel_emptyInfoNode);
                        IDManager.SetID(excel_emptyInfoIDRef_, ob);
                    }
                    else if (excel_emptyInfoNode.Attributes["href"] != null)
                    {
                        excel_emptyInfoIDRef_ = excel_emptyInfoNode.Attributes["href"].Value;
                    }
                    else
                    {
                        excel_emptyInfo_ = new Excel_emptyInfo(excel_emptyInfoNode);
                    }
                }
                else
                {
                    excel_emptyInfo_ = new Excel_emptyInfo(excel_emptyInfoNode);
                }
            }
        }
 public Excel_issueInfo(XmlNode xmlNode)
 : base(xmlNode)
 {
     XmlNode excel_typeNode = xmlNode.SelectSingleNode("excel_type");
     
     if (excel_typeNode != null)
     {
         if (excel_typeNode.Attributes["href"] != null || excel_typeNode.Attributes["id"] != null) 
         {
             if (excel_typeNode.Attributes["id"] != null) 
             {
                 excel_typeIDRef_ = excel_typeNode.Attributes["id"].Value;
                 XsdTypeToken ob = new XsdTypeToken(excel_typeNode);
                 IDManager.SetID(excel_typeIDRef_, ob);
             }
             else if (excel_typeNode.Attributes["href"] != null)
             {
                 excel_typeIDRef_ = excel_typeNode.Attributes["href"].Value;
             }
             else
             {
                 excel_type_ = new XsdTypeToken(excel_typeNode);
             }
         }
         else
         {
             excel_type_ = new XsdTypeToken(excel_typeNode);
         }
     }
     
 
     XmlNode excel_noteInfoNode = xmlNode.SelectSingleNode("excel_noteInfo");
     
     if (excel_noteInfoNode != null)
     {
         if (excel_noteInfoNode.Attributes["href"] != null || excel_noteInfoNode.Attributes["id"] != null) 
         {
             if (excel_noteInfoNode.Attributes["id"] != null) 
             {
                 excel_noteInfoIDRef_ = excel_noteInfoNode.Attributes["id"].Value;
                 Excel_noteInfo ob = new Excel_noteInfo(excel_noteInfoNode);
                 IDManager.SetID(excel_noteInfoIDRef_, ob);
             }
             else if (excel_noteInfoNode.Attributes["href"] != null)
             {
                 excel_noteInfoIDRef_ = excel_noteInfoNode.Attributes["href"].Value;
             }
             else
             {
                 excel_noteInfo_ = new Excel_noteInfo(excel_noteInfoNode);
             }
         }
         else
         {
             excel_noteInfo_ = new Excel_noteInfo(excel_noteInfoNode);
         }
     }
     
 
     XmlNode excel_swapInfoNode = xmlNode.SelectSingleNode("excel_swapInfo");
     
     if (excel_swapInfoNode != null)
     {
         if (excel_swapInfoNode.Attributes["href"] != null || excel_swapInfoNode.Attributes["id"] != null) 
         {
             if (excel_swapInfoNode.Attributes["id"] != null) 
             {
                 excel_swapInfoIDRef_ = excel_swapInfoNode.Attributes["id"].Value;
                 Excel_swapInfo ob = new Excel_swapInfo(excel_swapInfoNode);
                 IDManager.SetID(excel_swapInfoIDRef_, ob);
             }
             else if (excel_swapInfoNode.Attributes["href"] != null)
             {
                 excel_swapInfoIDRef_ = excel_swapInfoNode.Attributes["href"].Value;
             }
             else
             {
                 excel_swapInfo_ = new Excel_swapInfo(excel_swapInfoNode);
             }
         }
         else
         {
             excel_swapInfo_ = new Excel_swapInfo(excel_swapInfoNode);
         }
     }
     
 
     XmlNode excel_swapLegInfoNode = xmlNode.SelectSingleNode("excel_swapLegInfo");
     
     if (excel_swapLegInfoNode != null)
     {
         if (excel_swapLegInfoNode.Attributes["href"] != null || excel_swapLegInfoNode.Attributes["id"] != null) 
         {
             if (excel_swapLegInfoNode.Attributes["id"] != null) 
             {
                 excel_swapLegInfoIDRef_ = excel_swapLegInfoNode.Attributes["id"].Value;
                 Excel_swapLegInfo ob = new Excel_swapLegInfo(excel_swapLegInfoNode);
                 IDManager.SetID(excel_swapLegInfoIDRef_, ob);
             }
             else if (excel_swapLegInfoNode.Attributes["href"] != null)
             {
                 excel_swapLegInfoIDRef_ = excel_swapLegInfoNode.Attributes["href"].Value;
             }
             else
             {
                 excel_swapLegInfo_ = new Excel_swapLegInfo(excel_swapLegInfoNode);
             }
         }
         else
         {
             excel_swapLegInfo_ = new Excel_swapLegInfo(excel_swapLegInfoNode);
         }
     }
     
 
     XmlNode excel_emptyInfoNode = xmlNode.SelectSingleNode("excel_emptyInfo");
     
     if (excel_emptyInfoNode != null)
     {
         if (excel_emptyInfoNode.Attributes["href"] != null || excel_emptyInfoNode.Attributes["id"] != null) 
         {
             if (excel_emptyInfoNode.Attributes["id"] != null) 
             {
                 excel_emptyInfoIDRef_ = excel_emptyInfoNode.Attributes["id"].Value;
                 Excel_emptyInfo ob = new Excel_emptyInfo(excel_emptyInfoNode);
                 IDManager.SetID(excel_emptyInfoIDRef_, ob);
             }
             else if (excel_emptyInfoNode.Attributes["href"] != null)
             {
                 excel_emptyInfoIDRef_ = excel_emptyInfoNode.Attributes["href"].Value;
             }
             else
             {
                 excel_emptyInfo_ = new Excel_emptyInfo(excel_emptyInfoNode);
             }
         }
         else
         {
             excel_emptyInfo_ = new Excel_emptyInfo(excel_emptyInfoNode);
         }
     }
     
 
 }