Class FileDAOFactory
- java.lang.Object
-
- de.uka.ipd.sdq.sensorframework.dao.file.FileDAOFactory
-
- All Implemented Interfaces:
IDAOFactory
public class FileDAOFactory extends Object implements IDAOFactory
Deprecated.Superseded by EDP2.
-
-
Field Summary
Fields Modifier and Type Field Description static StringEXP_FILE_NAME_PREFIXDeprecated.Constants for the filenames used to store the entitiesstatic StringEXPRUN_FILE_NAME_PREFIXDeprecated.static StringIDGEN_FILE_NAME_PREFIXDeprecated.static StringSENSOR_FILE_NAME_PREFIXDeprecated.static StringSTATE_FILE_NAME_PREFIXDeprecated.static StringSUFFIXDeprecated.-
Fields inherited from interface de.uka.ipd.sdq.sensorframework.entities.dao.IDAOFactory
ID_NOT_SET
-
-
Constructor Summary
Constructors Constructor Description FileDAOFactory(long id, String rootDirectory)Deprecated.Constructor for a FileDAOFactory with given ID.FileDAOFactory(String rootDirectory)Deprecated.Constructor for a FileDAOFactory with automatically determined ID
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description IExperimentDAOcreateExperimentDAO()Deprecated.Returns theExperimentdata access object or creates a new one, if none was there before.IExperimentRunDAOcreateExperimentRunDAO()Deprecated.Returns theExperimentRundata access object or creates a new one, if none was there before.IMeasurementDAOcreateMeasurementDAO()Deprecated.Returns theMeasurementdata access object or creates a new one, if none was there before.ISensorDAOcreateSensorDAO()Deprecated.Returns theSensordata access object or creates a new one, if none was there before.IStateDAOcreateStateDAO()Deprecated.Returns theStatedata access object or creates a new one, if none was there before.voidfinalizeAndClose()Deprecated.StringgetDescription()Deprecated.FileManagergetFileManager()Deprecated.longgetID()Deprecated.StringgetName()Deprecated.StringgetPersistendInfo()Deprecated.StringgetRootDirectory()Deprecated.voidreload()Deprecated.voidsetID(long i)Deprecated.voidstore()Deprecated.
-
-
-
Field Detail
-
EXP_FILE_NAME_PREFIX
public static final String EXP_FILE_NAME_PREFIX
Deprecated.Constants for the filenames used to store the entities- See Also:
- Constant Field Values
-
EXPRUN_FILE_NAME_PREFIX
public static final String EXPRUN_FILE_NAME_PREFIX
Deprecated.- See Also:
- Constant Field Values
-
SENSOR_FILE_NAME_PREFIX
public static final String SENSOR_FILE_NAME_PREFIX
Deprecated.- See Also:
- Constant Field Values
-
STATE_FILE_NAME_PREFIX
public static final String STATE_FILE_NAME_PREFIX
Deprecated.- See Also:
- Constant Field Values
-
IDGEN_FILE_NAME_PREFIX
public static final String IDGEN_FILE_NAME_PREFIX
Deprecated.- See Also:
- Constant Field Values
-
SUFFIX
public static final String SUFFIX
Deprecated.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
FileDAOFactory
public FileDAOFactory(String rootDirectory)
Deprecated.Constructor for a FileDAOFactory with automatically determined ID- Parameters:
rootDirectory- The directory in which to store the data
-
FileDAOFactory
public FileDAOFactory(long id, String rootDirectory)Deprecated.Constructor for a FileDAOFactory with given ID. Used by Sensorframework startup code to reinitialise the SensorframworkDataSet- Parameters:
rootDirectory- The directory in which to store the data
-
-
Method Detail
-
getRootDirectory
public String getRootDirectory()
Deprecated.
-
createExperimentDAO
public IExperimentDAO createExperimentDAO()
Deprecated.Description copied from interface:IDAOFactoryReturns theExperimentdata access object or creates a new one, if none was there before. Actually, this is rather a get method that might lazily create theExperimentDAOwhen you first access it.- Specified by:
createExperimentDAOin interfaceIDAOFactory
-
createExperimentRunDAO
public IExperimentRunDAO createExperimentRunDAO()
Deprecated.Description copied from interface:IDAOFactoryReturns theExperimentRundata access object or creates a new one, if none was there before. Actually, this is rather a get method that might lazily create theExperimentRunDAOwhen you first access it.- Specified by:
createExperimentRunDAOin interfaceIDAOFactory
-
createMeasurementDAO
public IMeasurementDAO createMeasurementDAO()
Deprecated.Description copied from interface:IDAOFactoryReturns theMeasurementdata access object or creates a new one, if none was there before. Actually, this is rather a get method that might lazily create theMeasurementDAOwhen you first access it.- Specified by:
createMeasurementDAOin interfaceIDAOFactory
-
createSensorDAO
public ISensorDAO createSensorDAO()
Deprecated.Description copied from interface:IDAOFactoryReturns theSensordata access object or creates a new one, if none was there before. Actually, this is rather a get method that might lazily create theSensorDAOwhen you first access it.- Specified by:
createSensorDAOin interfaceIDAOFactory
-
createStateDAO
public IStateDAO createStateDAO()
Deprecated.Description copied from interface:IDAOFactoryReturns theStatedata access object or creates a new one, if none was there before. Actually, this is rather a get method that might lazily create theStateDAOwhen you first access it.- Specified by:
createStateDAOin interfaceIDAOFactory
-
finalizeAndClose
public void finalizeAndClose()
Deprecated.- Specified by:
finalizeAndClosein interfaceIDAOFactory
-
getFileManager
public FileManager getFileManager()
Deprecated.
-
getDescription
public String getDescription()
Deprecated.- Specified by:
getDescriptionin interfaceIDAOFactory
-
getID
public long getID()
Deprecated.- Specified by:
getIDin interfaceIDAOFactory
-
getName
public String getName()
Deprecated.- Specified by:
getNamein interfaceIDAOFactory
-
getPersistendInfo
public String getPersistendInfo()
Deprecated.- Specified by:
getPersistendInfoin interfaceIDAOFactory
-
setID
public void setID(long i)
Deprecated.- Specified by:
setIDin interfaceIDAOFactory
-
reload
public void reload()
Deprecated.- Specified by:
reloadin interfaceIDAOFactory
-
store
public void store()
Deprecated.- Specified by:
storein interfaceIDAOFactory
-
-