public Excel_standardCreditPara(XmlNode xmlNode)
 : base(xmlNode)
 {
     XmlNode referenceDateNode = xmlNode.SelectSingleNode("referenceDate");
     
     if (referenceDateNode != null)
     {
         if (referenceDateNode.Attributes["href"] != null || referenceDateNode.Attributes["id"] != null) 
         {
             if (referenceDateNode.Attributes["id"] != null) 
             {
                 referenceDateIDRef_ = referenceDateNode.Attributes["id"].Value;
                 XsdTypeToken ob = new XsdTypeToken(referenceDateNode);
                 IDManager.SetID(referenceDateIDRef_, ob);
             }
             else if (referenceDateNode.Attributes["href"] != null)
             {
                 referenceDateIDRef_ = referenceDateNode.Attributes["href"].Value;
             }
             else
             {
                 referenceDate_ = new XsdTypeToken(referenceDateNode);
             }
         }
         else
         {
             referenceDate_ = new XsdTypeToken(referenceDateNode);
         }
     }
     
 
     XmlNode simulationNumNode = xmlNode.SelectSingleNode("simulationNum");
     
     if (simulationNumNode != null)
     {
         if (simulationNumNode.Attributes["href"] != null || simulationNumNode.Attributes["id"] != null) 
         {
             if (simulationNumNode.Attributes["id"] != null) 
             {
                 simulationNumIDRef_ = simulationNumNode.Attributes["id"].Value;
                 XsdTypeToken ob = new XsdTypeToken(simulationNumNode);
                 IDManager.SetID(simulationNumIDRef_, ob);
             }
             else if (simulationNumNode.Attributes["href"] != null)
             {
                 simulationNumIDRef_ = simulationNumNode.Attributes["href"].Value;
             }
             else
             {
                 simulationNum_ = new XsdTypeToken(simulationNumNode);
             }
         }
         else
         {
             simulationNum_ = new XsdTypeToken(simulationNumNode);
         }
     }
     
 
     XmlNode excel_underlyingCalcInfo_paraNode = xmlNode.SelectSingleNode("excel_underlyingCalcInfo_para");
     
     if (excel_underlyingCalcInfo_paraNode != null)
     {
         if (excel_underlyingCalcInfo_paraNode.Attributes["href"] != null || excel_underlyingCalcInfo_paraNode.Attributes["id"] != null) 
         {
             if (excel_underlyingCalcInfo_paraNode.Attributes["id"] != null) 
             {
                 excel_underlyingCalcInfo_paraIDRef_ = excel_underlyingCalcInfo_paraNode.Attributes["id"].Value;
                 Excel_underlyingCalcInfo_para ob = new Excel_underlyingCalcInfo_para(excel_underlyingCalcInfo_paraNode);
                 IDManager.SetID(excel_underlyingCalcInfo_paraIDRef_, ob);
             }
             else if (excel_underlyingCalcInfo_paraNode.Attributes["href"] != null)
             {
                 excel_underlyingCalcInfo_paraIDRef_ = excel_underlyingCalcInfo_paraNode.Attributes["href"].Value;
             }
             else
             {
                 excel_underlyingCalcInfo_para_ = new Excel_underlyingCalcInfo_para(excel_underlyingCalcInfo_paraNode);
             }
         }
         else
         {
             excel_underlyingCalcInfo_para_ = new Excel_underlyingCalcInfo_para(excel_underlyingCalcInfo_paraNode);
         }
     }
     
 
     XmlNode excel_referenceCalcInfo_paraNode = xmlNode.SelectSingleNode("excel_referenceCalcInfo_para");
     
     if (excel_referenceCalcInfo_paraNode != null)
     {
         if (excel_referenceCalcInfo_paraNode.Attributes["href"] != null || excel_referenceCalcInfo_paraNode.Attributes["id"] != null) 
         {
             if (excel_referenceCalcInfo_paraNode.Attributes["id"] != null) 
             {
                 excel_referenceCalcInfo_paraIDRef_ = excel_referenceCalcInfo_paraNode.Attributes["id"].Value;
                 Excel_referenceCalcInfo_para ob = new Excel_referenceCalcInfo_para(excel_referenceCalcInfo_paraNode);
                 IDManager.SetID(excel_referenceCalcInfo_paraIDRef_, ob);
             }
             else if (excel_referenceCalcInfo_paraNode.Attributes["href"] != null)
             {
                 excel_referenceCalcInfo_paraIDRef_ = excel_referenceCalcInfo_paraNode.Attributes["href"].Value;
             }
             else
             {
                 excel_referenceCalcInfo_para_ = new Excel_referenceCalcInfo_para(excel_referenceCalcInfo_paraNode);
             }
         }
         else
         {
             excel_referenceCalcInfo_para_ = new Excel_referenceCalcInfo_para(excel_referenceCalcInfo_paraNode);
         }
     }
     
 
     XmlNode excel_discountCurve_paraNode = xmlNode.SelectSingleNode("excel_discountCurve_para");
     
     if (excel_discountCurve_paraNode != null)
     {
         if (excel_discountCurve_paraNode.Attributes["href"] != null || excel_discountCurve_paraNode.Attributes["id"] != null) 
         {
             if (excel_discountCurve_paraNode.Attributes["id"] != null) 
             {
                 excel_discountCurve_paraIDRef_ = excel_discountCurve_paraNode.Attributes["id"].Value;
                 Excel_discountCurve_para ob = new Excel_discountCurve_para(excel_discountCurve_paraNode);
                 IDManager.SetID(excel_discountCurve_paraIDRef_, ob);
             }
             else if (excel_discountCurve_paraNode.Attributes["href"] != null)
             {
                 excel_discountCurve_paraIDRef_ = excel_discountCurve_paraNode.Attributes["href"].Value;
             }
             else
             {
                 excel_discountCurve_para_ = new Excel_discountCurve_para(excel_discountCurve_paraNode);
             }
         }
         else
         {
             excel_discountCurve_para_ = new Excel_discountCurve_para(excel_discountCurve_paraNode);
         }
     }
     
 
     XmlNode excel_defaultCurve_paraNode = xmlNode.SelectSingleNode("excel_defaultCurve_para");
     
     if (excel_defaultCurve_paraNode != null)
     {
         if (excel_defaultCurve_paraNode.Attributes["href"] != null || excel_defaultCurve_paraNode.Attributes["id"] != null) 
         {
             if (excel_defaultCurve_paraNode.Attributes["id"] != null) 
             {
                 excel_defaultCurve_paraIDRef_ = excel_defaultCurve_paraNode.Attributes["id"].Value;
                 Excel_defaultCurve_para ob = new Excel_defaultCurve_para(excel_defaultCurve_paraNode);
                 IDManager.SetID(excel_defaultCurve_paraIDRef_, ob);
             }
             else if (excel_defaultCurve_paraNode.Attributes["href"] != null)
             {
                 excel_defaultCurve_paraIDRef_ = excel_defaultCurve_paraNode.Attributes["href"].Value;
             }
             else
             {
                 excel_defaultCurve_para_ = new Excel_defaultCurve_para(excel_defaultCurve_paraNode);
             }
         }
         else
         {
             excel_defaultCurve_para_ = new Excel_defaultCurve_para(excel_defaultCurve_paraNode);
         }
     }
     
 
 }
        public Excel_standardCreditPara(XmlNode xmlNode)
            : base(xmlNode)
        {
            XmlNode referenceDateNode = xmlNode.SelectSingleNode("referenceDate");

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


            XmlNode simulationNumNode = xmlNode.SelectSingleNode("simulationNum");

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


            XmlNode excel_underlyingCalcInfo_paraNode = xmlNode.SelectSingleNode("excel_underlyingCalcInfo_para");

            if (excel_underlyingCalcInfo_paraNode != null)
            {
                if (excel_underlyingCalcInfo_paraNode.Attributes["href"] != null || excel_underlyingCalcInfo_paraNode.Attributes["id"] != null)
                {
                    if (excel_underlyingCalcInfo_paraNode.Attributes["id"] != null)
                    {
                        excel_underlyingCalcInfo_paraIDRef_ = excel_underlyingCalcInfo_paraNode.Attributes["id"].Value;
                        Excel_underlyingCalcInfo_para ob = new Excel_underlyingCalcInfo_para(excel_underlyingCalcInfo_paraNode);
                        IDManager.SetID(excel_underlyingCalcInfo_paraIDRef_, ob);
                    }
                    else if (excel_underlyingCalcInfo_paraNode.Attributes["href"] != null)
                    {
                        excel_underlyingCalcInfo_paraIDRef_ = excel_underlyingCalcInfo_paraNode.Attributes["href"].Value;
                    }
                    else
                    {
                        excel_underlyingCalcInfo_para_ = new Excel_underlyingCalcInfo_para(excel_underlyingCalcInfo_paraNode);
                    }
                }
                else
                {
                    excel_underlyingCalcInfo_para_ = new Excel_underlyingCalcInfo_para(excel_underlyingCalcInfo_paraNode);
                }
            }


            XmlNode excel_referenceCalcInfo_paraNode = xmlNode.SelectSingleNode("excel_referenceCalcInfo_para");

            if (excel_referenceCalcInfo_paraNode != null)
            {
                if (excel_referenceCalcInfo_paraNode.Attributes["href"] != null || excel_referenceCalcInfo_paraNode.Attributes["id"] != null)
                {
                    if (excel_referenceCalcInfo_paraNode.Attributes["id"] != null)
                    {
                        excel_referenceCalcInfo_paraIDRef_ = excel_referenceCalcInfo_paraNode.Attributes["id"].Value;
                        Excel_referenceCalcInfo_para ob = new Excel_referenceCalcInfo_para(excel_referenceCalcInfo_paraNode);
                        IDManager.SetID(excel_referenceCalcInfo_paraIDRef_, ob);
                    }
                    else if (excel_referenceCalcInfo_paraNode.Attributes["href"] != null)
                    {
                        excel_referenceCalcInfo_paraIDRef_ = excel_referenceCalcInfo_paraNode.Attributes["href"].Value;
                    }
                    else
                    {
                        excel_referenceCalcInfo_para_ = new Excel_referenceCalcInfo_para(excel_referenceCalcInfo_paraNode);
                    }
                }
                else
                {
                    excel_referenceCalcInfo_para_ = new Excel_referenceCalcInfo_para(excel_referenceCalcInfo_paraNode);
                }
            }


            XmlNode excel_discountCurve_paraNode = xmlNode.SelectSingleNode("excel_discountCurve_para");

            if (excel_discountCurve_paraNode != null)
            {
                if (excel_discountCurve_paraNode.Attributes["href"] != null || excel_discountCurve_paraNode.Attributes["id"] != null)
                {
                    if (excel_discountCurve_paraNode.Attributes["id"] != null)
                    {
                        excel_discountCurve_paraIDRef_ = excel_discountCurve_paraNode.Attributes["id"].Value;
                        Excel_discountCurve_para ob = new Excel_discountCurve_para(excel_discountCurve_paraNode);
                        IDManager.SetID(excel_discountCurve_paraIDRef_, ob);
                    }
                    else if (excel_discountCurve_paraNode.Attributes["href"] != null)
                    {
                        excel_discountCurve_paraIDRef_ = excel_discountCurve_paraNode.Attributes["href"].Value;
                    }
                    else
                    {
                        excel_discountCurve_para_ = new Excel_discountCurve_para(excel_discountCurve_paraNode);
                    }
                }
                else
                {
                    excel_discountCurve_para_ = new Excel_discountCurve_para(excel_discountCurve_paraNode);
                }
            }


            XmlNode excel_defaultCurve_paraNode = xmlNode.SelectSingleNode("excel_defaultCurve_para");

            if (excel_defaultCurve_paraNode != null)
            {
                if (excel_defaultCurve_paraNode.Attributes["href"] != null || excel_defaultCurve_paraNode.Attributes["id"] != null)
                {
                    if (excel_defaultCurve_paraNode.Attributes["id"] != null)
                    {
                        excel_defaultCurve_paraIDRef_ = excel_defaultCurve_paraNode.Attributes["id"].Value;
                        Excel_defaultCurve_para ob = new Excel_defaultCurve_para(excel_defaultCurve_paraNode);
                        IDManager.SetID(excel_defaultCurve_paraIDRef_, ob);
                    }
                    else if (excel_defaultCurve_paraNode.Attributes["href"] != null)
                    {
                        excel_defaultCurve_paraIDRef_ = excel_defaultCurve_paraNode.Attributes["href"].Value;
                    }
                    else
                    {
                        excel_defaultCurve_para_ = new Excel_defaultCurve_para(excel_defaultCurve_paraNode);
                    }
                }
                else
                {
                    excel_defaultCurve_para_ = new Excel_defaultCurve_para(excel_defaultCurve_paraNode);
                }
            }
        }