public Valuations(XmlNode xmlNode)
 {
     XmlNodeList valuationNodeList = xmlNode.SelectNodes("valuation");
     if (valuationNodeList.Count > 1 )
     {
             throw new Exception();
     }
     
     foreach (XmlNode item in valuationNodeList)
     {
         if (item.Attributes["href"] != null || item.Attributes["id"] == null) 
         {
             if (item.Attributes["id"] != null) 
             {
                 valuationIDRef = item.Attributes["id"].Name;
                 AssetValuation ob = AssetValuation();
                 IDManager.SetID(valuationIDRef, ob);
             }
             else if (item.Attributes.ToString() == "href")
             {
                 valuationIDRef = item.Attributes["href"].Name;
             }
             else
             {
                 valuation = new AssetValuation(item);
             }
         }
     }
     
 
     XmlNodeList valuationReferenceNodeList = xmlNode.SelectNodes("valuationReference");
     if (valuationReferenceNodeList.Count > 1 )
     {
             throw new Exception();
     }
     
     foreach (XmlNode item in valuationReferenceNodeList)
     {
         if (item.Attributes["href"] != null || item.Attributes["id"] == null) 
         {
             if (item.Attributes["id"] != null) 
             {
                 valuationReferenceIDRef = item.Attributes["id"].Name;
                 ValuationReference ob = ValuationReference();
                 IDManager.SetID(valuationReferenceIDRef, ob);
             }
             else if (item.Attributes.ToString() == "href")
             {
                 valuationReferenceIDRef = item.Attributes["href"].Name;
             }
             else
             {
                 valuationReference = new ValuationReference(item);
             }
         }
     }
     
 
 }
        public Valuations(XmlNode xmlNode)
        {
            XmlNodeList valuationNodeList = xmlNode.SelectNodes("valuation");

            if (valuationNodeList.Count > 1)
            {
                throw new Exception();
            }

            foreach (XmlNode item in valuationNodeList)
            {
                if (item.Attributes["href"] != null || item.Attributes["id"] == null)
                {
                    if (item.Attributes["id"] != null)
                    {
                        valuationIDRef = item.Attributes["id"].Name;
                        AssetValuation ob = AssetValuation();
                        IDManager.SetID(valuationIDRef, ob);
                    }
                    else if (item.Attributes.ToString() == "href")
                    {
                        valuationIDRef = item.Attributes["href"].Name;
                    }
                    else
                    {
                        valuation = new AssetValuation(item);
                    }
                }
            }


            XmlNodeList valuationReferenceNodeList = xmlNode.SelectNodes("valuationReference");

            if (valuationReferenceNodeList.Count > 1)
            {
                throw new Exception();
            }

            foreach (XmlNode item in valuationReferenceNodeList)
            {
                if (item.Attributes["href"] != null || item.Attributes["id"] == null)
                {
                    if (item.Attributes["id"] != null)
                    {
                        valuationReferenceIDRef = item.Attributes["id"].Name;
                        ValuationReference ob = ValuationReference();
                        IDManager.SetID(valuationReferenceIDRef, ob);
                    }
                    else if (item.Attributes.ToString() == "href")
                    {
                        valuationReferenceIDRef = item.Attributes["href"].Name;
                    }
                    else
                    {
                        valuationReference = new ValuationReference(item);
                    }
                }
            }
        }
 public Valuations(XmlNode xmlNode)
 {
     XmlNode valuationNode = xmlNode.SelectSingleNode("valuation");
     
     if (valuationNode != null)
     {
         if (valuationNode.Attributes["href"] != null || valuationNode.Attributes["id"] != null) 
         {
             if (valuationNode.Attributes["id"] != null) 
             {
                 valuationIDRef_ = valuationNode.Attributes["id"].Value;
                 AssetValuation ob = new AssetValuation(valuationNode);
                 IDManager.SetID(valuationIDRef_, ob);
             }
             else if (valuationNode.Attributes["href"] != null)
             {
                 valuationIDRef_ = valuationNode.Attributes["href"].Value;
             }
             else
             {
                 valuation_ = new AssetValuation(valuationNode);
             }
         }
         else
         {
             valuation_ = new AssetValuation(valuationNode);
         }
     }
     
 
     XmlNode valuationReferenceNode = xmlNode.SelectSingleNode("valuationReference");
     
     if (valuationReferenceNode != null)
     {
         if (valuationReferenceNode.Attributes["href"] != null || valuationReferenceNode.Attributes["id"] != null) 
         {
             if (valuationReferenceNode.Attributes["id"] != null) 
             {
                 valuationReferenceIDRef_ = valuationReferenceNode.Attributes["id"].Value;
                 ValuationReference ob = new ValuationReference(valuationReferenceNode);
                 IDManager.SetID(valuationReferenceIDRef_, ob);
             }
             else if (valuationReferenceNode.Attributes["href"] != null)
             {
                 valuationReferenceIDRef_ = valuationReferenceNode.Attributes["href"].Value;
             }
             else
             {
                 valuationReference_ = new ValuationReference(valuationReferenceNode);
             }
         }
         else
         {
             valuationReference_ = new ValuationReference(valuationReferenceNode);
         }
     }
     
 
 }
