protected override void setJSON(JObject obj, BaseClassIfc host, HashSet<int> processed)
{
base.setJSON(obj, host, processed);
setAttribute(obj, "ApplicableOccurrence", ApplicableOccurrence);
if (mHasPropertySets.Count > 0)
obj["HasPropertySets"] = new JArray(HasPropertySets.ConvertAll(x => x.getJson(this, processed)));
//IfcRelDefinesByType objectTypeOf = ObjectTypeOf;
//if(objectTypeOf != null)
// obj["ObjectTypeOf"] = objectTypeOf.getJson(this, processed);
}