Revision ad7201d3
Added by Andreas Müller over 3 years ago
eu.etaxonomy.taxeditor.bulkeditor/src/main/java/eu/etaxonomy/taxeditor/annotatedlineeditor/IEntityContainer.java | ||
---|---|---|
15 | 15 |
* |
16 | 16 |
* @author p.ciardelli |
17 | 17 |
* @created 25.06.2009 |
18 |
* @version 1.0 |
|
19 | 18 |
* @param <T> |
20 | 19 |
*/ |
21 | 20 |
public interface IEntityContainer<T> { |
22 | 21 |
|
23 | 22 |
/** |
24 | 23 |
* <p>getEntity</p> |
25 |
* |
|
26 |
* @param <T> a T object. |
|
27 |
* @return a T object. |
|
28 | 24 |
*/ |
29 | 25 |
T getEntity(); |
30 | 26 |
|
... | ... | |
32 | 28 |
|
33 | 29 |
/** |
34 | 30 |
* <p>getEditableText</p> |
35 |
* |
|
36 |
* @return a {@link java.lang.String} object. |
|
37 | 31 |
*/ |
38 | 32 |
String getEditableText(); |
39 | 33 |
|
40 | 34 |
/** |
41 | 35 |
* <p>getAttachedEntities</p> |
42 |
* |
|
43 |
* @return a {@link java.util.Set} object. |
|
44 | 36 |
*/ |
45 | 37 |
Set<T> getAttachedEntities(); |
46 | 38 |
|
47 | 39 |
/** |
48 | 40 |
* <p>markAsMerged</p> |
49 |
* |
|
50 |
* @param mergeTarget a T object. |
|
51 | 41 |
*/ |
52 | 42 |
void markAsMerged(T mergeTarget); |
53 | 43 |
|
... | ... | |
86 | 76 |
|
87 | 77 |
/** |
88 | 78 |
* <p>setText</p> |
89 |
* |
|
90 |
* @param text a {@link java.lang.String} object. |
|
91 | 79 |
*/ |
92 | 80 |
void setText(String text); |
93 | 81 |
|
Also available in: Unified diff
cleanup and generics for ICdmEntitySessionEnabled