@Override public boolean isMapped() { boolean isMapped = false; ArrayList<Module> modules = SoftwareArchitecture.getInstance().getModules(); for (Module module : modules) { if (module.isMapped()) { isMapped = true; } } return isMapped; }
public boolean isMapped() { boolean isMapped = false; if (mappedSUunits.size() > 0) { isMapped = true; } for (Module mod : subModules) { if (mod.isMapped()) { isMapped = true; } } return isMapped; }