コード例 #1
0
 public static void batchRelateAll(
     ModelRoot modelRoot, boolean notifyChanges, boolean searchAllRoots, boolean relateProxies) {
   InstanceList instances = modelRoot.getInstanceList(ComponentInComponent_c.class);
   synchronized (instances) {
     Iterator<NonRootModelElement> cursor = instances.iterator();
     while (cursor.hasNext()) {
       final ComponentInComponent_c inst = (ComponentInComponent_c) cursor.next();
       inst.batchRelate(modelRoot, relateProxies, notifyChanges, searchAllRoots);
     }
   }
 }
コード例 #2
0
 public void batchRelate(ModelRoot modelRoot, boolean notifyChanges, boolean searchAllRoots) {
   batchRelate(modelRoot, false, notifyChanges, searchAllRoots);
 }