IAcmeSystem system, IAcmeSystem parentSystem) {
// pull subcomponents in representations out
if (acmeComp.getRepresentations() != null
&& acmeComp.getRepresentations().size() > 0) {
IAcmeRepresentation rep = acmeComp.getRepresentations().iterator()
.next();
Set<? extends IAcmeComponent> subComponents = rep.getSystem()
.getComponents();
if (subComponents != null && subComponents.size() > 0) {
// The connectors from the subsystem
// must be created in the super-system, too
createConnectors(rep.getSystem());
for (IAcmeComponent acmeSubComp : subComponents) {
createComponents(acmeSubComp, true, rep, rep.getSystem(),
system);
}
return;
}
}