public JointProbabilityTrait(XmlNode xmlNode)
            : base(xmlNode)
        {
            XmlNode nthDefaultNode = xmlNode.SelectSingleNode("nthDefault");

            if (nthDefaultNode != null)
            {
                if (nthDefaultNode.Attributes["href"] != null || nthDefaultNode.Attributes["id"] != null)
                {
                    if (nthDefaultNode.Attributes["id"] != null)
                    {
                        nthDefaultIDRef_ = nthDefaultNode.Attributes["id"].Value;
                        NthDefault ob = new NthDefault(nthDefaultNode);
                        IDManager.SetID(nthDefaultIDRef_, ob);
                    }
                    else if (nthDefaultNode.Attributes["href"] != null)
                    {
                        nthDefaultIDRef_ = nthDefaultNode.Attributes["href"].Value;
                    }
                    else
                    {
                        nthDefault_ = new NthDefault(nthDefaultNode);
                    }
                }
                else
                {
                    nthDefault_ = new NthDefault(nthDefaultNode);
                }
            }
        }
 public JointProbabilityTrait(XmlNode xmlNode)
 : base(xmlNode)
 {
     XmlNode nthDefaultNode = xmlNode.SelectSingleNode("nthDefault");
     
     if (nthDefaultNode != null)
     {
         if (nthDefaultNode.Attributes["href"] != null || nthDefaultNode.Attributes["id"] != null) 
         {
             if (nthDefaultNode.Attributes["id"] != null) 
             {
                 nthDefaultIDRef_ = nthDefaultNode.Attributes["id"].Value;
                 NthDefault ob = new NthDefault(nthDefaultNode);
                 IDManager.SetID(nthDefaultIDRef_, ob);
             }
             else if (nthDefaultNode.Attributes["href"] != null)
             {
                 nthDefaultIDRef_ = nthDefaultNode.Attributes["href"].Value;
             }
             else
             {
                 nthDefault_ = new NthDefault(nthDefaultNode);
             }
         }
         else
         {
             nthDefault_ = new NthDefault(nthDefaultNode);
         }
     }
     
 
 }