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