Ejemplo n.º 1
0
        public Excel_eventCalcInfo_Call(XmlNode xmlNode)
            : base(xmlNode)
        {
            XmlNode excel_eventCalcInfoNode = xmlNode.SelectSingleNode("excel_eventCalcInfo");

            if (excel_eventCalcInfoNode != null)
            {
                if (excel_eventCalcInfoNode.Attributes["href"] != null || excel_eventCalcInfoNode.Attributes["id"] != null)
                {
                    if (excel_eventCalcInfoNode.Attributes["id"] != null)
                    {
                        excel_eventCalcInfoIDRef_ = excel_eventCalcInfoNode.Attributes["id"].Value;
                        Excel_eventCalcInfo ob = new Excel_eventCalcInfo(excel_eventCalcInfoNode);
                        IDManager.SetID(excel_eventCalcInfoIDRef_, ob);
                    }
                    else if (excel_eventCalcInfoNode.Attributes["href"] != null)
                    {
                        excel_eventCalcInfoIDRef_ = excel_eventCalcInfoNode.Attributes["href"].Value;
                    }
                    else
                    {
                        excel_eventCalcInfo_ = new Excel_eventCalcInfo(excel_eventCalcInfoNode);
                    }
                }
                else
                {
                    excel_eventCalcInfo_ = new Excel_eventCalcInfo(excel_eventCalcInfoNode);
                }
            }
        }
 public Excel_eventCalcInfo_Call(XmlNode xmlNode)
 : base(xmlNode)
 {
     XmlNode excel_eventCalcInfoNode = xmlNode.SelectSingleNode("excel_eventCalcInfo");
     
     if (excel_eventCalcInfoNode != null)
     {
         if (excel_eventCalcInfoNode.Attributes["href"] != null || excel_eventCalcInfoNode.Attributes["id"] != null) 
         {
             if (excel_eventCalcInfoNode.Attributes["id"] != null) 
             {
                 excel_eventCalcInfoIDRef_ = excel_eventCalcInfoNode.Attributes["id"].Value;
                 Excel_eventCalcInfo ob = new Excel_eventCalcInfo(excel_eventCalcInfoNode);
                 IDManager.SetID(excel_eventCalcInfoIDRef_, ob);
             }
             else if (excel_eventCalcInfoNode.Attributes["href"] != null)
             {
                 excel_eventCalcInfoIDRef_ = excel_eventCalcInfoNode.Attributes["href"].Value;
             }
             else
             {
                 excel_eventCalcInfo_ = new Excel_eventCalcInfo(excel_eventCalcInfoNode);
             }
         }
         else
         {
             excel_eventCalcInfo_ = new Excel_eventCalcInfo(excel_eventCalcInfoNode);
         }
     }
     
 
 }
 public Excel_simpleKiEventCalc(XmlNode xmlNode)
 : base(xmlNode)
 {
     XmlNode eventDateNode = xmlNode.SelectSingleNode("eventDate");
     
     if (eventDateNode != null)
     {
         if (eventDateNode.Attributes["href"] != null || eventDateNode.Attributes["id"] != null) 
         {
             if (eventDateNode.Attributes["id"] != null) 
             {
                 eventDateIDRef_ = eventDateNode.Attributes["id"].Value;
                 XsdTypeToken ob = new XsdTypeToken(eventDateNode);
                 IDManager.SetID(eventDateIDRef_, ob);
             }
             else if (eventDateNode.Attributes["href"] != null)
             {
                 eventDateIDRef_ = eventDateNode.Attributes["href"].Value;
             }
             else
             {
                 eventDate_ = new XsdTypeToken(eventDateNode);
             }
         }
         else
         {
             eventDate_ = new XsdTypeToken(eventDateNode);
         }
     }
     
 
     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 vba_descriptionNode = xmlNode.SelectSingleNode("vba_description");
     
     if (vba_descriptionNode != null)
     {
         if (vba_descriptionNode.Attributes["href"] != null || vba_descriptionNode.Attributes["id"] != null) 
         {
             if (vba_descriptionNode.Attributes["id"] != null) 
             {
                 vba_descriptionIDRef_ = vba_descriptionNode.Attributes["id"].Value;
                 XsdTypeToken ob = new XsdTypeToken(vba_descriptionNode);
                 IDManager.SetID(vba_descriptionIDRef_, ob);
             }
             else if (vba_descriptionNode.Attributes["href"] != null)
             {
                 vba_descriptionIDRef_ = vba_descriptionNode.Attributes["href"].Value;
             }
             else
             {
                 vba_description_ = new XsdTypeToken(vba_descriptionNode);
             }
         }
         else
         {
             vba_description_ = new XsdTypeToken(vba_descriptionNode);
         }
     }
     
 
     XmlNode excel_eventCalcInfoNode = xmlNode.SelectSingleNode("excel_eventCalcInfo");
     
     if (excel_eventCalcInfoNode != null)
     {
         if (excel_eventCalcInfoNode.Attributes["href"] != null || excel_eventCalcInfoNode.Attributes["id"] != null) 
         {
             if (excel_eventCalcInfoNode.Attributes["id"] != null) 
             {
                 excel_eventCalcInfoIDRef_ = excel_eventCalcInfoNode.Attributes["id"].Value;
                 Excel_eventCalcInfo ob = new Excel_eventCalcInfo(excel_eventCalcInfoNode);
                 IDManager.SetID(excel_eventCalcInfoIDRef_, ob);
             }
             else if (excel_eventCalcInfoNode.Attributes["href"] != null)
             {
                 excel_eventCalcInfoIDRef_ = excel_eventCalcInfoNode.Attributes["href"].Value;
             }
             else
             {
                 excel_eventCalcInfo_ = new Excel_eventCalcInfo(excel_eventCalcInfoNode);
             }
         }
         else
         {
             excel_eventCalcInfo_ = new Excel_eventCalcInfo(excel_eventCalcInfoNode);
         }
     }
     
 
     XmlNode excel_occReturnCalcInfoNode = xmlNode.SelectSingleNode("excel_occReturnCalcInfo");
     
     if (excel_occReturnCalcInfoNode != null)
     {
         if (excel_occReturnCalcInfoNode.Attributes["href"] != null || excel_occReturnCalcInfoNode.Attributes["id"] != null) 
         {
             if (excel_occReturnCalcInfoNode.Attributes["id"] != null) 
             {
                 excel_occReturnCalcInfoIDRef_ = excel_occReturnCalcInfoNode.Attributes["id"].Value;
                 Excel_occReturnCalcInfo ob = new Excel_occReturnCalcInfo(excel_occReturnCalcInfoNode);
                 IDManager.SetID(excel_occReturnCalcInfoIDRef_, ob);
             }
             else if (excel_occReturnCalcInfoNode.Attributes["href"] != null)
             {
                 excel_occReturnCalcInfoIDRef_ = excel_occReturnCalcInfoNode.Attributes["href"].Value;
             }
             else
             {
                 excel_occReturnCalcInfo_ = new Excel_occReturnCalcInfo(excel_occReturnCalcInfoNode);
             }
         }
         else
         {
             excel_occReturnCalcInfo_ = new Excel_occReturnCalcInfo(excel_occReturnCalcInfoNode);
         }
     }
     
 
     XmlNode excel_noOccReturnCalcInfoNode = xmlNode.SelectSingleNode("excel_noOccReturnCalcInfo");
     
     if (excel_noOccReturnCalcInfoNode != null)
     {
         if (excel_noOccReturnCalcInfoNode.Attributes["href"] != null || excel_noOccReturnCalcInfoNode.Attributes["id"] != null) 
         {
             if (excel_noOccReturnCalcInfoNode.Attributes["id"] != null) 
             {
                 excel_noOccReturnCalcInfoIDRef_ = excel_noOccReturnCalcInfoNode.Attributes["id"].Value;
                 Excel_noOccReturnCalcInfo ob = new Excel_noOccReturnCalcInfo(excel_noOccReturnCalcInfoNode);
                 IDManager.SetID(excel_noOccReturnCalcInfoIDRef_, ob);
             }
             else if (excel_noOccReturnCalcInfoNode.Attributes["href"] != null)
             {
                 excel_noOccReturnCalcInfoIDRef_ = excel_noOccReturnCalcInfoNode.Attributes["href"].Value;
             }
             else
             {
                 excel_noOccReturnCalcInfo_ = new Excel_noOccReturnCalcInfo(excel_noOccReturnCalcInfoNode);
             }
         }
         else
         {
             excel_noOccReturnCalcInfo_ = new Excel_noOccReturnCalcInfo(excel_noOccReturnCalcInfoNode);
         }
     }
     
 
 }
 public Excel_targetKiEventCalc(XmlNode xmlNode)
 : base(xmlNode)
 {
     XmlNode eventDateNode = xmlNode.SelectSingleNode("eventDate");
     
     if (eventDateNode != null)
     {
         if (eventDateNode.Attributes["href"] != null || eventDateNode.Attributes["id"] != null) 
         {
             if (eventDateNode.Attributes["id"] != null) 
             {
                 eventDateIDRef_ = eventDateNode.Attributes["id"].Value;
                 XsdTypeToken ob = new XsdTypeToken(eventDateNode);
                 IDManager.SetID(eventDateIDRef_, ob);
             }
             else if (eventDateNode.Attributes["href"] != null)
             {
                 eventDateIDRef_ = eventDateNode.Attributes["href"].Value;
             }
             else
             {
                 eventDate_ = new XsdTypeToken(eventDateNode);
             }
         }
         else
         {
             eventDate_ = new XsdTypeToken(eventDateNode);
         }
     }
     
 
     XmlNode targetCountNode = xmlNode.SelectSingleNode("targetCount");
     
     if (targetCountNode != null)
     {
         if (targetCountNode.Attributes["href"] != null || targetCountNode.Attributes["id"] != null) 
         {
             if (targetCountNode.Attributes["id"] != null) 
             {
                 targetCountIDRef_ = targetCountNode.Attributes["id"].Value;
                 XsdTypeToken ob = new XsdTypeToken(targetCountNode);
                 IDManager.SetID(targetCountIDRef_, ob);
             }
             else if (targetCountNode.Attributes["href"] != null)
             {
                 targetCountIDRef_ = targetCountNode.Attributes["href"].Value;
             }
             else
             {
                 targetCount_ = new XsdTypeToken(targetCountNode);
             }
         }
         else
         {
             targetCount_ = new XsdTypeToken(targetCountNode);
         }
     }
     
 
     XmlNode excel_eventCalcInfoNode = xmlNode.SelectSingleNode("excel_eventCalcInfo");
     
     if (excel_eventCalcInfoNode != null)
     {
         if (excel_eventCalcInfoNode.Attributes["href"] != null || excel_eventCalcInfoNode.Attributes["id"] != null) 
         {
             if (excel_eventCalcInfoNode.Attributes["id"] != null) 
             {
                 excel_eventCalcInfoIDRef_ = excel_eventCalcInfoNode.Attributes["id"].Value;
                 Excel_eventCalcInfo ob = new Excel_eventCalcInfo(excel_eventCalcInfoNode);
                 IDManager.SetID(excel_eventCalcInfoIDRef_, ob);
             }
             else if (excel_eventCalcInfoNode.Attributes["href"] != null)
             {
                 excel_eventCalcInfoIDRef_ = excel_eventCalcInfoNode.Attributes["href"].Value;
             }
             else
             {
                 excel_eventCalcInfo_ = new Excel_eventCalcInfo(excel_eventCalcInfoNode);
             }
         }
         else
         {
             excel_eventCalcInfo_ = new Excel_eventCalcInfo(excel_eventCalcInfoNode);
         }
     }
     
 
 }
 public Excel_condi_structuredCouponSchedule(XmlNode xmlNode)
 : base(xmlNode)
 {
     XmlNode eventDateNode = xmlNode.SelectSingleNode("eventDate");
     
     if (eventDateNode != null)
     {
         if (eventDateNode.Attributes["href"] != null || eventDateNode.Attributes["id"] != null) 
         {
             if (eventDateNode.Attributes["id"] != null) 
             {
                 eventDateIDRef_ = eventDateNode.Attributes["id"].Value;
                 XsdTypeToken ob = new XsdTypeToken(eventDateNode);
                 IDManager.SetID(eventDateIDRef_, ob);
             }
             else if (eventDateNode.Attributes["href"] != null)
             {
                 eventDateIDRef_ = eventDateNode.Attributes["href"].Value;
             }
             else
             {
                 eventDate_ = new XsdTypeToken(eventDateNode);
             }
         }
         else
         {
             eventDate_ = new XsdTypeToken(eventDateNode);
         }
     }
     
 
     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 calculationStartDateNode = xmlNode.SelectSingleNode("calculationStartDate");
     
     if (calculationStartDateNode != null)
     {
         if (calculationStartDateNode.Attributes["href"] != null || calculationStartDateNode.Attributes["id"] != null) 
         {
             if (calculationStartDateNode.Attributes["id"] != null) 
             {
                 calculationStartDateIDRef_ = calculationStartDateNode.Attributes["id"].Value;
                 XsdTypeToken ob = new XsdTypeToken(calculationStartDateNode);
                 IDManager.SetID(calculationStartDateIDRef_, ob);
             }
             else if (calculationStartDateNode.Attributes["href"] != null)
             {
                 calculationStartDateIDRef_ = calculationStartDateNode.Attributes["href"].Value;
             }
             else
             {
                 calculationStartDate_ = new XsdTypeToken(calculationStartDateNode);
             }
         }
         else
         {
             calculationStartDate_ = new XsdTypeToken(calculationStartDateNode);
         }
     }
     
 
     XmlNode calculationEndDateNode = xmlNode.SelectSingleNode("calculationEndDate");
     
     if (calculationEndDateNode != null)
     {
         if (calculationEndDateNode.Attributes["href"] != null || calculationEndDateNode.Attributes["id"] != null) 
         {
             if (calculationEndDateNode.Attributes["id"] != null) 
             {
                 calculationEndDateIDRef_ = calculationEndDateNode.Attributes["id"].Value;
                 XsdTypeToken ob = new XsdTypeToken(calculationEndDateNode);
                 IDManager.SetID(calculationEndDateIDRef_, ob);
             }
             else if (calculationEndDateNode.Attributes["href"] != null)
             {
                 calculationEndDateIDRef_ = calculationEndDateNode.Attributes["href"].Value;
             }
             else
             {
                 calculationEndDate_ = new XsdTypeToken(calculationEndDateNode);
             }
         }
         else
         {
             calculationEndDate_ = new XsdTypeToken(calculationEndDateNode);
         }
     }
     
 
     XmlNode descriptionNode = xmlNode.SelectSingleNode("description");
     
     if (descriptionNode != null)
     {
         if (descriptionNode.Attributes["href"] != null || descriptionNode.Attributes["id"] != null) 
         {
             if (descriptionNode.Attributes["id"] != null) 
             {
                 descriptionIDRef_ = descriptionNode.Attributes["id"].Value;
                 XsdTypeToken ob = new XsdTypeToken(descriptionNode);
                 IDManager.SetID(descriptionIDRef_, ob);
             }
             else if (descriptionNode.Attributes["href"] != null)
             {
                 descriptionIDRef_ = descriptionNode.Attributes["href"].Value;
             }
             else
             {
                 description_ = new XsdTypeToken(descriptionNode);
             }
         }
         else
         {
             description_ = new XsdTypeToken(descriptionNode);
         }
     }
     
 
     XmlNode vba_descriptionNode = xmlNode.SelectSingleNode("vba_description");
     
     if (vba_descriptionNode != null)
     {
         if (vba_descriptionNode.Attributes["href"] != null || vba_descriptionNode.Attributes["id"] != null) 
         {
             if (vba_descriptionNode.Attributes["id"] != null) 
             {
                 vba_descriptionIDRef_ = vba_descriptionNode.Attributes["id"].Value;
                 XsdTypeToken ob = new XsdTypeToken(vba_descriptionNode);
                 IDManager.SetID(vba_descriptionIDRef_, ob);
             }
             else if (vba_descriptionNode.Attributes["href"] != null)
             {
                 vba_descriptionIDRef_ = vba_descriptionNode.Attributes["href"].Value;
             }
             else
             {
                 vba_description_ = new XsdTypeToken(vba_descriptionNode);
             }
         }
         else
         {
             vba_description_ = new XsdTypeToken(vba_descriptionNode);
         }
     }
     
 
     XmlNode excel_eventCalcInfoNode = xmlNode.SelectSingleNode("excel_eventCalcInfo");
     
     if (excel_eventCalcInfoNode != null)
     {
         if (excel_eventCalcInfoNode.Attributes["href"] != null || excel_eventCalcInfoNode.Attributes["id"] != null) 
         {
             if (excel_eventCalcInfoNode.Attributes["id"] != null) 
             {
                 excel_eventCalcInfoIDRef_ = excel_eventCalcInfoNode.Attributes["id"].Value;
                 Excel_eventCalcInfo ob = new Excel_eventCalcInfo(excel_eventCalcInfoNode);
                 IDManager.SetID(excel_eventCalcInfoIDRef_, ob);
             }
             else if (excel_eventCalcInfoNode.Attributes["href"] != null)
             {
                 excel_eventCalcInfoIDRef_ = excel_eventCalcInfoNode.Attributes["href"].Value;
             }
             else
             {
                 excel_eventCalcInfo_ = new Excel_eventCalcInfo(excel_eventCalcInfoNode);
             }
         }
         else
         {
             excel_eventCalcInfo_ = new Excel_eventCalcInfo(excel_eventCalcInfoNode);
         }
     }
     
 
     XmlNode excel_returnCalcInfoNode = xmlNode.SelectSingleNode("excel_returnCalcInfo");
     
     if (excel_returnCalcInfoNode != null)
     {
         if (excel_returnCalcInfoNode.Attributes["href"] != null || excel_returnCalcInfoNode.Attributes["id"] != null) 
         {
             if (excel_returnCalcInfoNode.Attributes["id"] != null) 
             {
                 excel_returnCalcInfoIDRef_ = excel_returnCalcInfoNode.Attributes["id"].Value;
                 Excel_returnCalcInfo ob = new Excel_returnCalcInfo(excel_returnCalcInfoNode);
                 IDManager.SetID(excel_returnCalcInfoIDRef_, ob);
             }
             else if (excel_returnCalcInfoNode.Attributes["href"] != null)
             {
                 excel_returnCalcInfoIDRef_ = excel_returnCalcInfoNode.Attributes["href"].Value;
             }
             else
             {
                 excel_returnCalcInfo_ = new Excel_returnCalcInfo(excel_returnCalcInfoNode);
             }
         }
         else
         {
             excel_returnCalcInfo_ = new Excel_returnCalcInfo(excel_returnCalcInfoNode);
         }
     }
     
 
     XmlNode dayCounterNode = xmlNode.SelectSingleNode("dayCounter");
     
     if (dayCounterNode != null)
     {
         if (dayCounterNode.Attributes["href"] != null || dayCounterNode.Attributes["id"] != null) 
         {
             if (dayCounterNode.Attributes["id"] != null) 
             {
                 dayCounterIDRef_ = dayCounterNode.Attributes["id"].Value;
                 XsdTypeToken ob = new XsdTypeToken(dayCounterNode);
                 IDManager.SetID(dayCounterIDRef_, ob);
             }
             else if (dayCounterNode.Attributes["href"] != null)
             {
                 dayCounterIDRef_ = dayCounterNode.Attributes["href"].Value;
             }
             else
             {
                 dayCounter_ = new XsdTypeToken(dayCounterNode);
             }
         }
         else
         {
             dayCounter_ = new XsdTypeToken(dayCounterNode);
         }
     }
     
 
     XmlNode detailScheduleTypeNode = xmlNode.SelectSingleNode("detailScheduleType");
     
     if (detailScheduleTypeNode != null)
     {
         if (detailScheduleTypeNode.Attributes["href"] != null || detailScheduleTypeNode.Attributes["id"] != null) 
         {
             if (detailScheduleTypeNode.Attributes["id"] != null) 
             {
                 detailScheduleTypeIDRef_ = detailScheduleTypeNode.Attributes["id"].Value;
                 XsdTypeToken ob = new XsdTypeToken(detailScheduleTypeNode);
                 IDManager.SetID(detailScheduleTypeIDRef_, ob);
             }
             else if (detailScheduleTypeNode.Attributes["href"] != null)
             {
                 detailScheduleTypeIDRef_ = detailScheduleTypeNode.Attributes["href"].Value;
             }
             else
             {
                 detailScheduleType_ = new XsdTypeToken(detailScheduleTypeNode);
             }
         }
         else
         {
             detailScheduleType_ = new XsdTypeToken(detailScheduleTypeNode);
         }
     }
     
 
 }