Ejemplo n.º 4
0
        public Valuations(XmlNode xmlNode)
        {
            XmlNode valuationNode = xmlNode.SelectSingleNode("valuation");

            if (valuationNode != null)
            {
                if (valuationNode.Attributes["href"] != null || valuationNode.Attributes["id"] != null)
                {
                    if (valuationNode.Attributes["id"] != null)
                    {
                        valuationIDRef_ = valuationNode.Attributes["id"].Value;
                        AssetValuation ob = new AssetValuation(valuationNode);
                        IDManager.SetID(valuationIDRef_, ob);
                    }
                    else if (valuationNode.Attributes["href"] != null)
                    {
                        valuationIDRef_ = valuationNode.Attributes["href"].Value;
                    }
                    else
                    {
                        valuation_ = new AssetValuation(valuationNode);
                    }
                }
                else
                {
                    valuation_ = new AssetValuation(valuationNode);
                }
            }


            XmlNode valuationReferenceNode = xmlNode.SelectSingleNode("valuationReference");

            if (valuationReferenceNode != null)
            {
                if (valuationReferenceNode.Attributes["href"] != null || valuationReferenceNode.Attributes["id"] != null)
                {
                    if (valuationReferenceNode.Attributes["id"] != null)
                    {
                        valuationReferenceIDRef_ = valuationReferenceNode.Attributes["id"].Value;
                        ValuationReference ob = new ValuationReference(valuationReferenceNode);
                        IDManager.SetID(valuationReferenceIDRef_, ob);
                    }
                    else if (valuationReferenceNode.Attributes["href"] != null)
                    {
                        valuationReferenceIDRef_ = valuationReferenceNode.Attributes["href"].Value;
                    }
                    else
                    {
                        valuationReference_ = new ValuationReference(valuationReferenceNode);
                    }
                }
                else
                {
                    valuationReference_ = new ValuationReference(valuationReferenceNode);
                }
            }
        }
