Interface DataContainer

    • Method Detail

      • getID

        int getID()
        Returns the container ID.
        Returns:
        the ID
      • getSource

        String getSource()
        Returns the source of the data item.
        Returns:
        the source
      • canReload

        boolean canReload()
        Whether it is possible to reload this item.
        Returns:
        true if reloadable
      • reload

        String reload()
        Reloads the data.
        Returns:
        null if successfully reloaded, otherwise error message
      • isModified

        boolean isModified()
        Checks whether the data has been modified.
        Returns:
        true if modified
      • setModified

        void setModified​(boolean value)
        Sets whether the data has been modified.
        Parameters:
        value - true if modified
      • setData

        void setData​(weka.core.Instances value)
        Sets the data.
        Parameters:
        value - the data to use
      • getData

        weka.core.Instances getData()
        Returns the actual underlying data.
        Returns:
        the data
      • lastUpdated

        Date lastUpdated()
        Returns the timestamp the data was last updated.
        Returns:
        the timestamp