(no commit message)
[taxeditor.git] / eu.etaxonomy.taxeditor.store / src / main / java / eu / etaxonomy / taxeditor / ui / element / IEntityElement.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.ui.element;
12
13
14 /**
15 * Any composite that represent a cdm entity should implement
16 * this interface. Selection of CdmEntity data will rely on this
17 * interface.
18 *
19 * @author n.hoffmann
20 * @created Feb 16, 2010
21 * @version 1.0
22 */
23 public interface IEntityElement<ENTITY> extends ICdmFormElement, ISelectable {
24
25 /**
26 * Returns the entity of this composite.
27 *
28 * @param <ENTITY> a ENTITY object.
29 * @return a ENTITY object.
30 */
31 public ENTITY getEntity();
32 }