Interface IDAOFactory
- All Known Implementing Classes:
FileDAOFactory,MemoryDAOFactory
public interface IDAOFactory
Deprecated.
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>
and SensorDAO/code>, and initialises them all on one type of access,
i.e. file or memory.-
Field Summary
Fields -
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.longgetID()Deprecated.getName()Deprecated.Deprecated.voidreload()Deprecated.voidsetID(long l) Deprecated.voidstore()Deprecated.
-
Field Details
-
ID_NOT_SET
static final long ID_NOT_SETDeprecated.- See Also:
-
-
Method Details
-
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.
-