Interface Updatable<T>

  • All Known Implementing Classes:
    Attribute, AttributeSet, ConfigurationElement

    public interface Updatable<T>
    An interface for defining updatable attributes/attributeset. The default implementation is a no-op.
    Since:
    13.0
    Author:
    Tristan Tarrant
    • Method Summary

      All Methods Instance Methods Default Methods 
      Modifier and Type Method Description
      default void update​(T other)
      Updates the mutable part of this instance with the values of the other instance
      default void validateUpdate​(T other)
      Verifies that updating the mutable part of this instance with the values of the other instance is possible
    • Method Detail

      • update

        default void update​(T other)
        Updates the mutable part of this instance with the values of the other instance
        Parameters:
        other -
      • validateUpdate

        default void validateUpdate​(T other)
        Verifies that updating the mutable part of this instance with the values of the other instance is possible
        Parameters:
        other -