Ejemplo n.º 6
0
        public Excel_condi_structuredCouponSchedule(XmlNode xmlNode)
            : base(xmlNode)
        {
            XmlNode eventDateNode = xmlNode.SelectSingleNode("eventDate");

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


            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 calculationStartDateNode = xmlNode.SelectSingleNode("calculationStartDate");

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


            XmlNode calculationEndDateNode = xmlNode.SelectSingleNode("calculationEndDate");

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


            XmlNode descriptionNode = xmlNode.SelectSingleNode("description");

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


            XmlNode vba_descriptionNode = xmlNode.SelectSingleNode("vba_description");

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


            XmlNode excel_eventCalcInfoNode = xmlNode.SelectSingleNode("excel_eventCalcInfo");

            if (excel_eventCalcInfoNode != null)
            {
                if (excel_eventCalcInfoNode.Attributes["href"] != null || excel_eventCalcInfoNode.Attributes["id"] != null)
                {
                    if (excel_eventCalcInfoNode.Attributes["id"] != null)
                    {
                        excel_eventCalcInfoIDRef_ = excel_eventCalcInfoNode.Attributes["id"].Value;
                        Excel_eventCalcInfo ob = new Excel_eventCalcInfo(excel_eventCalcInfoNode);
                        IDManager.SetID(excel_eventCalcInfoIDRef_, ob);
                    }
                    else if (excel_eventCalcInfoNode.Attributes["href"] != null)
                    {
                        excel_eventCalcInfoIDRef_ = excel_eventCalcInfoNode.Attributes["href"].Value;
                    }
                    else
                    {
                        excel_eventCalcInfo_ = new Excel_eventCalcInfo(excel_eventCalcInfoNode);
                    }
                }
                else
                {
                    excel_eventCalcInfo_ = new Excel_eventCalcInfo(excel_eventCalcInfoNode);
                }
            }


            XmlNode excel_returnCalcInfoNode = xmlNode.SelectSingleNode("excel_returnCalcInfo");

            if (excel_returnCalcInfoNode != null)
            {
                if (excel_returnCalcInfoNode.Attributes["href"] != null || excel_returnCalcInfoNode.Attributes["id"] != null)
                {
                    if (excel_returnCalcInfoNode.Attributes["id"] != null)
                    {
                        excel_returnCalcInfoIDRef_ = excel_returnCalcInfoNode.Attributes["id"].Value;
                        Excel_returnCalcInfo ob = new Excel_returnCalcInfo(excel_returnCalcInfoNode);
                        IDManager.SetID(excel_returnCalcInfoIDRef_, ob);
                    }
                    else if (excel_returnCalcInfoNode.Attributes["href"] != null)
                    {
                        excel_returnCalcInfoIDRef_ = excel_returnCalcInfoNode.Attributes["href"].Value;
                    }
                    else
                    {
                        excel_returnCalcInfo_ = new Excel_returnCalcInfo(excel_returnCalcInfoNode);
                    }
                }
                else
                {
                    excel_returnCalcInfo_ = new Excel_returnCalcInfo(excel_returnCalcInfoNode);
                }
            }


            XmlNode dayCounterNode = xmlNode.SelectSingleNode("dayCounter");

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


            XmlNode detailScheduleTypeNode = xmlNode.SelectSingleNode("detailScheduleType");

            if (detailScheduleTypeNode != null)
            {
                if (detailScheduleTypeNode.Attributes["href"] != null || detailScheduleTypeNode.Attributes["id"] != null)
                {
                    if (detailScheduleTypeNode.Attributes["id"] != null)
                    {
                        detailScheduleTypeIDRef_ = detailScheduleTypeNode.Attributes["id"].Value;
                        XsdTypeToken ob = new XsdTypeToken(detailScheduleTypeNode);
                        IDManager.SetID(detailScheduleTypeIDRef_, ob);
                    }
                    else if (detailScheduleTypeNode.Attributes["href"] != null)
                    {
                        detailScheduleTypeIDRef_ = detailScheduleTypeNode.Attributes["href"].Value;
                    }
                    else
                    {
                        detailScheduleType_ = new XsdTypeToken(detailScheduleTypeNode);
                    }
                }
                else
                {
                    detailScheduleType_ = new XsdTypeToken(detailScheduleTypeNode);
                }
            }
        }
