public Excel_creditEventInfo(XmlNode xmlNode) : base(xmlNode) { XmlNode excel_issueInfoNode = xmlNode.SelectSingleNode("excel_issueInfo"); if (excel_issueInfoNode != null) { if (excel_issueInfoNode.Attributes["href"] != null || excel_issueInfoNode.Attributes["id"] != null) { if (excel_issueInfoNode.Attributes["id"] != null) { excel_issueInfoIDRef_ = excel_issueInfoNode.Attributes["id"].Value; Excel_issueInfo ob = new Excel_issueInfo(excel_issueInfoNode); IDManager.SetID(excel_issueInfoIDRef_, ob); } else if (excel_issueInfoNode.Attributes["href"] != null) { excel_issueInfoIDRef_ = excel_issueInfoNode.Attributes["href"].Value; } else { excel_issueInfo_ = new Excel_issueInfo(excel_issueInfoNode); } } else { excel_issueInfo_ = new Excel_issueInfo(excel_issueInfoNode); } } XmlNode excel_referenceInformationListNode = xmlNode.SelectSingleNode("excel_referenceInformationList"); if (excel_referenceInformationListNode != null) { if (excel_referenceInformationListNode.Attributes["href"] != null || excel_referenceInformationListNode.Attributes["id"] != null) { if (excel_referenceInformationListNode.Attributes["id"] != null) { excel_referenceInformationListIDRef_ = excel_referenceInformationListNode.Attributes["id"].Value; Excel_referenceInformationList ob = new Excel_referenceInformationList(excel_referenceInformationListNode); IDManager.SetID(excel_referenceInformationListIDRef_, ob); } else if (excel_referenceInformationListNode.Attributes["href"] != null) { excel_referenceInformationListIDRef_ = excel_referenceInformationListNode.Attributes["href"].Value; } else { excel_referenceInformationList_ = new Excel_referenceInformationList(excel_referenceInformationListNode); } } else { excel_referenceInformationList_ = new Excel_referenceInformationList(excel_referenceInformationListNode); } } XmlNode excel_jointProbabilityTraitNode = xmlNode.SelectSingleNode("excel_jointProbabilityTrait"); if (excel_jointProbabilityTraitNode != null) { if (excel_jointProbabilityTraitNode.Attributes["href"] != null || excel_jointProbabilityTraitNode.Attributes["id"] != null) { if (excel_jointProbabilityTraitNode.Attributes["id"] != null) { excel_jointProbabilityTraitIDRef_ = excel_jointProbabilityTraitNode.Attributes["id"].Value; Excel_jointProbabilityTrait ob = new Excel_jointProbabilityTrait(excel_jointProbabilityTraitNode); IDManager.SetID(excel_jointProbabilityTraitIDRef_, ob); } else if (excel_jointProbabilityTraitNode.Attributes["href"] != null) { excel_jointProbabilityTraitIDRef_ = excel_jointProbabilityTraitNode.Attributes["href"].Value; } else { excel_jointProbabilityTrait_ = new Excel_jointProbabilityTrait(excel_jointProbabilityTraitNode); } } else { excel_jointProbabilityTrait_ = new Excel_jointProbabilityTrait(excel_jointProbabilityTraitNode); } } XmlNode excel_protectionTermsNode = xmlNode.SelectSingleNode("excel_protectionTerms"); if (excel_protectionTermsNode != null) { if (excel_protectionTermsNode.Attributes["href"] != null || excel_protectionTermsNode.Attributes["id"] != null) { if (excel_protectionTermsNode.Attributes["id"] != null) { excel_protectionTermsIDRef_ = excel_protectionTermsNode.Attributes["id"].Value; Excel_protectionTerms ob = new Excel_protectionTerms(excel_protectionTermsNode); IDManager.SetID(excel_protectionTermsIDRef_, ob); } else if (excel_protectionTermsNode.Attributes["href"] != null) { excel_protectionTermsIDRef_ = excel_protectionTermsNode.Attributes["href"].Value; } else { excel_protectionTerms_ = new Excel_protectionTerms(excel_protectionTermsNode); } } else { excel_protectionTerms_ = new Excel_protectionTerms(excel_protectionTermsNode); } } }