Project

General

Profile

Download (896 Bytes) Statistics
| Branch: | Tag: | Revision:
1
// $Id$
2
/**
3
* Copyright (C) 2007 EDIT
4
* European Distributed Institute of Taxonomy
5
* http://www.e-taxonomy.eu
6
*
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.
9
*/
10

    
11
package eu.etaxonomy.taxeditor.model;
12

    
13

    
14
/**
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.
17
 * 
18
 * @author n.hoffmann
19
 * @created Mar 8, 2010
20
 * @version 1.0
21
 */
22
public interface IDirtyMarkable {
23

    
24
	/**
25
	 * Sets the implementor to the "dirty" state specifying the object that was changed.
26
	 *
27
	 * @param element the element that was changed causing the "dirty" state.
28
	 */
29
	public abstract void changed(Object element);
30

    
31
	/**
32
	 * Forces the implementing class to be set to the "dirty" state.
33
	 */
34
	public abstract void forceDirty();
35
}
(19-19/38)