net.simplace.simulation.FWSimSession




public final class FWSimSession {
// Public Constructors
public FWSimSession(Element aSolutionElement, FWSimVarMap aVarMap, String
aSessionName);
public FWSimSession(FWSimSolution aSolution);


// Public Instance Methods
public void initProjects(FWSimVarMap aVarMap);

public FWSimSession.APPLICATION_MODE getAppMode();


returns the Application mode
public void setAppMode(FWSimSession.APPLICATION_MODE aAppMode);

public FWSimSolution getSolution();


returns the solution
public String getSessionID();


returns a unique session id for unique folders etc.
public FWSimulationController getProjectControler();


returns the project controller
public List getProjectList();


returns list of the projects
public void run() throws Exception;

public FWSimOutputManager getOutputManager();


returns the output manager
public FWSimResourceManager getResourceManager();


returns the Resource manager
public FWCheckHelper getChecker();


returns the used checker for this session
public List runProject(FWSimProject aProject) throws Exception;

Make sure that output writers are running and system is shut down after running all projects
returns the list of simulations of this project
public List runSimulations(FWSimProject aProject, List aSimulationList,
boolean aSelectSimulation) throws Exception;

Make sure that output writers are running and system is shut down after running all projects
returns list of simulations of this project
public void registerModelListener(FWSimModelListener aModelListener);

Model listener gets Model Event with the current Model
public void removeModelListener(FWSimModelListener aModelListener);

Model listener gets Model Event with the current Model
public List getModelListeners();


returns the modelListeners
public void handleModelErrorEvent(FWSimModelErrorEvent aModelEvent);

public void modelStarted(FWSimSimulation aFWSimSimulation);

public void modelEnded(FWSimSimulation aFWSimSimulation);

public void finalize() throws Exception; // Overrides java.lang.Object

If when simulation ended finalize sets simulation to inactive
public FWSimSession clone(); // Overrides java.lang.Object

If when simulation ended finalize sets simulation to inactive
public boolean isActive();


returns the isActive
public void setInActive();

sets simulation to inactive


// Inner Classes
public static final class FWSimSession.APPLICATION_MODE extends
java.lang.Enum
}



Passed to: net.simplace.simulation.io.resources.FWSimResourceManager.addResource(), net.simplace.simulation.io.resources.FWSimResourceManager.addTransform(), net.simplace.simulation.io.resources.FWSimResourceAdapter.createAdapterFromObservable(), net.simplace.simulation.io.resources.FWSimResourceAdapter.createResourceAdapter(), net.simplace.simulation.io.resources.FWSimResourceTransformer.createResourceTransformer(), net.simplace.simulation.io.resources.FWSimResourceTransformer.createResourceTransformer(), net.simplace.simulation.io.resources.adapter.CSVResourceAdapter(), net.simplace.simulation.io.resources.adapter.DatabaseResourceAdapter(), net.simplace.simulation.io.resources.transformer.DefaultRuleTransformer(), net.simplace.simulation.io.resources.transformer.DefaultRuleTransformer(), net.simplace.simulation.io.resources.transformer.DefaultSQLStatementTransformer(), net.simplace.simulation.io.resources.transformer.DefaultSQLStatementTransformer(), net.simplace.simulation.io.FileData(), net.simplace.simulation.io.FileData(), net.simplace.simulation.io.FilePool(), net.simplace.simulation.io.FilePoolManager.finalize(), FWSimEngine.finalizeSession(), net.simplace.simulation.io.resources.FWSimResourceCache.fromCSV(), net.simplace.simulation.io.resources.FWSimResourceCache.fromResultSet(), net.simplace.simulation.io.resources.FWSimResourceCache.fromXML(), net.simplace.util.check.FWCheckHelper(), net.simplace.simulation.io.output.FWSimOutputManager(), net.simplace.simulation.io.resources.FWSimResourceCache(), net.simplace.simulation.io.resources.FWSimResourceTransformer(), net.simplace.simulation.io.resources.FWSimResourceTransformer(), FWSimSolution.FWSimSolution(), net.simplace.simulation.control.FWSimulationController(), net.simplace.simulation.control.FWSimulationController(), net.simplace.simulation.util.FWSimVarMap(), net.simplace.simulation.io.resources.adapter.DatabaseResourceAdapter.readHeaderList(), net.simplace.simulation.io.resources.adapter.CSVResourceAdapter.readHeaderList(), FWSimEngine.registerSession(), net.simplace.simulation.util.FWSimVarMap.setCurrentSession(), net.simplace.simulation.io.resources.adapter.XMLResourceAdapter()



Returned by: clone(), net.simplace.simulation.io.resources.FWSimResourceCache.getCurrentSession(), net.simplace.simulation.util.FWSimVarMap.getCurrentSession(), net.simplace.simulation.io.FileData.getSession(), net.simplace.simulation.graphpanel.SimEnvGraphPanel.getSimSession(), FWSimEngine.prepareSession(), FWSimEngine.prepareSession(), FWSimEngine.prepareSession(), net.simplace.simulation.wrapper.SimplaceWrapper.prepareSession(), FWSimEngine.registerSession(), FWSimEngine.registerSolution(), FWSimEngine.runProjects()



Type of: net.simplace.simulation.wrapper.SimplaceWrapper.iCurrentSession, net.simplace.simulation.control.FWSimulationController.iSession