1 | package de.uka.ipd.sdq.sensorframework.dao.file.entities; |
2 | |
3 | |
4 | |
5 | |
6 | import java.util.HashMap; |
7 | import java.util.Map; |
8 | |
9 | import de.uka.ipd.sdq.sensorframework.entities.ScalabilityExperimentRun; |
10 | import de.uka.ipd.sdq.sensorframework.entities.dao.IDAOFactory; |
11 | |
12 | /** |
13 | * Entity implementation for scalability Experiment Runs. |
14 | * Contains BackgroundMemoryLists to quickly store the |
15 | * huge amounts of sensor data generated by simulations. |
16 | * |
17 | * @author Paul-Remis Beauvais |
18 | * |
19 | */ |
20 | public class ScalabilityExperimentRunImpl extends ExperimentRunImpl |
21 | implements ScalabilityExperimentRun { |
22 | |
23 | private static final long serialVersionUID = 8596657460961660218L; |
24 | |
25 | private String[] paramNames = null; |
26 | |
27 | private Map<String, Integer> constParameters = |
28 | new HashMap<String, Integer>(); |
29 | |
30 | public ScalabilityExperimentRunImpl(IDAOFactory factory) { |
31 | super(factory); |
32 | } |
33 | |
34 | public void addConstParameter(String paramName, int paramValue) { |
35 | constParameters.put(paramName, paramValue); |
36 | } |
37 | |
38 | public Map<String, Integer> getConstParameters() { |
39 | return constParameters; |
40 | } |
41 | |
42 | public String[] getVarParameterNames() { |
43 | return paramNames; |
44 | } |
45 | |
46 | public void setVarParameterNames(String[] names) { |
47 | paramNames = names; |
48 | } |
49 | |
50 | |
51 | } |
52 | |