Class FileDAOFactory
java.lang.Object
de.uka.ipd.sdq.sensorframework.dao.file.FileDAOFactory
- All Implemented Interfaces:
IDAOFactory
Deprecated.
Superseded by EDP2.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
Deprecated.Constants for the filenames used to store the entitiesstatic final String
Deprecated.static final String
Deprecated.static final String
Deprecated.static final String
Deprecated.static final String
Deprecated.Fields inherited from interface de.uka.ipd.sdq.sensorframework.entities.dao.IDAOFactory
ID_NOT_SET
-
Constructor Summary
ConstructorDescriptionFileDAOFactory
(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
Modifier and TypeMethodDescriptionDeprecated.Returns theExperiment
data access object or creates a new one, if none was there before.Deprecated.Returns theExperimentRun
data access object or creates a new one, if none was there before.Deprecated.Returns theMeasurement
data access object or creates a new one, if none was there before.Deprecated.Returns theSensor
data access object or creates a new one, if none was there before.Deprecated.Returns theState
data access object or creates a new one, if none was there before.void
Deprecated.Deprecated.Deprecated.long
getID()
Deprecated.getName()
Deprecated.Deprecated.Deprecated.void
reload()
Deprecated.void
setID
(long i) Deprecated.void
store()
Deprecated.
-
Field Details
-
EXP_FILE_NAME_PREFIX
Deprecated.Constants for the filenames used to store the entities- See Also:
-
EXPRUN_FILE_NAME_PREFIX
Deprecated.- See Also:
-
SENSOR_FILE_NAME_PREFIX
Deprecated.- See Also:
-
STATE_FILE_NAME_PREFIX
Deprecated.- See Also:
-
IDGEN_FILE_NAME_PREFIX
Deprecated.- See Also:
-
SUFFIX
Deprecated.- See Also:
-
-
Constructor Details
-
FileDAOFactory
Deprecated.Constructor for a FileDAOFactory with automatically determined ID- Parameters:
rootDirectory
- The directory in which to store the data
-
FileDAOFactory
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 Details
-
getRootDirectory
Deprecated. -
createExperimentDAO
Deprecated.Description copied from interface:IDAOFactory
Returns theExperiment
data access object or creates a new one, if none was there before. Actually, this is rather a get method that might lazily create theExperimentDAO
when you first access it.- Specified by:
createExperimentDAO
in interfaceIDAOFactory
-
createExperimentRunDAO
Deprecated.Description copied from interface:IDAOFactory
Returns theExperimentRun
data access object or creates a new one, if none was there before. Actually, this is rather a get method that might lazily create theExperimentRunDAO
when you first access it.- Specified by:
createExperimentRunDAO
in interfaceIDAOFactory
-
createMeasurementDAO
Deprecated.Description copied from interface:IDAOFactory
Returns theMeasurement
data access object or creates a new one, if none was there before. Actually, this is rather a get method that might lazily create theMeasurementDAO
when you first access it.- Specified by:
createMeasurementDAO
in interfaceIDAOFactory
-
createSensorDAO
Deprecated.Description copied from interface:IDAOFactory
Returns theSensor
data access object or creates a new one, if none was there before. Actually, this is rather a get method that might lazily create theSensorDAO
when you first access it.- Specified by:
createSensorDAO
in interfaceIDAOFactory
-
createStateDAO
Deprecated.Description copied from interface:IDAOFactory
Returns theState
data access object or creates a new one, if none was there before. Actually, this is rather a get method that might lazily create theStateDAO
when you first access it.- Specified by:
createStateDAO
in interfaceIDAOFactory
-
finalizeAndClose
public void finalizeAndClose()Deprecated.- Specified by:
finalizeAndClose
in interfaceIDAOFactory
-
getFileManager
Deprecated. -
getDescription
Deprecated.- Specified by:
getDescription
in interfaceIDAOFactory
-
getID
public long getID()Deprecated.- Specified by:
getID
in interfaceIDAOFactory
-
getName
Deprecated.- Specified by:
getName
in interfaceIDAOFactory
-
getPersistendInfo
Deprecated.- Specified by:
getPersistendInfo
in interfaceIDAOFactory
-
setID
public void setID(long i) Deprecated.- Specified by:
setID
in interfaceIDAOFactory
-
reload
public void reload()Deprecated.- Specified by:
reload
in interfaceIDAOFactory
-
store
public void store()Deprecated.- Specified by:
store
in interfaceIDAOFactory
-