Revision 806bd3b0
Added by Patrick Plitzner over 5 years ago
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/view/webimport/termimport/wrapper/OntologyTermWrapper.java | ||
---|---|---|
10 | 10 |
|
11 | 11 |
import java.util.List; |
12 | 12 |
|
13 |
import eu.etaxonomy.cdm.model.common.TermVocabulary; |
|
14 |
|
|
13 | 15 |
/** |
14 | 16 |
* Wrapper for terms received from the GfBio terminology service. |
15 | 17 |
* |
... | ... | |
23 | 25 |
private String description; |
24 | 26 |
private List<String> synonyms; |
25 | 27 |
private String comment; |
28 |
private TermVocabulary termVocabulary; |
|
26 | 29 |
public OntologyTermWrapper(String uri, String label, String sourceTerminology) { |
27 | 30 |
super(uri, label); |
28 | 31 |
this.sourceTerminology = sourceTerminology; |
... | ... | |
51 | 54 |
public void setSourceTerminology(String sourceTerminology) { |
52 | 55 |
this.sourceTerminology = sourceTerminology; |
53 | 56 |
} |
57 |
public TermVocabulary getTermVocabulary() { |
|
58 |
return termVocabulary; |
|
59 |
} |
|
60 |
public void setTermVocabulary(TermVocabulary termVocabulary) { |
|
61 |
this.termVocabulary = termVocabulary; |
|
62 |
} |
|
54 | 63 |
} |
Also available in: Unified diff
ref #7362 Use pre-selected vocabulary when dragging terms