public static ElementInMove_c[] getManyGD_EIMsOnR25(
      Model_c target, ClassQueryInterface_c test, boolean loadComponent) {
    if (target == null) return new ElementInMove_c[0];

    ModelRoot modelRoot = target.getModelRoot();
    Vector matches = new Vector();
    synchronized (target.backPointer_IsMovingElementInMoveIsMoving_R25) {
      for (int i = 0; i < target.backPointer_IsMovingElementInMoveIsMoving_R25.size(); ++i) {
        ElementInMove_c source =
            (ElementInMove_c) target.backPointer_IsMovingElementInMoveIsMoving_R25.get(i);
        if (source != null && (test == null || test.evaluate(source))) {

          matches.add(source);
        }
      }
    }

    if (matches.size() > 0) {
      ElementInMove_c[] ret_set = new ElementInMove_c[matches.size()];
      matches.copyInto(ret_set);
      return ret_set;
    } else {
      return new ElementInMove_c[0];
    }
  }
 public static ElementInMove_c getOneGD_EIMOnR25(Model_c target, ClassQueryInterface_c test) {
   if (target != null) {
     return getOneGD_EIMOnR25(target.getModelRoot(), target, test);
   }
   return null;
 }
 public static ElementInMove_c getOneGD_EIMOnR25(Model_c target, boolean loadComponent) {
   return getOneGD_EIMOnR25(target.getModelRoot(), target, null, loadComponent);
 }