Class RepositoryImpl

    • Field Detail

      • metaDao

        protected MetaDao metaDao
        The DAO to load/access/store the data handled by this repository.
    • Constructor Detail

      • RepositoryImpl

        protected RepositoryImpl()
    • Method Detail

      • getMeasurementsDaoFactory

        public MeasurementsDaoFactory getMeasurementsDaoFactory()
        Description copied from interface: MetaDao
        Returns the factory for measurement DAOs in order to get access to the measurements.
        Returns:
        The measurements DAO factory.
      • canClose

        public boolean canClose()
        Description copied from interface: Edp2Dao
        Checks if the connection of this DAO to the data store can be closed.
        Returns:
        true if it can be closed, false otherwise.
      • canDelete

        public boolean canDelete()
        Description copied from interface: Edp2Dao
        Checks if the data managed by this DAO can be permanently deleted.
        Returns:
        true if Edp2Dao.delete() can be called, false otherwise.
      • canOpen

        public boolean canOpen()
        Description copied from interface: Edp2Dao
        Checks if the data store which is accessed by this DAO is available and can be opened using Edp2Dao.open().
        Returns:
        true if the data store is available, false otherwise.
      • isDeleted

        public boolean isDeleted()
        Description copied from interface: Edp2Dao
        Returns if the referenced data has been deleted.
        Returns:
        true if the data has been delete.
      • isOpen

        public boolean isOpen()
        Description copied from interface: Edp2Dao
        Returns if data is accessible or not.
        Returns:
        true if the connection is open and data is accessible.
      • flush

        public void flush()
        Description copied from interface: Edp2Dao
        Write all non-persisted data to disk.