protected override void setJSON(JObject obj, BaseClassIfc host, HashSet<int> processed)
{
base.setJSON(obj, host, processed);
if (mRelatingSystem != host.mIndex)
obj["RelatingSystem"] = RelatingSystem.getJson(this, processed);
//List<IfcObjectDefinition> relatedObjects = RelatedObjects;
//JArray array = new JArray();
//foreach (IfcObjectDefinition od in relatedObjects)
// array.Add(od.getJson(this, processed));
//obj["RelatedObjects"] = array;
}
}