1 | package de.uka.ipd.sdq.sensorframework.entities.impl; |
2 | |
3 | import java.util.HashMap; |
4 | import java.util.Map; |
5 | |
6 | import de.uka.ipd.sdq.sensorframework.entities.ScalabilityExperimentRun; |
7 | import de.uka.ipd.sdq.sensorframework.entities.dao.IDAOFactory; |
8 | |
9 | @javax.persistence.Entity |
10 | public class ScalabilityExperimentRunImpl extends ExperimentRunImpl implements ScalabilityExperimentRun { |
11 | |
12 | private String[] paramNames = null; |
13 | |
14 | private Map<String, Integer> constParameters = |
15 | new HashMap<String, Integer> (); |
16 | |
17 | public ScalabilityExperimentRunImpl(IDAOFactory myFactory) { |
18 | super(myFactory); |
19 | } |
20 | |
21 | public void setVarParameterNames(String[] names) { |
22 | paramNames = names; |
23 | } |
24 | |
25 | public String[] getVarParameterNames() { |
26 | return paramNames; |
27 | } |
28 | |
29 | public Map<String, Integer> getConstParameters() { |
30 | return constParameters; |
31 | } |
32 | |
33 | public void addConstParameter(String parameterName, int parameterValue) { |
34 | constParameters.put(parameterName, parameterValue); |
35 | } |
36 | |
37 | } |