Interface Modifiable

All Known Subinterfaces:
ObjectState<T>
All Known Implementing Classes:
DefaultModifiable, DefaultObjectState, ModifiableCollection, ModifiableSet

public interface Modifiable
Indicates the object not only can be modified, it can keep track of whether it has been modified.
Author:
Garret Wilson
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
    The name of the modified property, if it is bound in any modifiable object.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
    void
    setModified(boolean newModified)
    Sets whether the object has been modified.
  • Field Details

    • MODIFIED_PROPERTY

      static final String MODIFIED_PROPERTY
      The name of the modified property, if it is bound in any modifiable object.
  • Method Details

    • isModified

      boolean isModified()
      Returns:
      Whether the object has been modified.
    • setModified

      void setModified(boolean newModified)
      Sets whether the object has been modified.
      Parameters:
      newModified - The new modification status.