3 * Copyright (C) 2007 EDIT
4 * European Distributed Institute of Taxonomy
5 * http://www.e-taxonomy.eu
7 * The contents of this file are subject to the Mozilla Public License Version 1.1
8 * See LICENSE.TXT at the top of this package for the full license terms.
11 package eu
.etaxonomy
.taxeditor
.model
;
15 * Interface for handling the current "dirty" state of an object. An object is
16 * dirty when changes are done but not saved/persisted yet.
19 * @created Mar 8, 2010
22 public interface IDirtyMarkable
{
25 * Sets the implementor to the "dirty" state specifying the object that was changed.
27 * @param element the element that was changed causing the "dirty" state.
29 public abstract void changed(Object element
);
32 * Forces the implementing class to be set to the "dirty" state.
34 public abstract void forceDirty();