internal override void SetXML(XmlElement xml, BaseClassIfc host, HashSet<int> processed)
{
base.SetXML(xml, host, processed);
if (mFlowDirection != IfcFlowDirectionEnum.NOTDEFINED)
xml.SetAttribute("FlowDirection", mFlowDirection.ToString().ToLower());
if (mPredefinedType != IfcDistributionPortTypeEnum.NOTDEFINED)
xml.SetAttribute("PredefinedType", mPredefinedType.ToString().ToLower());
if (mSystemType != IfcDistributionSystemEnum.NOTDEFINED)
xml.SetAttribute("SystemType", mSystemType.ToString().ToLower());
}