1
|
/**
|
2
|
* Copyright (C) 2018 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
|
package eu.etaxonomy.taxeditor.view.webimport.termimport.wrapper;
|
10
|
|
11
|
import java.util.List;
|
12
|
|
13
|
/**
|
14
|
* Wrapper for terms received from the GfBio terminology service.
|
15
|
*
|
16
|
* @author pplitzner
|
17
|
* @since Apr 23, 2018
|
18
|
*
|
19
|
*/
|
20
|
public class OntologyTermWrapper extends TermWrapper{
|
21
|
|
22
|
private String sourceTerminology;
|
23
|
private String description;
|
24
|
private List<String> synonyms;
|
25
|
private String comment;
|
26
|
public OntologyTermWrapper(String uri, String label, String sourceTerminology) {
|
27
|
super(uri, label);
|
28
|
this.sourceTerminology = sourceTerminology;
|
29
|
}
|
30
|
public String getSourceTerminology() {
|
31
|
return sourceTerminology;
|
32
|
}
|
33
|
public String getDescription() {
|
34
|
return description;
|
35
|
}
|
36
|
public void setDescription(String description) {
|
37
|
this.description = description;
|
38
|
}
|
39
|
public List<String> getSynonyms() {
|
40
|
return synonyms;
|
41
|
}
|
42
|
public void setSynonyms(List<String> synonyms) {
|
43
|
this.synonyms = synonyms;
|
44
|
}
|
45
|
public String getComment() {
|
46
|
return comment;
|
47
|
}
|
48
|
public void setComment(String comment) {
|
49
|
this.comment = comment;
|
50
|
}
|
51
|
public void setSourceTerminology(String sourceTerminology) {
|
52
|
this.sourceTerminology = sourceTerminology;
|
53
|
}
|
54
|
}
|