Ejemplo n.º 5
0
        public ScheduledDate(XmlNode xmlNode)
        {
            XmlNode unadjustedDateNode = xmlNode.SelectSingleNode("unadjustedDate");

            if (unadjustedDateNode != null)
            {
                if (unadjustedDateNode.Attributes["href"] != null || unadjustedDateNode.Attributes["id"] != null)
                {
                    if (unadjustedDateNode.Attributes["id"] != null)
                    {
                        unadjustedDateIDRef_ = unadjustedDateNode.Attributes["id"].Value;
                        XsdTypeDate ob = new XsdTypeDate(unadjustedDateNode);
                        IDManager.SetID(unadjustedDateIDRef_, ob);
                    }
                    else if (unadjustedDateNode.Attributes["href"] != null)
                    {
                        unadjustedDateIDRef_ = unadjustedDateNode.Attributes["href"].Value;
                    }
                    else
                    {
                        unadjustedDate_ = new XsdTypeDate(unadjustedDateNode);
                    }
                }
                else
                {
                    unadjustedDate_ = new XsdTypeDate(unadjustedDateNode);
                }
            }


            XmlNode adjustedDateNode = xmlNode.SelectSingleNode("adjustedDate");

            if (adjustedDateNode != null)
            {
                if (adjustedDateNode.Attributes["href"] != null || adjustedDateNode.Attributes["id"] != null)
                {
                    if (adjustedDateNode.Attributes["id"] != null)
                    {
                        adjustedDateIDRef_ = adjustedDateNode.Attributes["id"].Value;
                        XsdTypeDate ob = new XsdTypeDate(adjustedDateNode);
                        IDManager.SetID(adjustedDateIDRef_, ob);
                    }
                    else if (adjustedDateNode.Attributes["href"] != null)
                    {
                        adjustedDateIDRef_ = adjustedDateNode.Attributes["href"].Value;
                    }
                    else
                    {
                        adjustedDate_ = new XsdTypeDate(adjustedDateNode);
                    }
                }
                else
                {
                    adjustedDate_ = new XsdTypeDate(adjustedDateNode);
                }
            }


            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;
                        ScheduledDateType ob = new ScheduledDateType(typeNode);
                        IDManager.SetID(typeIDRef_, ob);
                    }
                    else if (typeNode.Attributes["href"] != null)
                    {
                        typeIDRef_ = typeNode.Attributes["href"].Value;
                    }
                    else
                    {
                        type_ = new ScheduledDateType(typeNode);
                    }
                }
                else
                {
                    type_ = new ScheduledDateType(typeNode);
                }
            }


            XmlNode assetReferenceNode = xmlNode.SelectSingleNode("assetReference");

            if (assetReferenceNode != null)
            {
                if (assetReferenceNode.Attributes["href"] != null || assetReferenceNode.Attributes["id"] != null)
                {
                    if (assetReferenceNode.Attributes["id"] != null)
                    {
                        assetReferenceIDRef_ = assetReferenceNode.Attributes["id"].Value;
                        AnyAssetReference ob = new AnyAssetReference(assetReferenceNode);
                        IDManager.SetID(assetReferenceIDRef_, ob);
                    }
                    else if (assetReferenceNode.Attributes["href"] != null)
                    {
                        assetReferenceIDRef_ = assetReferenceNode.Attributes["href"].Value;
                    }
                    else
                    {
                        assetReference_ = new AnyAssetReference(assetReferenceNode);
                    }
                }
                else
                {
                    assetReference_ = new AnyAssetReference(assetReferenceNode);
                }
            }


            XmlNode associatedValueNode = xmlNode.SelectSingleNode("associatedValue");

            if (associatedValueNode != null)
            {
                if (associatedValueNode.Attributes["href"] != null || associatedValueNode.Attributes["id"] != null)
                {
                    if (associatedValueNode.Attributes["id"] != null)
                    {
                        associatedValueIDRef_ = associatedValueNode.Attributes["id"].Value;
                        AssetValuation ob = new AssetValuation(associatedValueNode);
                        IDManager.SetID(associatedValueIDRef_, ob);
                    }
                    else if (associatedValueNode.Attributes["href"] != null)
                    {
                        associatedValueIDRef_ = associatedValueNode.Attributes["href"].Value;
                    }
                    else
                    {
                        associatedValue_ = new AssetValuation(associatedValueNode);
                    }
                }
                else
                {
                    associatedValue_ = new AssetValuation(associatedValueNode);
                }
            }


            XmlNode associatedValueReferenceNode = xmlNode.SelectSingleNode("associatedValueReference");

            if (associatedValueReferenceNode != null)
            {
                if (associatedValueReferenceNode.Attributes["href"] != null || associatedValueReferenceNode.Attributes["id"] != null)
                {
                    if (associatedValueReferenceNode.Attributes["id"] != null)
                    {
                        associatedValueReferenceIDRef_ = associatedValueReferenceNode.Attributes["id"].Value;
                        ValuationReference ob = new ValuationReference(associatedValueReferenceNode);
                        IDManager.SetID(associatedValueReferenceIDRef_, ob);
                    }
                    else if (associatedValueReferenceNode.Attributes["href"] != null)
                    {
                        associatedValueReferenceIDRef_ = associatedValueReferenceNode.Attributes["href"].Value;
                    }
                    else
                    {
                        associatedValueReference_ = new ValuationReference(associatedValueReferenceNode);
                    }
                }
                else
                {
                    associatedValueReference_ = new ValuationReference(associatedValueReferenceNode);
                }
            }
        }
 public ScheduledDate(XmlNode xmlNode)
 {
     XmlNode unadjustedDateNode = xmlNode.SelectSingleNode("unadjustedDate");
     
     if (unadjustedDateNode != null)
     {
         if (unadjustedDateNode.Attributes["href"] != null || unadjustedDateNode.Attributes["id"] != null) 
         {
             if (unadjustedDateNode.Attributes["id"] != null) 
             {
                 unadjustedDateIDRef_ = unadjustedDateNode.Attributes["id"].Value;
                 XsdTypeDate ob = new XsdTypeDate(unadjustedDateNode);
                 IDManager.SetID(unadjustedDateIDRef_, ob);
             }
             else if (unadjustedDateNode.Attributes["href"] != null)
             {
                 unadjustedDateIDRef_ = unadjustedDateNode.Attributes["href"].Value;
             }
             else
             {
                 unadjustedDate_ = new XsdTypeDate(unadjustedDateNode);
             }
         }
         else
         {
             unadjustedDate_ = new XsdTypeDate(unadjustedDateNode);
         }
     }
     
 
     XmlNode adjustedDateNode = xmlNode.SelectSingleNode("adjustedDate");
     
     if (adjustedDateNode != null)
     {
         if (adjustedDateNode.Attributes["href"] != null || adjustedDateNode.Attributes["id"] != null) 
         {
             if (adjustedDateNode.Attributes["id"] != null) 
             {
                 adjustedDateIDRef_ = adjustedDateNode.Attributes["id"].Value;
                 XsdTypeDate ob = new XsdTypeDate(adjustedDateNode);
                 IDManager.SetID(adjustedDateIDRef_, ob);
             }
             else if (adjustedDateNode.Attributes["href"] != null)
             {
                 adjustedDateIDRef_ = adjustedDateNode.Attributes["href"].Value;
             }
             else
             {
                 adjustedDate_ = new XsdTypeDate(adjustedDateNode);
             }
         }
         else
         {
             adjustedDate_ = new XsdTypeDate(adjustedDateNode);
         }
     }
     
 
     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;
                 ScheduledDateType ob = new ScheduledDateType(typeNode);
                 IDManager.SetID(typeIDRef_, ob);
             }
             else if (typeNode.Attributes["href"] != null)
             {
                 typeIDRef_ = typeNode.Attributes["href"].Value;
             }
             else
             {
                 type_ = new ScheduledDateType(typeNode);
             }
         }
         else
         {
             type_ = new ScheduledDateType(typeNode);
         }
     }
     
 
     XmlNode assetReferenceNode = xmlNode.SelectSingleNode("assetReference");
     
     if (assetReferenceNode != null)
     {
         if (assetReferenceNode.Attributes["href"] != null || assetReferenceNode.Attributes["id"] != null) 
         {
             if (assetReferenceNode.Attributes["id"] != null) 
             {
                 assetReferenceIDRef_ = assetReferenceNode.Attributes["id"].Value;
                 AnyAssetReference ob = new AnyAssetReference(assetReferenceNode);
                 IDManager.SetID(assetReferenceIDRef_, ob);
             }
             else if (assetReferenceNode.Attributes["href"] != null)
             {
                 assetReferenceIDRef_ = assetReferenceNode.Attributes["href"].Value;
             }
             else
             {
                 assetReference_ = new AnyAssetReference(assetReferenceNode);
             }
         }
         else
         {
             assetReference_ = new AnyAssetReference(assetReferenceNode);
         }
     }
     
 
     XmlNode associatedValueNode = xmlNode.SelectSingleNode("associatedValue");
     
     if (associatedValueNode != null)
     {
         if (associatedValueNode.Attributes["href"] != null || associatedValueNode.Attributes["id"] != null) 
         {
             if (associatedValueNode.Attributes["id"] != null) 
             {
                 associatedValueIDRef_ = associatedValueNode.Attributes["id"].Value;
                 AssetValuation ob = new AssetValuation(associatedValueNode);
                 IDManager.SetID(associatedValueIDRef_, ob);
             }
             else if (associatedValueNode.Attributes["href"] != null)
             {
                 associatedValueIDRef_ = associatedValueNode.Attributes["href"].Value;
             }
             else
             {
                 associatedValue_ = new AssetValuation(associatedValueNode);
             }
         }
         else
         {
             associatedValue_ = new AssetValuation(associatedValueNode);
         }
     }
     
 
     XmlNode associatedValueReferenceNode = xmlNode.SelectSingleNode("associatedValueReference");
     
     if (associatedValueReferenceNode != null)
     {
         if (associatedValueReferenceNode.Attributes["href"] != null || associatedValueReferenceNode.Attributes["id"] != null) 
         {
             if (associatedValueReferenceNode.Attributes["id"] != null) 
             {
                 associatedValueReferenceIDRef_ = associatedValueReferenceNode.Attributes["id"].Value;
                 ValuationReference ob = new ValuationReference(associatedValueReferenceNode);
                 IDManager.SetID(associatedValueReferenceIDRef_, ob);
             }
             else if (associatedValueReferenceNode.Attributes["href"] != null)
             {
                 associatedValueReferenceIDRef_ = associatedValueReferenceNode.Attributes["href"].Value;
             }
             else
             {
                 associatedValueReference_ = new ValuationReference(associatedValueReferenceNode);
             }
         }
         else
         {
             associatedValueReference_ = new ValuationReference(associatedValueReferenceNode);
         }
     }
     
 
 }
 public ScheduledDate(XmlNode xmlNode)
 {
     XmlNodeList unadjustedDateNodeList = xmlNode.SelectNodes("unadjustedDate");
     if (unadjustedDateNodeList.Count > 1 )
     {
             throw new Exception();
     }
     
     foreach (XmlNode item in unadjustedDateNodeList)
     {
         if (item.Attributes["href"] != null || item.Attributes["id"] == null) 
         {
             if (item.Attributes["id"] != null) 
             {
                 unadjustedDateIDRef = item.Attributes["id"].Name;
                 XsdTypeDate ob = XsdTypeDate();
                 IDManager.SetID(unadjustedDateIDRef, ob);
             }
             else if (item.Attributes.ToString() == "href")
             {
                 unadjustedDateIDRef = item.Attributes["href"].Name;
             }
             else
             {
                 unadjustedDate = new XsdTypeDate(item);
             }
         }
     }
     
 
     XmlNodeList adjustedDateNodeList = xmlNode.SelectNodes("adjustedDate");
     if (adjustedDateNodeList.Count > 1 )
     {
             throw new Exception();
     }
     
     foreach (XmlNode item in adjustedDateNodeList)
     {
         if (item.Attributes["href"] != null || item.Attributes["id"] == null) 
         {
             if (item.Attributes["id"] != null) 
             {
                 adjustedDateIDRef = item.Attributes["id"].Name;
                 XsdTypeDate ob = XsdTypeDate();
                 IDManager.SetID(adjustedDateIDRef, ob);
             }
             else if (item.Attributes.ToString() == "href")
             {
                 adjustedDateIDRef = item.Attributes["href"].Name;
             }
             else
             {
                 adjustedDate = new XsdTypeDate(item);
             }
         }
     }
     
 
     XmlNodeList typeNodeList = xmlNode.SelectNodes("type");
     if (typeNodeList.Count > 1 )
     {
             throw new Exception();
     }
     
     foreach (XmlNode item in typeNodeList)
     {
         if (item.Attributes["href"] != null || item.Attributes["id"] == null) 
         {
             if (item.Attributes["id"] != null) 
             {
                 typeIDRef = item.Attributes["id"].Name;
                 ScheduledDateType ob = ScheduledDateType();
                 IDManager.SetID(typeIDRef, ob);
             }
             else if (item.Attributes.ToString() == "href")
             {
                 typeIDRef = item.Attributes["href"].Name;
             }
             else
             {
                 type = new ScheduledDateType(item);
             }
         }
     }
     
 
     XmlNodeList assetReferenceNodeList = xmlNode.SelectNodes("assetReference");
     if (assetReferenceNodeList.Count > 1 )
     {
             throw new Exception();
     }
     
     foreach (XmlNode item in assetReferenceNodeList)
     {
         if (item.Attributes["href"] != null || item.Attributes["id"] == null) 
         {
             if (item.Attributes["id"] != null) 
             {
                 assetReferenceIDRef = item.Attributes["id"].Name;
                 AnyAssetReference ob = AnyAssetReference();
                 IDManager.SetID(assetReferenceIDRef, ob);
             }
             else if (item.Attributes.ToString() == "href")
             {
                 assetReferenceIDRef = item.Attributes["href"].Name;
             }
             else
             {
                 assetReference = new AnyAssetReference(item);
             }
         }
     }
     
 
     XmlNodeList associatedValueNodeList = xmlNode.SelectNodes("associatedValue");
     if (associatedValueNodeList.Count > 1 )
     {
             throw new Exception();
     }
     
     foreach (XmlNode item in associatedValueNodeList)
     {
         if (item.Attributes["href"] != null || item.Attributes["id"] == null) 
         {
             if (item.Attributes["id"] != null) 
             {
                 associatedValueIDRef = item.Attributes["id"].Name;
                 AssetValuation ob = AssetValuation();
                 IDManager.SetID(associatedValueIDRef, ob);
             }
             else if (item.Attributes.ToString() == "href")
             {
                 associatedValueIDRef = item.Attributes["href"].Name;
             }
             else
             {
                 associatedValue = new AssetValuation(item);
             }
         }
     }
     
 
     XmlNodeList associatedValueReferenceNodeList = xmlNode.SelectNodes("associatedValueReference");
     if (associatedValueReferenceNodeList.Count > 1 )
     {
             throw new Exception();
     }
     
     foreach (XmlNode item in associatedValueReferenceNodeList)
     {
         if (item.Attributes["href"] != null || item.Attributes["id"] == null) 
         {
             if (item.Attributes["id"] != null) 
             {
                 associatedValueReferenceIDRef = item.Attributes["id"].Name;
                 ValuationReference ob = ValuationReference();
                 IDManager.SetID(associatedValueReferenceIDRef, ob);
             }
             else if (item.Attributes.ToString() == "href")
             {
                 associatedValueReferenceIDRef = item.Attributes["href"].Name;
             }
             else
             {
                 associatedValueReference = new ValuationReference(item);
             }
         }
     }
     
 
 }
