コード例 #1
0
 public DeliverableObligations(XmlNode xmlNode)
 {
     XmlNodeList accruedInterestNodeList = xmlNode.SelectNodes("accruedInterest");
     if (accruedInterestNodeList.Count > 1 )
     {
             throw new Exception();
     }
     
     foreach (XmlNode item in accruedInterestNodeList)
     {
         if (item.Attributes["href"] != null || item.Attributes["id"] == null) 
         {
             if (item.Attributes["id"] != null) 
             {
                 accruedInterestIDRef = item.Attributes["id"].Name;
                 XsdTypeBoolean ob = XsdTypeBoolean();
                 IDManager.SetID(accruedInterestIDRef, ob);
             }
             else if (item.Attributes.ToString() == "href")
             {
                 accruedInterestIDRef = item.Attributes["href"].Name;
             }
             else
             {
                 accruedInterest = new XsdTypeBoolean(item);
             }
         }
     }
     
 
     XmlNodeList categoryNodeList = xmlNode.SelectNodes("category");
     if (categoryNodeList.Count > 1 )
     {
             throw new Exception();
     }
     
     foreach (XmlNode item in categoryNodeList)
     {
         if (item.Attributes["href"] != null || item.Attributes["id"] == null) 
         {
             if (item.Attributes["id"] != null) 
             {
                 categoryIDRef = item.Attributes["id"].Name;
                 ObligationCategoryEnum ob = ObligationCategoryEnum();
                 IDManager.SetID(categoryIDRef, ob);
             }
             else if (item.Attributes.ToString() == "href")
             {
                 categoryIDRef = item.Attributes["href"].Name;
             }
             else
             {
                 category = new ObligationCategoryEnum(item);
             }
         }
     }
     
 
     XmlNodeList notSubordinatedNodeList = xmlNode.SelectNodes("notSubordinated");
     if (notSubordinatedNodeList.Count > 1 )
     {
             throw new Exception();
     }
     
     foreach (XmlNode item in notSubordinatedNodeList)
     {
         if (item.Attributes["href"] != null || item.Attributes["id"] == null) 
         {
             if (item.Attributes["id"] != null) 
             {
                 notSubordinatedIDRef = item.Attributes["id"].Name;
                 XsdTypeBoolean ob = XsdTypeBoolean();
                 IDManager.SetID(notSubordinatedIDRef, ob);
             }
             else if (item.Attributes.ToString() == "href")
             {
                 notSubordinatedIDRef = item.Attributes["href"].Name;
             }
             else
             {
                 notSubordinated = new XsdTypeBoolean(item);
             }
         }
     }
     
 
     XmlNodeList specifiedCurrencyNodeList = xmlNode.SelectNodes("specifiedCurrency");
     if (specifiedCurrencyNodeList.Count > 1 )
     {
             throw new Exception();
     }
     
     foreach (XmlNode item in specifiedCurrencyNodeList)
     {
         if (item.Attributes["href"] != null || item.Attributes["id"] == null) 
         {
             if (item.Attributes["id"] != null) 
             {
                 specifiedCurrencyIDRef = item.Attributes["id"].Name;
                 SpecifiedCurrency ob = SpecifiedCurrency();
                 IDManager.SetID(specifiedCurrencyIDRef, ob);
             }
             else if (item.Attributes.ToString() == "href")
             {
                 specifiedCurrencyIDRef = item.Attributes["href"].Name;
             }
             else
             {
                 specifiedCurrency = new SpecifiedCurrency(item);
             }
         }
     }
     
 
     XmlNodeList notSovereignLenderNodeList = xmlNode.SelectNodes("notSovereignLender");
     if (notSovereignLenderNodeList.Count > 1 )
     {
             throw new Exception();
     }
     
     foreach (XmlNode item in notSovereignLenderNodeList)
     {
         if (item.Attributes["href"] != null || item.Attributes["id"] == null) 
         {
             if (item.Attributes["id"] != null) 
             {
                 notSovereignLenderIDRef = item.Attributes["id"].Name;
                 XsdTypeBoolean ob = XsdTypeBoolean();
                 IDManager.SetID(notSovereignLenderIDRef, ob);
             }
             else if (item.Attributes.ToString() == "href")
             {
                 notSovereignLenderIDRef = item.Attributes["href"].Name;
             }
             else
             {
                 notSovereignLender = new XsdTypeBoolean(item);
             }
         }
     }
     
 
     XmlNodeList notDomesticCurrencyNodeList = xmlNode.SelectNodes("notDomesticCurrency");
     if (notDomesticCurrencyNodeList.Count > 1 )
     {
             throw new Exception();
     }
     
     foreach (XmlNode item in notDomesticCurrencyNodeList)
     {
         if (item.Attributes["href"] != null || item.Attributes["id"] == null) 
         {
             if (item.Attributes["id"] != null) 
             {
                 notDomesticCurrencyIDRef = item.Attributes["id"].Name;
                 NotDomesticCurrency ob = NotDomesticCurrency();
                 IDManager.SetID(notDomesticCurrencyIDRef, ob);
             }
             else if (item.Attributes.ToString() == "href")
             {
                 notDomesticCurrencyIDRef = item.Attributes["href"].Name;
             }
             else
             {
                 notDomesticCurrency = new NotDomesticCurrency(item);
             }
         }
     }
     
 
     XmlNodeList notDomesticLawNodeList = xmlNode.SelectNodes("notDomesticLaw");
     if (notDomesticLawNodeList.Count > 1 )
     {
             throw new Exception();
     }
     
     foreach (XmlNode item in notDomesticLawNodeList)
     {
         if (item.Attributes["href"] != null || item.Attributes["id"] == null) 
         {
             if (item.Attributes["id"] != null) 
             {
                 notDomesticLawIDRef = item.Attributes["id"].Name;
                 XsdTypeBoolean ob = XsdTypeBoolean();
                 IDManager.SetID(notDomesticLawIDRef, ob);
             }
             else if (item.Attributes.ToString() == "href")
             {
                 notDomesticLawIDRef = item.Attributes["href"].Name;
             }
             else
             {
                 notDomesticLaw = new XsdTypeBoolean(item);
             }
         }
     }
     
 
     XmlNodeList listedNodeList = xmlNode.SelectNodes("listed");
     if (listedNodeList.Count > 1 )
     {
             throw new Exception();
     }
     
     foreach (XmlNode item in listedNodeList)
     {
         if (item.Attributes["href"] != null || item.Attributes["id"] == null) 
         {
             if (item.Attributes["id"] != null) 
             {
                 listedIDRef = item.Attributes["id"].Name;
                 XsdTypeBoolean ob = XsdTypeBoolean();
                 IDManager.SetID(listedIDRef, ob);
             }
             else if (item.Attributes.ToString() == "href")
             {
                 listedIDRef = item.Attributes["href"].Name;
             }
             else
             {
                 listed = new XsdTypeBoolean(item);
             }
         }
     }
     
 
     XmlNodeList notContingentNodeList = xmlNode.SelectNodes("notContingent");
     if (notContingentNodeList.Count > 1 )
     {
             throw new Exception();
     }
     
     foreach (XmlNode item in notContingentNodeList)
     {
         if (item.Attributes["href"] != null || item.Attributes["id"] == null) 
         {
             if (item.Attributes["id"] != null) 
             {
                 notContingentIDRef = item.Attributes["id"].Name;
                 XsdTypeBoolean ob = XsdTypeBoolean();
                 IDManager.SetID(notContingentIDRef, ob);
             }
             else if (item.Attributes.ToString() == "href")
             {
                 notContingentIDRef = item.Attributes["href"].Name;
             }
             else
             {
                 notContingent = new XsdTypeBoolean(item);
             }
         }
     }
     
 
     XmlNodeList notDomesticIssuanceNodeList = xmlNode.SelectNodes("notDomesticIssuance");
     if (notDomesticIssuanceNodeList.Count > 1 )
     {
             throw new Exception();
     }
     
     foreach (XmlNode item in notDomesticIssuanceNodeList)
     {
         if (item.Attributes["href"] != null || item.Attributes["id"] == null) 
         {
             if (item.Attributes["id"] != null) 
             {
                 notDomesticIssuanceIDRef = item.Attributes["id"].Name;
                 XsdTypeBoolean ob = XsdTypeBoolean();
                 IDManager.SetID(notDomesticIssuanceIDRef, ob);
             }
             else if (item.Attributes.ToString() == "href")
             {
                 notDomesticIssuanceIDRef = item.Attributes["href"].Name;
             }
             else
             {
                 notDomesticIssuance = new XsdTypeBoolean(item);
             }
         }
     }
     
 
     XmlNodeList assignableLoanNodeList = xmlNode.SelectNodes("assignableLoan");
     if (assignableLoanNodeList.Count > 1 )
     {
             throw new Exception();
     }
     
     foreach (XmlNode item in assignableLoanNodeList)
     {
         if (item.Attributes["href"] != null || item.Attributes["id"] == null) 
         {
             if (item.Attributes["id"] != null) 
             {
                 assignableLoanIDRef = item.Attributes["id"].Name;
                 PCDeliverableObligationCharac ob = PCDeliverableObligationCharac();
                 IDManager.SetID(assignableLoanIDRef, ob);
             }
             else if (item.Attributes.ToString() == "href")
             {
                 assignableLoanIDRef = item.Attributes["href"].Name;
             }
             else
             {
                 assignableLoan = new PCDeliverableObligationCharac(item);
             }
         }
     }
     
 
     XmlNodeList consentRequiredLoanNodeList = xmlNode.SelectNodes("consentRequiredLoan");
     if (consentRequiredLoanNodeList.Count > 1 )
     {
             throw new Exception();
     }
     
     foreach (XmlNode item in consentRequiredLoanNodeList)
     {
         if (item.Attributes["href"] != null || item.Attributes["id"] == null) 
         {
             if (item.Attributes["id"] != null) 
             {
                 consentRequiredLoanIDRef = item.Attributes["id"].Name;
                 PCDeliverableObligationCharac ob = PCDeliverableObligationCharac();
                 IDManager.SetID(consentRequiredLoanIDRef, ob);
             }
             else if (item.Attributes.ToString() == "href")
             {
                 consentRequiredLoanIDRef = item.Attributes["href"].Name;
             }
             else
             {
                 consentRequiredLoan = new PCDeliverableObligationCharac(item);
             }
         }
     }
     
 
     XmlNodeList directLoanParticipationNodeList = xmlNode.SelectNodes("directLoanParticipation");
     if (directLoanParticipationNodeList.Count > 1 )
     {
             throw new Exception();
     }
     
     foreach (XmlNode item in directLoanParticipationNodeList)
     {
         if (item.Attributes["href"] != null || item.Attributes["id"] == null) 
         {
             if (item.Attributes["id"] != null) 
             {
                 directLoanParticipationIDRef = item.Attributes["id"].Name;
                 LoanParticipation ob = LoanParticipation();
                 IDManager.SetID(directLoanParticipationIDRef, ob);
             }
             else if (item.Attributes.ToString() == "href")
             {
                 directLoanParticipationIDRef = item.Attributes["href"].Name;
             }
             else
             {
                 directLoanParticipation = new LoanParticipation(item);
             }
         }
     }
     
 
     XmlNodeList transferableNodeList = xmlNode.SelectNodes("transferable");
     if (transferableNodeList.Count > 1 )
     {
             throw new Exception();
     }
     
     foreach (XmlNode item in transferableNodeList)
     {
         if (item.Attributes["href"] != null || item.Attributes["id"] == null) 
         {
             if (item.Attributes["id"] != null) 
             {
                 transferableIDRef = item.Attributes["id"].Name;
                 XsdTypeBoolean ob = XsdTypeBoolean();
                 IDManager.SetID(transferableIDRef, ob);
             }
             else if (item.Attributes.ToString() == "href")
             {
                 transferableIDRef = item.Attributes["href"].Name;
             }
             else
             {
                 transferable = new XsdTypeBoolean(item);
             }
         }
     }
     
 
     XmlNodeList maximumMaturityNodeList = xmlNode.SelectNodes("maximumMaturity");
     if (maximumMaturityNodeList.Count > 1 )
     {
             throw new Exception();
     }
     
     foreach (XmlNode item in maximumMaturityNodeList)
     {
         if (item.Attributes["href"] != null || item.Attributes["id"] == null) 
         {
             if (item.Attributes["id"] != null) 
             {
                 maximumMaturityIDRef = item.Attributes["id"].Name;
                 Period ob = Period();
                 IDManager.SetID(maximumMaturityIDRef, ob);
             }
             else if (item.Attributes.ToString() == "href")
             {
                 maximumMaturityIDRef = item.Attributes["href"].Name;
             }
             else
             {
                 maximumMaturity = new Period(item);
             }
         }
     }
     
 
     XmlNodeList acceleratedOrMaturedNodeList = xmlNode.SelectNodes("acceleratedOrMatured");
     if (acceleratedOrMaturedNodeList.Count > 1 )
     {
             throw new Exception();
     }
     
     foreach (XmlNode item in acceleratedOrMaturedNodeList)
     {
         if (item.Attributes["href"] != null || item.Attributes["id"] == null) 
         {
             if (item.Attributes["id"] != null) 
             {
                 acceleratedOrMaturedIDRef = item.Attributes["id"].Name;
                 XsdTypeBoolean ob = XsdTypeBoolean();
                 IDManager.SetID(acceleratedOrMaturedIDRef, ob);
             }
             else if (item.Attributes.ToString() == "href")
             {
                 acceleratedOrMaturedIDRef = item.Attributes["href"].Name;
             }
             else
             {
                 acceleratedOrMatured = new XsdTypeBoolean(item);
             }
         }
     }
     
 
     XmlNodeList notBearerNodeList = xmlNode.SelectNodes("notBearer");
     if (notBearerNodeList.Count > 1 )
     {
             throw new Exception();
     }
     
     foreach (XmlNode item in notBearerNodeList)
     {
         if (item.Attributes["href"] != null || item.Attributes["id"] == null) 
         {
             if (item.Attributes["id"] != null) 
             {
                 notBearerIDRef = item.Attributes["id"].Name;
                 XsdTypeBoolean ob = XsdTypeBoolean();
                 IDManager.SetID(notBearerIDRef, ob);
             }
             else if (item.Attributes.ToString() == "href")
             {
                 notBearerIDRef = item.Attributes["href"].Name;
             }
             else
             {
                 notBearer = new XsdTypeBoolean(item);
             }
         }
     }
     
 
     XmlNodeList fullFaithAndCreditObLiabilityNodeList = xmlNode.SelectNodes("fullFaithAndCreditObLiability");
     if (fullFaithAndCreditObLiabilityNodeList.Count > 1 )
     {
             throw new Exception();
     }
     
     foreach (XmlNode item in fullFaithAndCreditObLiabilityNodeList)
     {
         if (item.Attributes["href"] != null || item.Attributes["id"] == null) 
         {
             if (item.Attributes["id"] != null) 
             {
                 fullFaithAndCreditObLiabilityIDRef = item.Attributes["id"].Name;
                 XsdTypeBoolean ob = XsdTypeBoolean();
                 IDManager.SetID(fullFaithAndCreditObLiabilityIDRef, ob);
             }
             else if (item.Attributes.ToString() == "href")
             {
                 fullFaithAndCreditObLiabilityIDRef = item.Attributes["href"].Name;
             }
             else
             {
                 fullFaithAndCreditObLiability = new XsdTypeBoolean(item);
             }
         }
     }
     
 
     XmlNodeList generalFundObligationLiabilityNodeList = xmlNode.SelectNodes("generalFundObligationLiability");
     if (generalFundObligationLiabilityNodeList.Count > 1 )
     {
             throw new Exception();
     }
     
     foreach (XmlNode item in generalFundObligationLiabilityNodeList)
     {
         if (item.Attributes["href"] != null || item.Attributes["id"] == null) 
         {
             if (item.Attributes["id"] != null) 
             {
                 generalFundObligationLiabilityIDRef = item.Attributes["id"].Name;
                 XsdTypeBoolean ob = XsdTypeBoolean();
                 IDManager.SetID(generalFundObligationLiabilityIDRef, ob);
             }
             else if (item.Attributes.ToString() == "href")
             {
                 generalFundObligationLiabilityIDRef = item.Attributes["href"].Name;
             }
             else
             {
                 generalFundObligationLiability = new XsdTypeBoolean(item);
             }
         }
     }
     
 
     XmlNodeList revenueObligationLiabilityNodeList = xmlNode.SelectNodes("revenueObligationLiability");
     if (revenueObligationLiabilityNodeList.Count > 1 )
     {
             throw new Exception();
     }
     
     foreach (XmlNode item in revenueObligationLiabilityNodeList)
     {
         if (item.Attributes["href"] != null || item.Attributes["id"] == null) 
         {
             if (item.Attributes["id"] != null) 
             {
                 revenueObligationLiabilityIDRef = item.Attributes["id"].Name;
                 XsdTypeBoolean ob = XsdTypeBoolean();
                 IDManager.SetID(revenueObligationLiabilityIDRef, ob);
             }
             else if (item.Attributes.ToString() == "href")
             {
                 revenueObligationLiabilityIDRef = item.Attributes["href"].Name;
             }
             else
             {
                 revenueObligationLiability = new XsdTypeBoolean(item);
             }
         }
     }
     
 
     XmlNodeList indirectLoanParticipationNodeList = xmlNode.SelectNodes("indirectLoanParticipation");
     if (indirectLoanParticipationNodeList.Count > 1 )
     {
             throw new Exception();
     }
     
     foreach (XmlNode item in indirectLoanParticipationNodeList)
     {
         if (item.Attributes["href"] != null || item.Attributes["id"] == null) 
         {
             if (item.Attributes["id"] != null) 
             {
                 indirectLoanParticipationIDRef = item.Attributes["id"].Name;
                 LoanParticipation ob = LoanParticipation();
                 IDManager.SetID(indirectLoanParticipationIDRef, ob);
             }
             else if (item.Attributes.ToString() == "href")
             {
                 indirectLoanParticipationIDRef = item.Attributes["href"].Name;
             }
             else
             {
                 indirectLoanParticipation = new LoanParticipation(item);
             }
         }
     }
     
 
     XmlNodeList excludedNodeList = xmlNode.SelectNodes("excluded");
     if (excludedNodeList.Count > 1 )
     {
             throw new Exception();
     }
     
     foreach (XmlNode item in excludedNodeList)
     {
         if (item.Attributes["href"] != null || item.Attributes["id"] == null) 
         {
             if (item.Attributes["id"] != null) 
             {
                 excludedIDRef = item.Attributes["id"].Name;
                 XsdTypeString ob = XsdTypeString();
                 IDManager.SetID(excludedIDRef, ob);
             }
             else if (item.Attributes.ToString() == "href")
             {
                 excludedIDRef = item.Attributes["href"].Name;
             }
             else
             {
                 excluded = new XsdTypeString(item);
             }
         }
     }
     
 
     XmlNodeList othReferenceEntityObligationsNodeList = xmlNode.SelectNodes("othReferenceEntityObligations");
     if (othReferenceEntityObligationsNodeList.Count > 1 )
     {
             throw new Exception();
     }
     
     foreach (XmlNode item in othReferenceEntityObligationsNodeList)
     {
         if (item.Attributes["href"] != null || item.Attributes["id"] == null) 
         {
             if (item.Attributes["id"] != null) 
             {
                 othReferenceEntityObligationsIDRef = item.Attributes["id"].Name;
                 XsdTypeString ob = XsdTypeString();
                 IDManager.SetID(othReferenceEntityObligationsIDRef, ob);
             }
             else if (item.Attributes.ToString() == "href")
             {
                 othReferenceEntityObligationsIDRef = item.Attributes["href"].Name;
             }
             else
             {
                 othReferenceEntityObligations = new XsdTypeString(item);
             }
         }
     }
     
 
 }