Ejemplo n.º 7
0
        public Excel_targetKiEventCalc(XmlNode xmlNode)
            : base(xmlNode)
        {
            XmlNode eventDateNode = xmlNode.SelectSingleNode("eventDate");

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


            XmlNode vba_descriptionNode = xmlNode.SelectSingleNode("vba_description");

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


            XmlNode targetCountNode = xmlNode.SelectSingleNode("targetCount");

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


            XmlNode excel_eventCalcInfoNode = xmlNode.SelectSingleNode("excel_eventCalcInfo");

            if (excel_eventCalcInfoNode != null)
            {
                if (excel_eventCalcInfoNode.Attributes["href"] != null || excel_eventCalcInfoNode.Attributes["id"] != null)
                {
                    if (excel_eventCalcInfoNode.Attributes["id"] != null)
                    {
                        excel_eventCalcInfoIDRef_ = excel_eventCalcInfoNode.Attributes["id"].Value;
                        Excel_eventCalcInfo ob = new Excel_eventCalcInfo(excel_eventCalcInfoNode);
                        IDManager.SetID(excel_eventCalcInfoIDRef_, ob);
                    }
                    else if (excel_eventCalcInfoNode.Attributes["href"] != null)
                    {
                        excel_eventCalcInfoIDRef_ = excel_eventCalcInfoNode.Attributes["href"].Value;
                    }
                    else
                    {
                        excel_eventCalcInfo_ = new Excel_eventCalcInfo(excel_eventCalcInfoNode);
                    }
                }
                else
                {
                    excel_eventCalcInfo_ = new Excel_eventCalcInfo(excel_eventCalcInfoNode);
                }
            }
        }
