public static TransientValueReference_c getOneV_TVLOnR805( Variable_c target, ClassQueryInterface_c test) { if (target != null) { return getOneV_TVLOnR805(target.getModelRoot(), target, test); } return null; }
public static TransientValueReference_c[] getManyV_TVLsOnR805( Variable_c target, ClassQueryInterface_c test, boolean loadComponent) { if (target == null) return new TransientValueReference_c[0]; ModelRoot modelRoot = target.getModelRoot(); Vector matches = new Vector(); synchronized (target.backPointer_TransientValueReference_R805) { for (int i = 0; i < target.backPointer_TransientValueReference_R805.size(); ++i) { TransientValueReference_c source = (TransientValueReference_c) target.backPointer_TransientValueReference_R805.get(i); if (source != null && (test == null || test.evaluate(source))) { matches.add(source); } } } if (matches.size() > 0) { TransientValueReference_c[] ret_set = new TransientValueReference_c[matches.size()]; matches.copyInto(ret_set); return ret_set; } else { return new TransientValueReference_c[0]; } }
public static TransientValueReference_c getOneV_TVLOnR805( Variable_c target, boolean loadComponent) { return getOneV_TVLOnR805(target.getModelRoot(), target, null, loadComponent); }