ref #7362 Add term details to GfBio import composite
[taxeditor.git] / eu.etaxonomy.taxeditor.store / src / main / java / eu / etaxonomy / taxeditor / view / webimport / termimport / wrapper / OntologyTermWrapper.java
index 05a52711450848edee02c47312820d7520bba7e7..eb8453da811c54c558b9e4e7b9d0ab0d9dba074e 100644 (file)
@@ -8,7 +8,11 @@
 */
 package eu.etaxonomy.taxeditor.view.webimport.termimport.wrapper;
 
+import java.util.List;
+
 /**
+ * Wrapper for terms received from the GfBio terminology service.
+ *
  * @author pplitzner
  * @since Apr 23, 2018
  *
@@ -16,6 +20,9 @@ package eu.etaxonomy.taxeditor.view.webimport.termimport.wrapper;
 public class OntologyTermWrapper extends TermWrapper{
 
     private String sourceTerminology;
+    private String description;
+    private List<String> synonyms;
+    private String comment;
     public OntologyTermWrapper(String uri, String label, String sourceTerminology) {
         super(uri, label);
         this.sourceTerminology = sourceTerminology;
@@ -23,4 +30,25 @@ public class OntologyTermWrapper extends TermWrapper{
     public String getSourceTerminology() {
         return sourceTerminology;
     }
+    public String getDescription() {
+        return description;
+    }
+    public void setDescription(String description) {
+        this.description = description;
+    }
+    public List<String> getSynonyms() {
+        return synonyms;
+    }
+    public void setSynonyms(List<String> synonyms) {
+        this.synonyms = synonyms;
+    }
+    public String getComment() {
+        return comment;
+    }
+    public void setComment(String comment) {
+        this.comment = comment;
+    }
+    public void setSourceTerminology(String sourceTerminology) {
+        this.sourceTerminology = sourceTerminology;
+    }
 }