public static void batchRelateAll(
     ModelRoot modelRoot, boolean notifyChanges, boolean searchAllRoots, boolean relateProxies) {
   InstanceList instances = modelRoot.getInstanceList(ComponentResultSet_c.class);
   synchronized (instances) {
     Iterator<NonRootModelElement> cursor = instances.iterator();
     while (cursor.hasNext()) {
       final ComponentResultSet_c inst = (ComponentResultSet_c) cursor.next();
       inst.batchRelate(modelRoot, relateProxies, notifyChanges, searchAllRoots);
     }
   }
 }
 public void batchRelate(ModelRoot modelRoot, boolean notifyChanges, boolean searchAllRoots) {
   batchRelate(modelRoot, false, notifyChanges, searchAllRoots);
 }