Project

General

Profile

« Previous | Next » 

Revision 0f31eab7

Added by Patrick Plitzner almost 6 years ago

ref #7362 Add term details to GfBio import composite

View differences:

eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/view/webimport/termimport/wrapper/OntologyTermWrapper.java
8 8
*/
9 9
package eu.etaxonomy.taxeditor.view.webimport.termimport.wrapper;
10 10

  
11
import java.util.List;
12

  
11 13
/**
14
 * Wrapper for terms received from the GfBio terminology service.
15
 *
12 16
 * @author pplitzner
13 17
 * @since Apr 23, 2018
14 18
 *
......
16 20
public class OntologyTermWrapper extends TermWrapper{
17 21

  
18 22
    private String sourceTerminology;
23
    private String description;
24
    private List<String> synonyms;
25
    private String comment;
19 26
    public OntologyTermWrapper(String uri, String label, String sourceTerminology) {
20 27
        super(uri, label);
21 28
        this.sourceTerminology = sourceTerminology;
......
23 30
    public String getSourceTerminology() {
24 31
        return sourceTerminology;
25 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
    }
26 54
}

Also available in: Unified diff