performed javacscript:fix and worked on documentation
[taxeditor.git] / taxeditor-bulkeditor / src / main / java / eu / etaxonomy / taxeditor / annotatedlineeditor / IEntityCreatorService.java
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.annotatedlineeditor;
12
13
14 /**
15 * Associates entity creators with classes, e.g.
16 * ReferenceEditorInput with ReferenceCreator.
17 *
18 * @author p.ciardelli
19 * @created 25.08.2009
20 * @version 1.0
21 */
22 public interface IEntityCreatorService {
23
24 /**
25 * <p>setEntityCreator</p>
26 *
27 * @param entityCreator a {@link eu.etaxonomy.taxeditor.annotatedlineeditor.IEntityCreator} object.
28 * @param element a {@link java.lang.Object} object.
29 */
30 void setEntityCreator(IEntityCreator entityCreator, Object element);
31
32 /**
33 * <p>getEntityCreator</p>
34 *
35 * @param element a {@link java.lang.Object} object.
36 * @return a {@link eu.etaxonomy.taxeditor.annotatedlineeditor.IEntityCreator} object.
37 */
38 IEntityCreator getEntityCreator(Object element);
39 }