コード例 #2
0
 public Obligations(XmlNode xmlNode)
 {
     XmlNodeList categoryNodeList = xmlNode.SelectNodes("category");
     if (categoryNodeList.Count > 1 )
     {
             throw new Exception();
     }
     
     foreach (XmlNode item in categoryNodeList)
     {
         if (item.Attributes["href"] != null || item.Attributes["id"] == null) 
         {
             if (item.Attributes["id"] != null) 
             {
                 categoryIDRef = item.Attributes["id"].Name;
                 ObligationCategoryEnum ob = ObligationCategoryEnum();
                 IDManager.SetID(categoryIDRef, ob);
             }
             else if (item.Attributes.ToString() == "href")
             {
                 categoryIDRef = item.Attributes["href"].Name;
             }
             else
             {
                 category = new ObligationCategoryEnum(item);
             }
         }
     }
     
 
     XmlNodeList notSubordinatedNodeList = xmlNode.SelectNodes("notSubordinated");
     if (notSubordinatedNodeList.Count > 1 )
     {
             throw new Exception();
     }
     
     foreach (XmlNode item in notSubordinatedNodeList)
     {
         if (item.Attributes["href"] != null || item.Attributes["id"] == null) 
         {
             if (item.Attributes["id"] != null) 
             {
                 notSubordinatedIDRef = item.Attributes["id"].Name;
                 XsdTypeBoolean ob = XsdTypeBoolean();
                 IDManager.SetID(notSubordinatedIDRef, ob);
             }
             else if (item.Attributes.ToString() == "href")
             {
                 notSubordinatedIDRef = item.Attributes["href"].Name;
             }
             else
             {
                 notSubordinated = new XsdTypeBoolean(item);
             }
         }
     }
     
 
     XmlNodeList specifiedCurrencyNodeList = xmlNode.SelectNodes("specifiedCurrency");
     if (specifiedCurrencyNodeList.Count > 1 )
     {
             throw new Exception();
     }
     
     foreach (XmlNode item in specifiedCurrencyNodeList)
     {
         if (item.Attributes["href"] != null || item.Attributes["id"] == null) 
         {
             if (item.Attributes["id"] != null) 
             {
                 specifiedCurrencyIDRef = item.Attributes["id"].Name;
                 SpecifiedCurrency ob = SpecifiedCurrency();
                 IDManager.SetID(specifiedCurrencyIDRef, ob);
             }
             else if (item.Attributes.ToString() == "href")
             {
                 specifiedCurrencyIDRef = item.Attributes["href"].Name;
             }
             else
             {
                 specifiedCurrency = new SpecifiedCurrency(item);
             }
         }
     }
     
 
     XmlNodeList notSovereignLenderNodeList = xmlNode.SelectNodes("notSovereignLender");
     if (notSovereignLenderNodeList.Count > 1 )
     {
             throw new Exception();
     }
     
     foreach (XmlNode item in notSovereignLenderNodeList)
     {
         if (item.Attributes["href"] != null || item.Attributes["id"] == null) 
         {
             if (item.Attributes["id"] != null) 
             {
                 notSovereignLenderIDRef = item.Attributes["id"].Name;
                 XsdTypeBoolean ob = XsdTypeBoolean();
                 IDManager.SetID(notSovereignLenderIDRef, ob);
             }
             else if (item.Attributes.ToString() == "href")
             {
                 notSovereignLenderIDRef = item.Attributes["href"].Name;
             }
             else
             {
                 notSovereignLender = new XsdTypeBoolean(item);
             }
         }
     }
     
 
     XmlNodeList notDomesticCurrencyNodeList = xmlNode.SelectNodes("notDomesticCurrency");
     if (notDomesticCurrencyNodeList.Count > 1 )
     {
             throw new Exception();
     }
     
     foreach (XmlNode item in notDomesticCurrencyNodeList)
     {
         if (item.Attributes["href"] != null || item.Attributes["id"] == null) 
         {
             if (item.Attributes["id"] != null) 
             {
                 notDomesticCurrencyIDRef = item.Attributes["id"].Name;
                 NotDomesticCurrency ob = NotDomesticCurrency();
                 IDManager.SetID(notDomesticCurrencyIDRef, ob);
             }
             else if (item.Attributes.ToString() == "href")
             {
                 notDomesticCurrencyIDRef = item.Attributes["href"].Name;
             }
             else
             {
                 notDomesticCurrency = new NotDomesticCurrency(item);
             }
         }
     }
     
 
     XmlNodeList notDomesticLawNodeList = xmlNode.SelectNodes("notDomesticLaw");
     if (notDomesticLawNodeList.Count > 1 )
     {
             throw new Exception();
     }
     
     foreach (XmlNode item in notDomesticLawNodeList)
     {
         if (item.Attributes["href"] != null || item.Attributes["id"] == null) 
         {
             if (item.Attributes["id"] != null) 
             {
                 notDomesticLawIDRef = item.Attributes["id"].Name;
                 XsdTypeBoolean ob = XsdTypeBoolean();
                 IDManager.SetID(notDomesticLawIDRef, ob);
             }
             else if (item.Attributes.ToString() == "href")
             {
                 notDomesticLawIDRef = item.Attributes["href"].Name;
             }
             else
             {
                 notDomesticLaw = new XsdTypeBoolean(item);
             }
         }
     }
     
 
     XmlNodeList listedNodeList = xmlNode.SelectNodes("listed");
     if (listedNodeList.Count > 1 )
     {
             throw new Exception();
     }
     
     foreach (XmlNode item in listedNodeList)
     {
         if (item.Attributes["href"] != null || item.Attributes["id"] == null) 
         {
             if (item.Attributes["id"] != null) 
             {
                 listedIDRef = item.Attributes["id"].Name;
                 XsdTypeBoolean ob = XsdTypeBoolean();
                 IDManager.SetID(listedIDRef, ob);
             }
             else if (item.Attributes.ToString() == "href")
             {
                 listedIDRef = item.Attributes["href"].Name;
             }
             else
             {
                 listed = new XsdTypeBoolean(item);
             }
         }
     }
     
 
     XmlNodeList notDomesticIssuanceNodeList = xmlNode.SelectNodes("notDomesticIssuance");
     if (notDomesticIssuanceNodeList.Count > 1 )
     {
             throw new Exception();
     }
     
     foreach (XmlNode item in notDomesticIssuanceNodeList)
     {
         if (item.Attributes["href"] != null || item.Attributes["id"] == null) 
         {
             if (item.Attributes["id"] != null) 
             {
                 notDomesticIssuanceIDRef = item.Attributes["id"].Name;
                 XsdTypeBoolean ob = XsdTypeBoolean();
                 IDManager.SetID(notDomesticIssuanceIDRef, ob);
             }
             else if (item.Attributes.ToString() == "href")
             {
                 notDomesticIssuanceIDRef = item.Attributes["href"].Name;
             }
             else
             {
                 notDomesticIssuance = new XsdTypeBoolean(item);
             }
         }
     }
     
 
     XmlNodeList fullFaithAndCreditObLiabilityNodeList = xmlNode.SelectNodes("fullFaithAndCreditObLiability");
     if (fullFaithAndCreditObLiabilityNodeList.Count > 1 )
     {
             throw new Exception();
     }
     
     foreach (XmlNode item in fullFaithAndCreditObLiabilityNodeList)
     {
         if (item.Attributes["href"] != null || item.Attributes["id"] == null) 
         {
             if (item.Attributes["id"] != null) 
             {
                 fullFaithAndCreditObLiabilityIDRef = item.Attributes["id"].Name;
                 XsdTypeBoolean ob = XsdTypeBoolean();
                 IDManager.SetID(fullFaithAndCreditObLiabilityIDRef, ob);
             }
             else if (item.Attributes.ToString() == "href")
             {
                 fullFaithAndCreditObLiabilityIDRef = item.Attributes["href"].Name;
             }
             else
             {
                 fullFaithAndCreditObLiability = new XsdTypeBoolean(item);
             }
         }
     }
     
 
     XmlNodeList generalFundObligationLiabilityNodeList = xmlNode.SelectNodes("generalFundObligationLiability");
     if (generalFundObligationLiabilityNodeList.Count > 1 )
     {
             throw new Exception();
     }
     
     foreach (XmlNode item in generalFundObligationLiabilityNodeList)
     {
         if (item.Attributes["href"] != null || item.Attributes["id"] == null) 
         {
             if (item.Attributes["id"] != null) 
             {
                 generalFundObligationLiabilityIDRef = item.Attributes["id"].Name;
                 XsdTypeBoolean ob = XsdTypeBoolean();
                 IDManager.SetID(generalFundObligationLiabilityIDRef, ob);
             }
             else if (item.Attributes.ToString() == "href")
             {
                 generalFundObligationLiabilityIDRef = item.Attributes["href"].Name;
             }
             else
             {
                 generalFundObligationLiability = new XsdTypeBoolean(item);
             }
         }
     }
     
 
     XmlNodeList revenueObligationLiabilityNodeList = xmlNode.SelectNodes("revenueObligationLiability");
     if (revenueObligationLiabilityNodeList.Count > 1 )
     {
             throw new Exception();
     }
     
     foreach (XmlNode item in revenueObligationLiabilityNodeList)
     {
         if (item.Attributes["href"] != null || item.Attributes["id"] == null) 
         {
             if (item.Attributes["id"] != null) 
             {
                 revenueObligationLiabilityIDRef = item.Attributes["id"].Name;
                 XsdTypeBoolean ob = XsdTypeBoolean();
                 IDManager.SetID(revenueObligationLiabilityIDRef, ob);
             }
             else if (item.Attributes.ToString() == "href")
             {
                 revenueObligationLiabilityIDRef = item.Attributes["href"].Name;
             }
             else
             {
                 revenueObligationLiability = new XsdTypeBoolean(item);
             }
         }
     }
     
 
     XmlNodeList notContingentNodeList = xmlNode.SelectNodes("notContingent");
     if (notContingentNodeList.Count > 1 )
     {
             throw new Exception();
     }
     
     foreach (XmlNode item in notContingentNodeList)
     {
         if (item.Attributes["href"] != null || item.Attributes["id"] == null) 
         {
             if (item.Attributes["id"] != null) 
             {
                 notContingentIDRef = item.Attributes["id"].Name;
                 XsdTypeBoolean ob = XsdTypeBoolean();
                 IDManager.SetID(notContingentIDRef, ob);
             }
             else if (item.Attributes.ToString() == "href")
             {
                 notContingentIDRef = item.Attributes["href"].Name;
             }
             else
             {
                 notContingent = new XsdTypeBoolean(item);
             }
         }
     }
     
 
     XmlNodeList excludedNodeList = xmlNode.SelectNodes("excluded");
     if (excludedNodeList.Count > 1 )
     {
             throw new Exception();
     }
     
     foreach (XmlNode item in excludedNodeList)
     {
         if (item.Attributes["href"] != null || item.Attributes["id"] == null) 
         {
             if (item.Attributes["id"] != null) 
             {
                 excludedIDRef = item.Attributes["id"].Name;
                 XsdTypeString ob = XsdTypeString();
                 IDManager.SetID(excludedIDRef, ob);
             }
             else if (item.Attributes.ToString() == "href")
             {
                 excludedIDRef = item.Attributes["href"].Name;
             }
             else
             {
                 excluded = new XsdTypeString(item);
             }
         }
     }
     
 
     XmlNodeList othReferenceEntityObligationsNodeList = xmlNode.SelectNodes("othReferenceEntityObligations");
     if (othReferenceEntityObligationsNodeList.Count > 1 )
     {
             throw new Exception();
     }
     
     foreach (XmlNode item in othReferenceEntityObligationsNodeList)
     {
         if (item.Attributes["href"] != null || item.Attributes["id"] == null) 
         {
             if (item.Attributes["id"] != null) 
             {
                 othReferenceEntityObligationsIDRef = item.Attributes["id"].Name;
                 XsdTypeString ob = XsdTypeString();
                 IDManager.SetID(othReferenceEntityObligationsIDRef, ob);
             }
             else if (item.Attributes.ToString() == "href")
             {
                 othReferenceEntityObligationsIDRef = item.Attributes["href"].Name;
             }
             else
             {
                 othReferenceEntityObligations = new XsdTypeString(item);
             }
         }
     }
     
 
     XmlNodeList designatedPriorityNodeList = xmlNode.SelectNodes("designatedPriority");
     if (designatedPriorityNodeList.Count > 1 )
     {
             throw new Exception();
     }
     
     foreach (XmlNode item in designatedPriorityNodeList)
     {
         if (item.Attributes["href"] != null || item.Attributes["id"] == null) 
         {
             if (item.Attributes["id"] != null) 
             {
                 designatedPriorityIDRef = item.Attributes["id"].Name;
                 Lien ob = Lien();
                 IDManager.SetID(designatedPriorityIDRef, ob);
             }
             else if (item.Attributes.ToString() == "href")
             {
                 designatedPriorityIDRef = item.Attributes["href"].Name;
             }
             else
             {
                 designatedPriority = new Lien(item);
             }
         }
     }
     
 
     XmlNodeList cashSettlementOnlyNodeList = xmlNode.SelectNodes("cashSettlementOnly");
     if (cashSettlementOnlyNodeList.Count > 1 )
     {
             throw new Exception();
     }
     
     foreach (XmlNode item in cashSettlementOnlyNodeList)
     {
         if (item.Attributes["href"] != null || item.Attributes["id"] == null) 
         {
             if (item.Attributes["id"] != null) 
             {
                 cashSettlementOnlyIDRef = item.Attributes["id"].Name;
                 XsdTypeBoolean ob = XsdTypeBoolean();
                 IDManager.SetID(cashSettlementOnlyIDRef, ob);
             }
             else if (item.Attributes.ToString() == "href")
             {
                 cashSettlementOnlyIDRef = item.Attributes["href"].Name;
             }
             else
             {
                 cashSettlementOnly = new XsdTypeBoolean(item);
             }
         }
     }
     
 
     XmlNodeList deliveryOfCommitmentsNodeList = xmlNode.SelectNodes("deliveryOfCommitments");
     if (deliveryOfCommitmentsNodeList.Count > 1 )
     {
             throw new Exception();
     }
     
     foreach (XmlNode item in deliveryOfCommitmentsNodeList)
     {
         if (item.Attributes["href"] != null || item.Attributes["id"] == null) 
         {
             if (item.Attributes["id"] != null) 
             {
                 deliveryOfCommitmentsIDRef = item.Attributes["id"].Name;
                 XsdTypeBoolean ob = XsdTypeBoolean();
                 IDManager.SetID(deliveryOfCommitmentsIDRef, ob);
             }
             else if (item.Attributes.ToString() == "href")
             {
                 deliveryOfCommitmentsIDRef = item.Attributes["href"].Name;
             }
             else
             {
                 deliveryOfCommitments = new XsdTypeBoolean(item);
             }
         }
     }
     
 
     XmlNodeList continuityNodeList = xmlNode.SelectNodes("continuity");
     if (continuityNodeList.Count > 1 )
     {
             throw new Exception();
     }
     
     foreach (XmlNode item in continuityNodeList)
     {
         if (item.Attributes["href"] != null || item.Attributes["id"] == null) 
         {
             if (item.Attributes["id"] != null) 
             {
                 continuityIDRef = item.Attributes["id"].Name;
                 XsdTypeBoolean ob = XsdTypeBoolean();
                 IDManager.SetID(continuityIDRef, ob);
             }
             else if (item.Attributes.ToString() == "href")
             {
                 continuityIDRef = item.Attributes["href"].Name;
             }
             else
             {
                 continuity = new XsdTypeBoolean(item);
             }
         }
     }
     
 
 }