try { db.close(); } catch (Exception ee) {}
return;
}
}
}
<BUG>}</BUG>
dbModel.addFolder(modelSelected.get("id"), modelSelected.get("version"), modelSelected.get("name"), modelSelected.get("purpose"));
} else {
dbModel = new DBModel(IArchimateFactory.eINSTANCE.createArchimateModel());
dbModel.getModel().setDefaults();
<BUG>dbModel.setModelId(modelSelected.get("id"), modelSelected.get("version"));
</BUG>
dbModel.setName(modelSelected.get("name"));

try { db.close(); } catch (Exception ee) {}
return;
}
}
}
dbModel.addFolder(modelSelected.get("id"), modelSelected.get("version"), modelSelected.get("name"), modelSelected.get("purpose"));
} else {
dbModel = new DBModel(IArchimateFactory.eINSTANCE.createArchimateModel());
dbModel.getModel().setDefaults();
dbModel.setProjectId(modelSelected.get("id"), modelSelected.get("version"));
dbModel.setName(modelSelected.get("name"));
