Interface MutableValued<V>

Type Parameters:
V - The type of value contained in the object.
All Superinterfaces:
Valued<V>

public interface MutableValued<V> extends Valued<V>
An object that contains a mutable value.
Author:
Garret Wilson
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    setValue(V newValue)
    Sets the new value.

    Methods inherited from interface com.globalmentor.model.Valued

    getValue
  • Method Details

    • setValue

      void setValue(V newValue) throws PropertyVetoException
      Sets the new value.
      Parameters:
      newValue - The new value.
      Throws:
      PropertyVetoException - if the provided value is not valid or the change has otherwise been vetoed.