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