String factoryClassName = SalsaDAOFactory.class.getName();
AbstractDAOFactory factory = DAOFactoryManager.registerFactory(factoryClassName);
SalsaDAOFactory salsaDAOFactory = (SalsaDAOFactory) factory;
AbstractKey scanResult1DKey = new ScanResult1DKey(factoryClassName);
AbstractDAO<List<DataArray>> dataArrayDao = salsaDAOFactory
.createNumberDataArrayDAO(scanResult1DKey);
ScanResult1DDAO scanResult1DDAO = (ScanResult1DDAO) dataArrayDao;
scanResult1DDAO.setXAxisComponent(xAxisComponent);