Interface IDAOFactory
-
- All Known Implementing Classes:
FileDAOFactory,MemoryDAOFactory
public interface IDAOFactoryDeprecated.Superseded by EDP2.Classes implementing this interface bundle the access to data access objects of one type (e.g. file data sources, memory datasources), i.e. one family (as described in the AbstractFactory patterns). An IDAOFactory has five data access objects enclosed:ExperimentDAO,StateDAO/code>,MeasurementDAO/code>,ExperimentRunDAO/code> andSensorDAO/code>, and initialises them all on one type of access, i.e. file or memory.
-
-
Field Summary
Fields Modifier and Type Field Description static longID_NOT_SETDeprecated.
-
Method Summary
All Methods Instance Methods Abstract 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.longgetID()Deprecated.StringgetName()Deprecated.StringgetPersistendInfo()Deprecated.voidreload()Deprecated.voidsetID(long l)Deprecated.voidstore()Deprecated.
-
-
-
Field Detail
-
ID_NOT_SET
static final long ID_NOT_SET
Deprecated.- See Also:
- Constant Field Values
-
-
Method Detail
-
getName
String getName()
Deprecated.
-
getDescription
String getDescription()
Deprecated.
-
getID
long getID()
Deprecated.
-
finalizeAndClose
void finalizeAndClose()
Deprecated.
-
createExperimentDAO
IExperimentDAO createExperimentDAO()
Deprecated.Returns 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.
-
createStateDAO
IStateDAO createStateDAO()
Deprecated.Returns 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.
-
createMeasurementDAO
IMeasurementDAO createMeasurementDAO()
Deprecated.Returns 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.
-
createExperimentRunDAO
IExperimentRunDAO createExperimentRunDAO()
Deprecated.Returns 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.
-
createSensorDAO
ISensorDAO createSensorDAO()
Deprecated.Returns 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.
-
setID
void setID(long l)
Deprecated.
-
getPersistendInfo
String getPersistendInfo()
Deprecated.
-
reload
void reload()
Deprecated.
-
store
void store()
Deprecated.
-
-