net.simplace.sim.control.FWSimulationControlCache
public class FWSimulationControlCache extends net.simplace.sim.io.FWSimCache {
// Public Constructors
public FWSimulationControlCache(FWSimSession aSession);
// Protected Instance Variables
protected int iCurrentSimulationCount;
protected int iCurrentUpdateSimulationCount;
// Public Instance Methods public Element toXML();
public Element getCreateFormXML();
public Element getEditFormXML(boolean aEnabled);
public Boolean keepIterationData();
public void keepIterationData(Boolean aKeepFlag);
public void newIteration();
public void resetIteration();
public LinkedHashSet getProjectIDs();
public int getProjectCount();
returns the project count
public String getFirstProjectID();
returns the firstProjectID
public void
startProject(String aProjectID);
- aProjectID the current ProjectID
public String getCurrentProjectID();
returns the currentProjectID
public int getCurrentProjectCount();
returns the currentSimulationCount
public void addProjectCount();
adds 1 to the current simulation count
public void
setProjectCount(int aProjectCount);
public void resetProjectCount();
resets the current simulation count to 0
public String getLastProjectID();
returns the lastProjectID
public String getPrevProjectID();
returns the lastProjectID
public void addProject(String aProjectID);
public LinkedHashSet clearProjectIDs();
public String[] getSelectedSimulations();
public void setSelectedSimulations(String[] aSelectedSimulations);
public void putAllVariables(LinkedHashMap aFieldMap);
public void loadProjectData() throws SQLException;
public int getCurrentSimulationCount();
returns the currentSimulationCount
public void addSimulationCount();
adds 1 to the current simulation count
public void
setSimulationCount(int aSimulationCount);
public void resetSimulationCount();
resets the current simulation count to 0
public int getUpdateSimulationCount();
returns the currentSimulationCount
public void addUpdateSimulationCount();
adds 1 to the current update simulation count
public void resetUpdateSimulationCount();
resets the current update simulation count to 0
public int getPercentFinished();
returns the percentFinished [0-100]
public double getFractionFinished();
returns the fractionFinished [0-1]
public void
setFractionFinished(double aFractionFinished);
- aFractionFinished the finished part of the simulation experiment [0-1]
public String getSynchronizeRule();
returns
public void
calculateFractionFinished(long aCompletedTaskCount);
}
Hierarchy: java.lang.Object - net.simplace.sim.io.FWSimCache (net.simplace.sim.util.FWSimFieldContainer) - FWSimulationControlCache
Passed to: net.simplace.sim.FWSimProject(), FWSimulationGenerator.generate(), net.simplace.sim.control.generators.SimpleSimulationGenerator.generate(), net.simplace.sim.control.generators.EquidistantCalSimGenerator.generate(), net.simplace.sim.control.generators.DefaultSimulationGenerator.generate(), FWSimulationGenerator.initializeProject(), net.simplace.sim.FWSimSession.iterationEnded(), net.simplace.sim.FWSimProject.updateSimulations(), FWSimulationGenerator.updateSimulations()
Returned by: net.simplace.sim.FWSimSession.getControlCache(), net.simplace.sim.event.FWSimulationEvent.getControlCache()
Type of: FWSimulationControlContainer.iCache