public CashFlowInfoResult(XmlNode xmlNode) : base(xmlNode) { XmlNode typeNode = xmlNode.SelectSingleNode("type"); if (typeNode != null) { if (typeNode.Attributes["href"] != null || typeNode.Attributes["id"] != null) { if (typeNode.Attributes["id"] != null) { typeIDRef_ = typeNode.Attributes["id"].Value; XsdTypeToken ob = new XsdTypeToken(typeNode); IDManager.SetID(typeIDRef_, ob); } else if (typeNode.Attributes["href"] != null) { typeIDRef_ = typeNode.Attributes["href"].Value; } else { type_ = new XsdTypeToken(typeNode); } } else { type_ = new XsdTypeToken(typeNode); } } XmlNode simpleCashFlowResultNode = xmlNode.SelectSingleNode("simpleCashFlowResult"); if (simpleCashFlowResultNode != null) { if (simpleCashFlowResultNode.Attributes["href"] != null || simpleCashFlowResultNode.Attributes["id"] != null) { if (simpleCashFlowResultNode.Attributes["id"] != null) { simpleCashFlowResultIDRef_ = simpleCashFlowResultNode.Attributes["id"].Value; SimpleCashFlowResult ob = new SimpleCashFlowResult(simpleCashFlowResultNode); IDManager.SetID(simpleCashFlowResultIDRef_, ob); } else if (simpleCashFlowResultNode.Attributes["href"] != null) { simpleCashFlowResultIDRef_ = simpleCashFlowResultNode.Attributes["href"].Value; } else { simpleCashFlowResult_ = new SimpleCashFlowResult(simpleCashFlowResultNode); } } else { simpleCashFlowResult_ = new SimpleCashFlowResult(simpleCashFlowResultNode); } } }