Class FileDAOFactory

    • Constructor Detail

      • FileDAOFactory

        public FileDAOFactory​(String rootDirectory)
        Deprecated.
        Constructor for a FileDAOFactory with automatically determined ID
        Parameters:
        rootDirectory - The directory in which to store the data
      • FileDAOFactory

        public FileDAOFactory​(long id,
                              String rootDirectory)
        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 Detail

      • getRootDirectory

        public String getRootDirectory()
        Deprecated.
      • createExperimentDAO

        public IExperimentDAO createExperimentDAO()
        Deprecated.
        Description copied from interface: IDAOFactory
        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.
        Specified by:
        createExperimentDAO in interface IDAOFactory
      • createExperimentRunDAO

        public IExperimentRunDAO createExperimentRunDAO()
        Deprecated.
        Description copied from interface: IDAOFactory
        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.
        Specified by:
        createExperimentRunDAO in interface IDAOFactory
      • createMeasurementDAO

        public IMeasurementDAO createMeasurementDAO()
        Deprecated.
        Description copied from interface: IDAOFactory
        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.
        Specified by:
        createMeasurementDAO in interface IDAOFactory
      • createSensorDAO

        public ISensorDAO createSensorDAO()
        Deprecated.
        Description copied from interface: IDAOFactory
        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.
        Specified by:
        createSensorDAO in interface IDAOFactory
      • createStateDAO

        public IStateDAO createStateDAO()
        Deprecated.
        Description copied from interface: IDAOFactory
        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.
        Specified by:
        createStateDAO in interface IDAOFactory
      • getFileManager

        public FileManager getFileManager()
        Deprecated.
      • getID

        public long getID()
        Deprecated.
        Specified by:
        getID in interface IDAOFactory
      • setID

        public void setID​(long i)
        Deprecated.
        Specified by:
        setID in interface IDAOFactory
      • reload

        public void reload()
        Deprecated.
        Specified by:
        reload in interface IDAOFactory
      • store

        public void store()
        Deprecated.
        Specified by:
        store in interface IDAOFactory