Ejemplo n.º 8
0
        public Excel_simpleCalculation(XmlNode xmlNode)
            : base(xmlNode)
        {
            XmlNode eventDateNode = xmlNode.SelectSingleNode("eventDate");

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


            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 descriptionNode = xmlNode.SelectSingleNode("description");

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


            XmlNode vba_descriptionNode = xmlNode.SelectSingleNode("vba_description");

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


            XmlNode excel_eventCalcInfoNode = xmlNode.SelectSingleNode("excel_eventCalcInfo");

            if (excel_eventCalcInfoNode != null)
            {
                if (excel_eventCalcInfoNode.Attributes["href"] != null || excel_eventCalcInfoNode.Attributes["id"] != null)
                {
                    if (excel_eventCalcInfoNode.Attributes["id"] != null)
                    {
                        excel_eventCalcInfoIDRef_ = excel_eventCalcInfoNode.Attributes["id"].Value;
                        Excel_eventCalcInfo ob = new Excel_eventCalcInfo(excel_eventCalcInfoNode);
                        IDManager.SetID(excel_eventCalcInfoIDRef_, ob);
                    }
                    else if (excel_eventCalcInfoNode.Attributes["href"] != null)
                    {
                        excel_eventCalcInfoIDRef_ = excel_eventCalcInfoNode.Attributes["href"].Value;
                    }
                    else
                    {
                        excel_eventCalcInfo_ = new Excel_eventCalcInfo(excel_eventCalcInfoNode);
                    }
                }
                else
                {
                    excel_eventCalcInfo_ = new Excel_eventCalcInfo(excel_eventCalcInfoNode);
                }
            }


            XmlNode excel_returnCalcInfoNode = xmlNode.SelectSingleNode("excel_returnCalcInfo");

            if (excel_returnCalcInfoNode != null)
            {
                if (excel_returnCalcInfoNode.Attributes["href"] != null || excel_returnCalcInfoNode.Attributes["id"] != null)
                {
                    if (excel_returnCalcInfoNode.Attributes["id"] != null)
                    {
                        excel_returnCalcInfoIDRef_ = excel_returnCalcInfoNode.Attributes["id"].Value;
                        Excel_returnCalcInfo ob = new Excel_returnCalcInfo(excel_returnCalcInfoNode);
                        IDManager.SetID(excel_returnCalcInfoIDRef_, ob);
                    }
                    else if (excel_returnCalcInfoNode.Attributes["href"] != null)
                    {
                        excel_returnCalcInfoIDRef_ = excel_returnCalcInfoNode.Attributes["href"].Value;
                    }
                    else
                    {
                        excel_returnCalcInfo_ = new Excel_returnCalcInfo(excel_returnCalcInfoNode);
                    }
                }
                else
                {
                    excel_returnCalcInfo_ = new Excel_returnCalcInfo(excel_returnCalcInfoNode);
                }
            }


            XmlNode excel_complementReturnCalcNode = xmlNode.SelectSingleNode("excel_complementReturnCalc");

            if (excel_complementReturnCalcNode != null)
            {
                if (excel_complementReturnCalcNode.Attributes["href"] != null || excel_complementReturnCalcNode.Attributes["id"] != null)
                {
                    if (excel_complementReturnCalcNode.Attributes["id"] != null)
                    {
                        excel_complementReturnCalcIDRef_ = excel_complementReturnCalcNode.Attributes["id"].Value;
                        Excel_complementReturnCalc ob = new Excel_complementReturnCalc(excel_complementReturnCalcNode);
                        IDManager.SetID(excel_complementReturnCalcIDRef_, ob);
                    }
                    else if (excel_complementReturnCalcNode.Attributes["href"] != null)
                    {
                        excel_complementReturnCalcIDRef_ = excel_complementReturnCalcNode.Attributes["href"].Value;
                    }
                    else
                    {
                        excel_complementReturnCalc_ = new Excel_complementReturnCalc(excel_complementReturnCalcNode);
                    }
                }
                else
                {
                    excel_complementReturnCalc_ = new Excel_complementReturnCalc(excel_complementReturnCalcNode);
                }
            }


            XmlNode excel_eventCalcInfo_CallNode = xmlNode.SelectSingleNode("excel_eventCalcInfo_Call");

            if (excel_eventCalcInfo_CallNode != null)
            {
                if (excel_eventCalcInfo_CallNode.Attributes["href"] != null || excel_eventCalcInfo_CallNode.Attributes["id"] != null)
                {
                    if (excel_eventCalcInfo_CallNode.Attributes["id"] != null)
                    {
                        excel_eventCalcInfo_CallIDRef_ = excel_eventCalcInfo_CallNode.Attributes["id"].Value;
                        Excel_eventCalcInfo_Call ob = new Excel_eventCalcInfo_Call(excel_eventCalcInfo_CallNode);
                        IDManager.SetID(excel_eventCalcInfo_CallIDRef_, ob);
                    }
                    else if (excel_eventCalcInfo_CallNode.Attributes["href"] != null)
                    {
                        excel_eventCalcInfo_CallIDRef_ = excel_eventCalcInfo_CallNode.Attributes["href"].Value;
                    }
                    else
                    {
                        excel_eventCalcInfo_Call_ = new Excel_eventCalcInfo_Call(excel_eventCalcInfo_CallNode);
                    }
                }
                else
                {
                    excel_eventCalcInfo_Call_ = new Excel_eventCalcInfo_Call(excel_eventCalcInfo_CallNode);
                }
            }


            XmlNode excel_returnCalcInfo_CallNode = xmlNode.SelectSingleNode("excel_returnCalcInfo_Call");

            if (excel_returnCalcInfo_CallNode != null)
            {
                if (excel_returnCalcInfo_CallNode.Attributes["href"] != null || excel_returnCalcInfo_CallNode.Attributes["id"] != null)
                {
                    if (excel_returnCalcInfo_CallNode.Attributes["id"] != null)
                    {
                        excel_returnCalcInfo_CallIDRef_ = excel_returnCalcInfo_CallNode.Attributes["id"].Value;
                        Excel_returnCalcInfo_Call ob = new Excel_returnCalcInfo_Call(excel_returnCalcInfo_CallNode);
                        IDManager.SetID(excel_returnCalcInfo_CallIDRef_, ob);
                    }
                    else if (excel_returnCalcInfo_CallNode.Attributes["href"] != null)
                    {
                        excel_returnCalcInfo_CallIDRef_ = excel_returnCalcInfo_CallNode.Attributes["href"].Value;
                    }
                    else
                    {
                        excel_returnCalcInfo_Call_ = new Excel_returnCalcInfo_Call(excel_returnCalcInfo_CallNode);
                    }
                }
                else
                {
                    excel_returnCalcInfo_Call_ = new Excel_returnCalcInfo_Call(excel_returnCalcInfo_CallNode);
                }
            }


            XmlNode excel_complementReturnCalc_CallNode = xmlNode.SelectSingleNode("excel_complementReturnCalc_Call");

            if (excel_complementReturnCalc_CallNode != null)
            {
                if (excel_complementReturnCalc_CallNode.Attributes["href"] != null || excel_complementReturnCalc_CallNode.Attributes["id"] != null)
                {
                    if (excel_complementReturnCalc_CallNode.Attributes["id"] != null)
                    {
                        excel_complementReturnCalc_CallIDRef_ = excel_complementReturnCalc_CallNode.Attributes["id"].Value;
                        Excel_complementReturnCalc_Call ob = new Excel_complementReturnCalc_Call(excel_complementReturnCalc_CallNode);
                        IDManager.SetID(excel_complementReturnCalc_CallIDRef_, ob);
                    }
                    else if (excel_complementReturnCalc_CallNode.Attributes["href"] != null)
                    {
                        excel_complementReturnCalc_CallIDRef_ = excel_complementReturnCalc_CallNode.Attributes["href"].Value;
                    }
                    else
                    {
                        excel_complementReturnCalc_Call_ = new Excel_complementReturnCalc_Call(excel_complementReturnCalc_CallNode);
                    }
                }
                else
                {
                    excel_complementReturnCalc_Call_ = new Excel_complementReturnCalc_Call(excel_complementReturnCalc_CallNode);
                }
            }


            XmlNode excel_returnCalcInfo_CallableOptionNode = xmlNode.SelectSingleNode("excel_returnCalcInfo_CallableOption");

            if (excel_returnCalcInfo_CallableOptionNode != null)
            {
                if (excel_returnCalcInfo_CallableOptionNode.Attributes["href"] != null || excel_returnCalcInfo_CallableOptionNode.Attributes["id"] != null)
                {
                    if (excel_returnCalcInfo_CallableOptionNode.Attributes["id"] != null)
                    {
                        excel_returnCalcInfo_CallableOptionIDRef_ = excel_returnCalcInfo_CallableOptionNode.Attributes["id"].Value;
                        Excel_returnCalcInfo_CallableOption ob = new Excel_returnCalcInfo_CallableOption(excel_returnCalcInfo_CallableOptionNode);
                        IDManager.SetID(excel_returnCalcInfo_CallableOptionIDRef_, ob);
                    }
                    else if (excel_returnCalcInfo_CallableOptionNode.Attributes["href"] != null)
                    {
                        excel_returnCalcInfo_CallableOptionIDRef_ = excel_returnCalcInfo_CallableOptionNode.Attributes["href"].Value;
                    }
                    else
                    {
                        excel_returnCalcInfo_CallableOption_ = new Excel_returnCalcInfo_CallableOption(excel_returnCalcInfo_CallableOptionNode);
                    }
                }
                else
                {
                    excel_returnCalcInfo_CallableOption_ = new Excel_returnCalcInfo_CallableOption(excel_returnCalcInfo_CallableOptionNode);
                }
            }
        }
 public Excel_simpleCalculation(XmlNode xmlNode)
 : base(xmlNode)
 {
     XmlNode eventDateNode = xmlNode.SelectSingleNode("eventDate");
     
     if (eventDateNode != null)
     {
         if (eventDateNode.Attributes["href"] != null || eventDateNode.Attributes["id"] != null) 
         {
             if (eventDateNode.Attributes["id"] != null) 
             {
                 eventDateIDRef_ = eventDateNode.Attributes["id"].Value;
                 XsdTypeToken ob = new XsdTypeToken(eventDateNode);
                 IDManager.SetID(eventDateIDRef_, ob);
             }
             else if (eventDateNode.Attributes["href"] != null)
             {
                 eventDateIDRef_ = eventDateNode.Attributes["href"].Value;
             }
             else
             {
                 eventDate_ = new XsdTypeToken(eventDateNode);
             }
         }
         else
         {
             eventDate_ = new XsdTypeToken(eventDateNode);
         }
     }
     
 
     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 descriptionNode = xmlNode.SelectSingleNode("description");
     
     if (descriptionNode != null)
     {
         if (descriptionNode.Attributes["href"] != null || descriptionNode.Attributes["id"] != null) 
         {
             if (descriptionNode.Attributes["id"] != null) 
             {
                 descriptionIDRef_ = descriptionNode.Attributes["id"].Value;
                 XsdTypeToken ob = new XsdTypeToken(descriptionNode);
                 IDManager.SetID(descriptionIDRef_, ob);
             }
             else if (descriptionNode.Attributes["href"] != null)
             {
                 descriptionIDRef_ = descriptionNode.Attributes["href"].Value;
             }
             else
             {
                 description_ = new XsdTypeToken(descriptionNode);
             }
         }
         else
         {
             description_ = new XsdTypeToken(descriptionNode);
         }
     }
     
 
     XmlNode excel_eventCalcInfoNode = xmlNode.SelectSingleNode("excel_eventCalcInfo");
     
     if (excel_eventCalcInfoNode != null)
     {
         if (excel_eventCalcInfoNode.Attributes["href"] != null || excel_eventCalcInfoNode.Attributes["id"] != null) 
         {
             if (excel_eventCalcInfoNode.Attributes["id"] != null) 
             {
                 excel_eventCalcInfoIDRef_ = excel_eventCalcInfoNode.Attributes["id"].Value;
                 Excel_eventCalcInfo ob = new Excel_eventCalcInfo(excel_eventCalcInfoNode);
                 IDManager.SetID(excel_eventCalcInfoIDRef_, ob);
             }
             else if (excel_eventCalcInfoNode.Attributes["href"] != null)
             {
                 excel_eventCalcInfoIDRef_ = excel_eventCalcInfoNode.Attributes["href"].Value;
             }
             else
             {
                 excel_eventCalcInfo_ = new Excel_eventCalcInfo(excel_eventCalcInfoNode);
             }
         }
         else
         {
             excel_eventCalcInfo_ = new Excel_eventCalcInfo(excel_eventCalcInfoNode);
         }
     }
     
 
     XmlNode excel_returnCalcInfoNode = xmlNode.SelectSingleNode("excel_returnCalcInfo");
     
     if (excel_returnCalcInfoNode != null)
     {
         if (excel_returnCalcInfoNode.Attributes["href"] != null || excel_returnCalcInfoNode.Attributes["id"] != null) 
         {
             if (excel_returnCalcInfoNode.Attributes["id"] != null) 
             {
                 excel_returnCalcInfoIDRef_ = excel_returnCalcInfoNode.Attributes["id"].Value;
                 Excel_returnCalcInfo ob = new Excel_returnCalcInfo(excel_returnCalcInfoNode);
                 IDManager.SetID(excel_returnCalcInfoIDRef_, ob);
             }
             else if (excel_returnCalcInfoNode.Attributes["href"] != null)
             {
                 excel_returnCalcInfoIDRef_ = excel_returnCalcInfoNode.Attributes["href"].Value;
             }
             else
             {
                 excel_returnCalcInfo_ = new Excel_returnCalcInfo(excel_returnCalcInfoNode);
             }
         }
         else
         {
             excel_returnCalcInfo_ = new Excel_returnCalcInfo(excel_returnCalcInfoNode);
         }
     }
     
 
     XmlNode excel_complementReturnCalcNode = xmlNode.SelectSingleNode("excel_complementReturnCalc");
     
     if (excel_complementReturnCalcNode != null)
     {
         if (excel_complementReturnCalcNode.Attributes["href"] != null || excel_complementReturnCalcNode.Attributes["id"] != null) 
         {
             if (excel_complementReturnCalcNode.Attributes["id"] != null) 
             {
                 excel_complementReturnCalcIDRef_ = excel_complementReturnCalcNode.Attributes["id"].Value;
                 Excel_complementReturnCalc ob = new Excel_complementReturnCalc(excel_complementReturnCalcNode);
                 IDManager.SetID(excel_complementReturnCalcIDRef_, ob);
             }
             else if (excel_complementReturnCalcNode.Attributes["href"] != null)
             {
                 excel_complementReturnCalcIDRef_ = excel_complementReturnCalcNode.Attributes["href"].Value;
             }
             else
             {
                 excel_complementReturnCalc_ = new Excel_complementReturnCalc(excel_complementReturnCalcNode);
             }
         }
         else
         {
             excel_complementReturnCalc_ = new Excel_complementReturnCalc(excel_complementReturnCalcNode);
         }
     }
     
 
     XmlNode excel_eventCalcInfo_CallNode = xmlNode.SelectSingleNode("excel_eventCalcInfo_Call");
     
     if (excel_eventCalcInfo_CallNode != null)
     {
         if (excel_eventCalcInfo_CallNode.Attributes["href"] != null || excel_eventCalcInfo_CallNode.Attributes["id"] != null) 
         {
             if (excel_eventCalcInfo_CallNode.Attributes["id"] != null) 
             {
                 excel_eventCalcInfo_CallIDRef_ = excel_eventCalcInfo_CallNode.Attributes["id"].Value;
                 Excel_eventCalcInfo_Call ob = new Excel_eventCalcInfo_Call(excel_eventCalcInfo_CallNode);
                 IDManager.SetID(excel_eventCalcInfo_CallIDRef_, ob);
             }
             else if (excel_eventCalcInfo_CallNode.Attributes["href"] != null)
             {
                 excel_eventCalcInfo_CallIDRef_ = excel_eventCalcInfo_CallNode.Attributes["href"].Value;
             }
             else
             {
                 excel_eventCalcInfo_Call_ = new Excel_eventCalcInfo_Call(excel_eventCalcInfo_CallNode);
             }
         }
         else
         {
             excel_eventCalcInfo_Call_ = new Excel_eventCalcInfo_Call(excel_eventCalcInfo_CallNode);
         }
     }
     
 
     XmlNode excel_returnCalcInfo_CallNode = xmlNode.SelectSingleNode("excel_returnCalcInfo_Call");
     
     if (excel_returnCalcInfo_CallNode != null)
     {
         if (excel_returnCalcInfo_CallNode.Attributes["href"] != null || excel_returnCalcInfo_CallNode.Attributes["id"] != null) 
         {
             if (excel_returnCalcInfo_CallNode.Attributes["id"] != null) 
             {
                 excel_returnCalcInfo_CallIDRef_ = excel_returnCalcInfo_CallNode.Attributes["id"].Value;
                 Excel_returnCalcInfo_Call ob = new Excel_returnCalcInfo_Call(excel_returnCalcInfo_CallNode);
                 IDManager.SetID(excel_returnCalcInfo_CallIDRef_, ob);
             }
             else if (excel_returnCalcInfo_CallNode.Attributes["href"] != null)
             {
                 excel_returnCalcInfo_CallIDRef_ = excel_returnCalcInfo_CallNode.Attributes["href"].Value;
             }
             else
             {
                 excel_returnCalcInfo_Call_ = new Excel_returnCalcInfo_Call(excel_returnCalcInfo_CallNode);
             }
         }
         else
         {
             excel_returnCalcInfo_Call_ = new Excel_returnCalcInfo_Call(excel_returnCalcInfo_CallNode);
         }
     }
     
 
     XmlNode excel_complementReturnCalc_CallNode = xmlNode.SelectSingleNode("excel_complementReturnCalc_Call");
     
     if (excel_complementReturnCalc_CallNode != null)
     {
         if (excel_complementReturnCalc_CallNode.Attributes["href"] != null || excel_complementReturnCalc_CallNode.Attributes["id"] != null) 
         {
             if (excel_complementReturnCalc_CallNode.Attributes["id"] != null) 
             {
                 excel_complementReturnCalc_CallIDRef_ = excel_complementReturnCalc_CallNode.Attributes["id"].Value;
                 Excel_complementReturnCalc_Call ob = new Excel_complementReturnCalc_Call(excel_complementReturnCalc_CallNode);
                 IDManager.SetID(excel_complementReturnCalc_CallIDRef_, ob);
             }
             else if (excel_complementReturnCalc_CallNode.Attributes["href"] != null)
             {
                 excel_complementReturnCalc_CallIDRef_ = excel_complementReturnCalc_CallNode.Attributes["href"].Value;
             }
             else
             {
                 excel_complementReturnCalc_Call_ = new Excel_complementReturnCalc_Call(excel_complementReturnCalc_CallNode);
             }
         }
         else
         {
             excel_complementReturnCalc_Call_ = new Excel_complementReturnCalc_Call(excel_complementReturnCalc_CallNode);
         }
     }
     
 
 }
