use of cbit.vcell.simdata.ODEDataManager in project vcell by virtualcell.
the class ClientRequestManager method getDataManager.
/**
* Insert the method's description here.
* Creation date: (6/11/2004 10:53:47 AM)
* @return cbit.vcell.desktop.controls.DataManager
* @param vcDataIdentifier cbit.vcell.server.VCDataIdentifier
*/
public DataManager getDataManager(OutputContext outputContext, VCDataIdentifier vcDataId, boolean isSpatial) throws DataAccessException {
//
// Create ODE or PDE or Merged Datamanager depending on ODE or PDE or Merged data.
//
DataManager dataManager = null;
VCDataManager vcDataManager = getClientServerManager().getVCDataManager();
if (isSpatial) {
dataManager = new PDEDataManager(outputContext, vcDataManager, vcDataId);
} else {
dataManager = new ODEDataManager(outputContext, vcDataManager, vcDataId);
}
// dataManager.connect();
return dataManager;
}
Aggregations