minor
[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 /**
16 * Any composite that represent a cdm entity should implement
17 * this interface. Selection of CdmEntity data will rely on this
18 * interface.
19 *
20 * @author n.hoffmann
21 * @created Feb 16, 2010
22 * @version 1.0
23 */
24 public interface IEntityElement<ENTITY> extends ICdmFormElement, ISelectable {
25
26 /**
27 * Returns the entity of this composite.
28 *
29 * @param <ENTITY> a ENTITY object.
30 * @return a ENTITY object.
31 */
32 public ENTITY getEntity();
33 }