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

    Modifier and Type
    Method
    Description
    default void
    update(String parentName, T other)
    Updates the mutable part of this instance with the values of the other instance
    default void
    validateUpdate(String parentName, T other)
    Verifies that updating the mutable part of this instance with the values of the other instance is possible
  • Method Details

    • update

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

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