コード例 #1
0
 public static void batchRelateAll(
     ModelRoot modelRoot, boolean notifyChanges, boolean searchAllRoots, boolean relateProxies) {
   InstanceList instances = modelRoot.getInstanceList(DescriptionQuery_c.class);
   synchronized (instances) {
     Iterator<NonRootModelElement> cursor = instances.iterator();
     while (cursor.hasNext()) {
       final DescriptionQuery_c inst = (DescriptionQuery_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);
 }