}
}
private IDataSet getDataSet(String label) {
IDataSet dataSet;
DataSetServiceProxy datasetProxy;
ConsoleEngineInstance engineInstance;
engineInstance = getConsoleEngineInstance();
dataSet = engineInstance.getDataSet(label);
if (dataSet == null || dataSet.hasDataStoreTransformer()) {
logger.debug("Dataset with label " + label + " was not already loaded. Invoking DataSetService....");
datasetProxy = engineInstance.getDataSetServiceProxy();
dataSet = datasetProxy.getDataSetByLabel(label);
engineInstance.setDataSet(label, dataSet);
} else {
logger.debug("Dataset with label " + label + " was already loaded. Returning it without calling DataSetService.");
}