Ejemplo n.º 10
0
        public Excel_simpleKiEventCalc(XmlNode xmlNode)
            : base(xmlNode)
        {
            XmlNode eventDateNode = xmlNode.SelectSingleNode("eventDate");

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


            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 excel_eventCalcInfoNode = xmlNode.SelectSingleNode("excel_eventCalcInfo");

            if (excel_eventCalcInfoNode != null)
            {
                if (excel_eventCalcInfoNode.Attributes["href"] != null || excel_eventCalcInfoNode.Attributes["id"] != null)
                {
                    if (excel_eventCalcInfoNode.Attributes["id"] != null)
                    {
                        excel_eventCalcInfoIDRef_ = excel_eventCalcInfoNode.Attributes["id"].Value;
                        Excel_eventCalcInfo ob = new Excel_eventCalcInfo(excel_eventCalcInfoNode);
                        IDManager.SetID(excel_eventCalcInfoIDRef_, ob);
                    }
                    else if (excel_eventCalcInfoNode.Attributes["href"] != null)
                    {
                        excel_eventCalcInfoIDRef_ = excel_eventCalcInfoNode.Attributes["href"].Value;
                    }
                    else
                    {
                        excel_eventCalcInfo_ = new Excel_eventCalcInfo(excel_eventCalcInfoNode);
                    }
                }
                else
                {
                    excel_eventCalcInfo_ = new Excel_eventCalcInfo(excel_eventCalcInfoNode);
                }
            }


            XmlNode excel_occReturnCalcInfoNode = xmlNode.SelectSingleNode("excel_occReturnCalcInfo");

            if (excel_occReturnCalcInfoNode != null)
            {
                if (excel_occReturnCalcInfoNode.Attributes["href"] != null || excel_occReturnCalcInfoNode.Attributes["id"] != null)
                {
                    if (excel_occReturnCalcInfoNode.Attributes["id"] != null)
                    {
                        excel_occReturnCalcInfoIDRef_ = excel_occReturnCalcInfoNode.Attributes["id"].Value;
                        Excel_occReturnCalcInfo ob = new Excel_occReturnCalcInfo(excel_occReturnCalcInfoNode);
                        IDManager.SetID(excel_occReturnCalcInfoIDRef_, ob);
                    }
                    else if (excel_occReturnCalcInfoNode.Attributes["href"] != null)
                    {
                        excel_occReturnCalcInfoIDRef_ = excel_occReturnCalcInfoNode.Attributes["href"].Value;
                    }
                    else
                    {
                        excel_occReturnCalcInfo_ = new Excel_occReturnCalcInfo(excel_occReturnCalcInfoNode);
                    }
                }
                else
                {
                    excel_occReturnCalcInfo_ = new Excel_occReturnCalcInfo(excel_occReturnCalcInfoNode);
                }
            }


            XmlNode excel_noOccReturnCalcInfoNode = xmlNode.SelectSingleNode("excel_noOccReturnCalcInfo");

            if (excel_noOccReturnCalcInfoNode != null)
            {
                if (excel_noOccReturnCalcInfoNode.Attributes["href"] != null || excel_noOccReturnCalcInfoNode.Attributes["id"] != null)
                {
                    if (excel_noOccReturnCalcInfoNode.Attributes["id"] != null)
                    {
                        excel_noOccReturnCalcInfoIDRef_ = excel_noOccReturnCalcInfoNode.Attributes["id"].Value;
                        Excel_noOccReturnCalcInfo ob = new Excel_noOccReturnCalcInfo(excel_noOccReturnCalcInfoNode);
                        IDManager.SetID(excel_noOccReturnCalcInfoIDRef_, ob);
                    }
                    else if (excel_noOccReturnCalcInfoNode.Attributes["href"] != null)
                    {
                        excel_noOccReturnCalcInfoIDRef_ = excel_noOccReturnCalcInfoNode.Attributes["href"].Value;
                    }
                    else
                    {
                        excel_noOccReturnCalcInfo_ = new Excel_noOccReturnCalcInfo(excel_noOccReturnCalcInfoNode);
                    }
                }
                else
                {
                    excel_noOccReturnCalcInfo_ = new Excel_noOccReturnCalcInfo(excel_noOccReturnCalcInfoNode);
                }
            }
        }