Class MemoryExperimentDAO
- java.lang.Object
-
- de.uka.ipd.sdq.sensorframework.dao.memory.MemoryExperimentDAO
-
- All Implemented Interfaces:
IExperimentDAO
public class MemoryExperimentDAO extends Object implements IExperimentDAO
Deprecated.Superseded by EDP2.
-
-
Constructor Summary
Constructors Constructor Description MemoryExperimentDAO(MemoryDAOFactory memoryDAOFactory)Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description ExperimentaddExperiment(String p_experimentname)Deprecated.Collection<Experiment>findByExperimentName(String searchKey)Deprecated.Finder methods to search for Experiments.Experimentget(long id)Deprecated.Collection<Experiment>getExperiments()Deprecated.voidremoveExperiment(Experiment experiment, boolean doCascade)Deprecated.delete the experiment data and remove it from the daovoidstore(Experiment e)Deprecated.voidstoreAll()Deprecated.
-
-
-
Constructor Detail
-
MemoryExperimentDAO
public MemoryExperimentDAO(MemoryDAOFactory memoryDAOFactory)
Deprecated.
-
-
Method Detail
-
addExperiment
public Experiment addExperiment(String p_experimentname)
Deprecated.- Specified by:
addExperimentin interfaceIExperimentDAO
-
get
public Experiment get(long id)
Deprecated.- Specified by:
getin interfaceIExperimentDAO
-
getExperiments
public Collection<Experiment> getExperiments()
Deprecated.- Specified by:
getExperimentsin interfaceIExperimentDAO
-
findByExperimentName
public Collection<Experiment> findByExperimentName(String searchKey)
Deprecated.Finder methods to search for Experiments. Returns a collection of experiments with that name.- Specified by:
findByExperimentNamein interfaceIExperimentDAO- Returns:
- A collection of matching experiment. The collection might be empty, but must not be null.
-
store
public void store(Experiment e)
Deprecated.
-
removeExperiment
public void removeExperiment(Experiment experiment, boolean doCascade)
Deprecated.Description copied from interface:IExperimentDAOdelete the experiment data and remove it from the dao- Specified by:
removeExperimentin interfaceIExperimentDAO- Parameters:
experiment- the experiment to removedoCascade- should the remove cascade down to children and remove them aswell
-
storeAll
public void storeAll()
Deprecated.- Specified by:
storeAllin interfaceIExperimentDAO
-
-