All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.jbpm.sim.jpdl.SimulationInstance Maven / Gradle / Ivy

There is a newer version: 3.2.19.ayg
Show newest version
package org.jbpm.sim.jpdl;

import org.jbpm.module.exe.ModuleInstance;
import org.jbpm.sim.def.JbpmSimulationModel;

/**
 * each ProcessInstance is connected to exactly one SimulationInstance
 * which makes the connection to the simulation
 * 
 * @author [email protected]
 */
public class SimulationInstance extends ModuleInstance {
  
  private static final long serialVersionUID = 1L;

  SimulationDefinition simulationDefinition;
  JbpmSimulationModel simulationModel = null;

  public SimulationInstance(SimulationDefinition simulationDefinition) {
    this.simulationDefinition = simulationDefinition;
  }
  
  public JbpmSimulationModel getSimulationModel() {
    return simulationModel;
  }
  public void setExperiment(JbpmSimulationModel simulationModel) {
    this.simulationModel = simulationModel;
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy