internal override void SetXML(XmlElement xml, BaseClassIfc host, HashSet<int> processed)
{
base.SetXML(xml, host, processed);
setAttribute(xml, "ObjectType", ObjectType);
if (mIsTypedBy != null)
xml.AppendChild(mIsTypedBy.GetXML(xml.OwnerDocument, "IsTypedBy", this, processed));
if (mIsDefinedBy.Count > 0)
{
XmlElement element = xml.OwnerDocument.CreateElement("IsDefinedBy");
xml.AppendChild(element);
foreach (IfcRelDefinesByProperties rd in IsDefinedBy)
element.AppendChild(rd.GetXML(xml.OwnerDocument, "", this, processed));
}
}