ref #6190 removing svn property place holder in first line of code - java files
[taxeditor.git] / eu.etaxonomy.taxeditor.bulkeditor / src / main / java / eu / etaxonomy / taxeditor / annotatedlineeditor / EntityListener.java
1 /**
2 * Copyright (C) 2007 EDIT
3 * European Distributed Institute of Taxonomy
4 * http://www.e-taxonomy.eu
5 *
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.
8 */
9
10 package eu.etaxonomy.taxeditor.annotatedlineeditor;
11
12 import java.beans.PropertyChangeEvent;
13 import java.beans.PropertyChangeListener;
14
15 import org.apache.log4j.Logger;
16
17 /**
18 * <p>Abstract EntityListener class.</p>
19 *
20 * @author p.ciardelli
21 * @created 31.08.2009
22 * @version 1.0
23 */
24 abstract public class EntityListener implements PropertyChangeListener {
25 private static final Logger logger = Logger
26 .getLogger(EntityListener.class);
27
28 /* (non-Javadoc)
29 * @see java.beans.PropertyChangeListener#propertyChange(java.beans.PropertyChangeEvent)
30 */
31 /** {@inheritDoc} */
32 public void propertyChange(PropertyChangeEvent evt) {
33 updateEntity();
34 }
35
36 /**
37 * <p>updateEntity</p>
38 */
39 abstract protected void updateEntity();
40 }