Class FileDAOFactory
java.lang.Object
de.uka.ipd.sdq.sensorframework.dao.file.FileDAOFactory
- All Implemented Interfaces:
IDAOFactory
Deprecated.
Superseded by EDP2.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringDeprecated.Constants for the filenames used to store the entitiesstatic final StringDeprecated.static final StringDeprecated.static final StringDeprecated.static final StringDeprecated.static final StringDeprecated.Fields inherited from interface de.uka.ipd.sdq.sensorframework.entities.dao.IDAOFactory
ID_NOT_SET -
Constructor Summary
ConstructorsConstructorDescriptionFileDAOFactory(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 theExperimentdata access object or creates a new one, if none was there before.Deprecated.Returns theExperimentRundata access object or creates a new one, if none was there before.Deprecated.Returns theMeasurementdata access object or creates a new one, if none was there before.Deprecated.Returns theSensordata access object or creates a new one, if none was there before.Deprecated.Returns theStatedata access object or creates a new one, if none was there before.voidDeprecated.Deprecated.Deprecated.longgetID()Deprecated.getName()Deprecated.Deprecated.Deprecated.voidreload()Deprecated.voidsetID(long i) Deprecated.voidstore()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: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
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
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
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
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
Deprecated. -
getDescription
Deprecated.- Specified by:
getDescriptionin interfaceIDAOFactory
-
getID
public long getID()Deprecated.- Specified by:
getIDin interfaceIDAOFactory
-
getName
Deprecated.- Specified by:
getNamein interfaceIDAOFactory
-
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
-