Interface DataChange

    • Method Detail

      • discard

        void discard​(DataChangeLayer layer)
        Discard the change.
        Parameters:
        layer - The DataChangeLayer used to perform index-position transformations and to trigger the necessary commands to save.
      • save

        void save​(DataChangeLayer layer)
        Save the change.
        Parameters:
        layer - The DataChangeLayer used to perform index-position transformations and to trigger the necessary commands to save.
      • getKey

        Object getKey()
        Returns:
        The key used to identify the change in the backing data.
      • updateKey

        void updateKey​(Object key)
        Update the locally stored key. Used in case the key changed because of structural changes.
        Parameters:
        key - The updated key.