Ejemplo n.º 8
0
        public ScheduledDate(XmlNode xmlNode)
        {
            XmlNodeList unadjustedDateNodeList = xmlNode.SelectNodes("unadjustedDate");

            if (unadjustedDateNodeList.Count > 1)
            {
                throw new Exception();
            }

            foreach (XmlNode item in unadjustedDateNodeList)
            {
                if (item.Attributes["href"] != null || item.Attributes["id"] == null)
                {
                    if (item.Attributes["id"] != null)
                    {
                        unadjustedDateIDRef = item.Attributes["id"].Name;
                        XsdTypeDate ob = XsdTypeDate();
                        IDManager.SetID(unadjustedDateIDRef, ob);
                    }
                    else if (item.Attributes.ToString() == "href")
                    {
                        unadjustedDateIDRef = item.Attributes["href"].Name;
                    }
                    else
                    {
                        unadjustedDate = new XsdTypeDate(item);
                    }
                }
            }


            XmlNodeList adjustedDateNodeList = xmlNode.SelectNodes("adjustedDate");

            if (adjustedDateNodeList.Count > 1)
            {
                throw new Exception();
            }

            foreach (XmlNode item in adjustedDateNodeList)
            {
                if (item.Attributes["href"] != null || item.Attributes["id"] == null)
                {
                    if (item.Attributes["id"] != null)
                    {
                        adjustedDateIDRef = item.Attributes["id"].Name;
                        XsdTypeDate ob = XsdTypeDate();
                        IDManager.SetID(adjustedDateIDRef, ob);
                    }
                    else if (item.Attributes.ToString() == "href")
                    {
                        adjustedDateIDRef = item.Attributes["href"].Name;
                    }
                    else
                    {
                        adjustedDate = new XsdTypeDate(item);
                    }
                }
            }


            XmlNodeList typeNodeList = xmlNode.SelectNodes("type");

            if (typeNodeList.Count > 1)
            {
                throw new Exception();
            }

            foreach (XmlNode item in typeNodeList)
            {
                if (item.Attributes["href"] != null || item.Attributes["id"] == null)
                {
                    if (item.Attributes["id"] != null)
                    {
                        typeIDRef = item.Attributes["id"].Name;
                        ScheduledDateType ob = ScheduledDateType();
                        IDManager.SetID(typeIDRef, ob);
                    }
                    else if (item.Attributes.ToString() == "href")
                    {
                        typeIDRef = item.Attributes["href"].Name;
                    }
                    else
                    {
                        type = new ScheduledDateType(item);
                    }
                }
            }


            XmlNodeList assetReferenceNodeList = xmlNode.SelectNodes("assetReference");

            if (assetReferenceNodeList.Count > 1)
            {
                throw new Exception();
            }

            foreach (XmlNode item in assetReferenceNodeList)
            {
                if (item.Attributes["href"] != null || item.Attributes["id"] == null)
                {
                    if (item.Attributes["id"] != null)
                    {
                        assetReferenceIDRef = item.Attributes["id"].Name;
                        AnyAssetReference ob = AnyAssetReference();
                        IDManager.SetID(assetReferenceIDRef, ob);
                    }
                    else if (item.Attributes.ToString() == "href")
                    {
                        assetReferenceIDRef = item.Attributes["href"].Name;
                    }
                    else
                    {
                        assetReference = new AnyAssetReference(item);
                    }
                }
            }


            XmlNodeList associatedValueNodeList = xmlNode.SelectNodes("associatedValue");

            if (associatedValueNodeList.Count > 1)
            {
                throw new Exception();
            }

            foreach (XmlNode item in associatedValueNodeList)
            {
                if (item.Attributes["href"] != null || item.Attributes["id"] == null)
                {
                    if (item.Attributes["id"] != null)
                    {
                        associatedValueIDRef = item.Attributes["id"].Name;
                        AssetValuation ob = AssetValuation();
                        IDManager.SetID(associatedValueIDRef, ob);
                    }
                    else if (item.Attributes.ToString() == "href")
                    {
                        associatedValueIDRef = item.Attributes["href"].Name;
                    }
                    else
                    {
                        associatedValue = new AssetValuation(item);
                    }
                }
            }


            XmlNodeList associatedValueReferenceNodeList = xmlNode.SelectNodes("associatedValueReference");

            if (associatedValueReferenceNodeList.Count > 1)
            {
                throw new Exception();
            }

            foreach (XmlNode item in associatedValueReferenceNodeList)
            {
                if (item.Attributes["href"] != null || item.Attributes["id"] == null)
                {
                    if (item.Attributes["id"] != null)
                    {
                        associatedValueReferenceIDRef = item.Attributes["id"].Name;
                        ValuationReference ob = ValuationReference();
                        IDManager.SetID(associatedValueReferenceIDRef, ob);
                    }
                    else if (item.Attributes.ToString() == "href")
                    {
                        associatedValueReferenceIDRef = item.Attributes["href"].Name;
                    }
                    else
                    {
                        associatedValueReference = new ValuationReference(item);
                    }
                }
            }
        }