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 Details

  • Method Details

    • getName

      String getName()
      Deprecated.
    • getDescription

      String getDescription()
      Deprecated.
    • getID

      long getID()
      Deprecated.
    • finalizeAndClose

      void finalizeAndClose()
      Deprecated.
    • createExperimentDAO

      IExperimentDAO createExperimentDAO()
      Deprecated.
      Returns the Experiment data access object or creates a new one, if none was there before. Actually, this is rather a get method that might lazily create the ExperimentDAO when you first access it.
    • createStateDAO

      IStateDAO createStateDAO()
      Deprecated.
      Returns the State data access object or creates a new one, if none was there before. Actually, this is rather a get method that might lazily create the StateDAO when you first access it.
    • createMeasurementDAO

      IMeasurementDAO createMeasurementDAO()
      Deprecated.
      Returns the Measurement data access object or creates a new one, if none was there before. Actually, this is rather a get method that might lazily create the MeasurementDAO when you first access it.
    • createExperimentRunDAO

      IExperimentRunDAO createExperimentRunDAO()
      Deprecated.
      Returns the ExperimentRun data access object or creates a new one, if none was there before. Actually, this is rather a get method that might lazily create the ExperimentRunDAO when you first access it.
    • createSensorDAO

      ISensorDAO createSensorDAO()
      Deprecated.
      Returns the Sensor data access object or creates a new one, if none was there before. Actually, this is rather a get method that might lazily create the SensorDAO when you first access it.
    • setID

      void setID(long l)
      Deprecated.
    • getPersistendInfo

      String getPersistendInfo()
      Deprecated.
    • reload

      void reload()
      Deprecated.
    • store

      void store()
      Deprecated.