import org.splat.manox.XDOM;
import org.splat.service.DocumentTypeService;
import org.splat.service.KnowledgeElementTypeService;
-import org.splat.service.SimulationContextService;
+import org.splat.service.SimulationContextTypeService;
public class ProjectSettingsServiceImpl implements ProjectSettingsService {
private static ProjectSettingsServiceImpl my = null; // Singleton instance
private Database _database;
/**
- * Injected simulation context service.
+ * Injected simulation context type service.
*/
- private SimulationContextService _simulationContextService;
+ private SimulationContextTypeService _simulationContextTypeService;
/**
* Injected knowledge element type service.
*/
+ "\" classification. Simulation Context type ignored.");
continue;
}
- tctex = getSimulationContextService().createType(type,
+ tctex = getSimulationContextTypeService().createType(type,
mapstep.get(type)); // Creation of Simulation Context Types
- getSimulationContextService().approve(tctex);
+ getSimulationContextTypeService().approve(tctex);
}
} catch (Exception error) {
logger.warn("Error creating context types, reason:", error); // Should not happen
}
/**
- * Get the simulationContextService.
+ * Get the simulationContextTypeService.
*
- * @return the simulationContextService
+ * @return the simulationContextTypeService
*/
- public SimulationContextService getSimulationContextService() {
- return _simulationContextService;
+ public SimulationContextTypeService getSimulationContextTypeService() {
+ return _simulationContextTypeService;
}
/**
- * Set the simulationContextService.
+ * Set the simulationContextTypeService.
*
- * @param simulationContextService
- * the simulationContextService to set
+ * @param simulationContextTypeService
+ * the simulationContextTypeService to set
*/
- public void setSimulationContextService(
- SimulationContextService simulationContextService) {
- _simulationContextService = simulationContextService;
+ public void setSimulationContextTypeService(
+ SimulationContextTypeService simulationContextTypeService) {
+ _simulationContextTypeService = simulationContextTypeService;
}
/**