/*
 * Copy constructor for UncertMLNode.
 */
UncertMLNode::UncertMLNode (const UncertMLNode& orig)
{
  if (&orig == NULL)
  {
    throw SBMLConstructorException("Null argument to copy constructor");
  }
  else
  {
    mElementName  = orig.mElementName;
    mAttributes  = orig.mAttributes;

    mChildren = new List();

    for (unsigned int c = 0; c < orig.getNumChildren(); ++c)
    {
      addChild( orig.getChild(c)->clone() );
    }
  }
}