public List<List<String>> getData(String type) { List<IDataSource> list = dataSourceService.getDataSources(); DataObject analyzedData = new DataObject(type, ""); analyzedData.addDataSources(list); return generateData(analyzedData); }
protected void setDataSourceService(IDataSourceService dataSourceService) { dataSource = new DataSource1(); dataSourceService.addDataSource(dataSource); }
protected void unsetDataSourceService(IDataSourceService dataSourceService) { dataSourceService.removeDataSource(dataSource); dataSource = null; }