public Excel_counterUnderlyingCalcInfo(XmlNode xmlNode)
 : base(xmlNode)
 {
     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);
         }
     }
     
 
 }
        public Excel_counterUnderlyingCalcInfo(XmlNode xmlNode)
            : base(xmlNode)
        {
            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);
                }
            }
        }
コード例 #3
0
        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);
                }
            }
        }
コード例 #4
0
        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);
                }
            }
        }
コード例 #5
0
 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);
         }
     }
     
 
 }
コード例 #6
0
 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));
                    }
                }
            }
        }
コード例 #8
0
        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);
                }
            }
        }
コード例 #9
0
 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);
         }
     }
     
 
 }
コード例 #10
0
 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);
         }
     }
     
 
 }