internal override void SetXML(XmlElement xml, BaseClassIfc host, Dictionary <int, XmlElement> processed)
        {
            base.SetXML(xml, host, processed);
            if (mRelatingConstraint != host.mIndex)
            {
                xml.AppendChild(RelatingConstraint.GetXML(xml.OwnerDocument, "RelatingConstraint", this, processed));
            }
            XmlElement element = xml.OwnerDocument.CreateElement("RelatedResourceObjects");

            foreach (int r in mRelatedResourceObjects)
            {
                if (r != host.mIndex)
                {
                    element.AppendChild(mDatabase[r].GetXML(xml.OwnerDocument, "", this, processed));
                }
            }
            if (element.HasChildNodes)
            {
                xml.AppendChild(element);
            }
        }
 internal override void SetXML(XmlElement xml, BaseClassIfc host, Dictionary <int, XmlElement> processed)
 {
     base.SetXML(xml, host, processed);
     setAttribute(xml, "Intent", Intent);
     xml.AppendChild(RelatingConstraint.GetXML(xml.OwnerDocument, "RelatingConstraint", this, processed));
 }