pdb = new PopulateDb(CMT_TYPE, CMT_TYPE, CMT_TYPE, "REGRESSION Experiment", exptId, trialId, true); pdb.setDebug(true);  AgentData[] agentData = nodeData.agentData;
pdb = new PopulateDb("", CMT_TYPE, CMT_TYPE, "REGRESSION Experiment " + exptId, exptId, trialId, false);  for (int i = 0; i < nodeData.length; i++) { ComponentData node = new GenericComponentData(); node.setType(ComponentData.NODE); node.setName(nodeData[i].name); node.setClassName(nodeData[i].className); AgentData[] agentData = nodeData[i].agentData;
    private void populateCMT() throws SQLException, IOException {        pdb = new PopulateDb(CMT_TYPE, CMT_TYPE, CMT_TYPE, "REGRESSION Experiment",                             exptId, trialId, true);        pdb.setDebug(true);                    AgentData[] agentData = nodeData.agentData;            for (int j = 0; j < agentData.length; j++) {                ComponentData agent = new GenericComponentData();                agent.setType(ComponentData.AGENT);                agent.setName(agentData[j].name);                agent.setClassName(agentData[j].className);//                  agent.setParent(node);//                  node.addChild(agent);                PluginData[] pluginData = agentData[j].pluginData;                for (int k = 0; k < pluginData.length; k++) {                    ComponentData plugin = new GenericComponentData();                    plugin.setType(ComponentData.PLUGIN);                    plugin.setName(pluginData[k].name);                    plugin.setClassName(pluginData[k].className);                    plugin.setParameters(pluginData[k].paramData);                    plugin.setParent(agent);                    agent.addChild(plugin);                }                pdb.populate(agent, 1f);            }        pdb.close();    }