public void setNeedNewObjectIds(boolean b) {if (b)newObjectIds = new ObjectIdSubclassMap<>();elsenewObjectIds = null;}
public virtual void SetNeedNewObjectIds(bool b){if (b){newObjectIds = new ObjectIdSubclassMap<ObjectId>();}else{newObjectIds = null;}}