Interface IFeatureModelUpdater


public interface IFeatureModelUpdater
This class defines how an IFeatureModel can be updated.

A IFeatureModelUpdater can be accessed through the model using IFeatureModel#getUpdater

  • Method Summary

    Modifier and Type
    Method
    Description
    void
    This method is called to perform an update to the model.
  • Method Details

    • update

      void update(@NotNull FeatureModelUpdate modelUpdate)
      This method is called to perform an update to the model.

      IFeatureModelUpdater is responsible for:

      • performing the change to its internal state
      • sending out model events after performing the change
      • calling the updater callback (if configured) to inform the caller of this method that the update was successful or not. This for example allows the caller to know which id was assigned to the new Feature.
      Parameters:
      modelUpdate - the object that contains the changes that should be applied on the model.