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
-
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.long
getID()
Deprecated.getName()
Deprecated.Deprecated.void
reload()
Deprecated.void
setID
(long l) Deprecated.void
store()
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 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. -
createStateDAO
IStateDAO createStateDAO()Deprecated.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. -
createMeasurementDAO
IMeasurementDAO createMeasurementDAO()Deprecated.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. -
createExperimentRunDAO
IExperimentRunDAO createExperimentRunDAO()Deprecated.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. -
createSensorDAO
ISensorDAO createSensorDAO()Deprecated.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. -
setID
void setID(long l) Deprecated. -
getPersistendInfo
String getPersistendInfo()Deprecated. -
reload
void reload()Deprecated. -
store
void store()Deprecated.
-