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.ui.element;
|
11
|
|
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
|
}
|