Mercurial > hg > anteater
comparison src/de/mpiwg/anteater/species/scientific/ScientificNamesExtraction.java @ 9:51ed79e28b45
annotate texts with results and build events with linnaeus
author | jdamerow |
---|---|
date | Mon, 19 Nov 2012 16:36:15 -0700 |
parents | dcc35f89dce3 |
children |
comparison
equal
deleted
inserted
replaced
8:05b2ad41e8f0 | 9:51ed79e28b45 |
---|---|
1 package de.mpiwg.anteater.species.scientific; | 1 package de.mpiwg.anteater.species.scientific; |
2 | 2 |
3 import java.util.List; | 3 import java.util.List; |
4 | 4 |
5 import de.mpiwg.anteater.core.TextExtraction; | 5 import de.mpiwg.anteater.core.TextExtraction; |
6 import de.mpiwg.anteater.species.NameFinder; | |
6 | 7 |
7 public class ScientificNamesExtraction extends TextExtraction { | 8 public class ScientificNamesExtraction extends TextExtraction { |
8 | 9 |
9 private List<ScientificName> names; | 10 private List<ScientificName> names; |
10 private Class<?> foundBy; | 11 private NameFinder foundBy; |
11 | 12 |
12 public void setNames(List<ScientificName> names) { | 13 public void setNames(List<ScientificName> names) { |
13 this.names = names; | 14 this.names = names; |
14 } | 15 } |
15 public List<ScientificName> getNames() { | 16 public List<ScientificName> getNames() { |
16 return names; | 17 return names; |
17 } | 18 } |
18 public Class<?> getFoundBy() { | 19 public NameFinder getFoundBy() { |
19 return foundBy; | 20 return foundBy; |
20 } | 21 } |
21 public void setFoundBy(Class<?> foundBy) { | 22 public void setFoundBy(NameFinder foundBy) { |
22 this.foundBy = foundBy; | 23 this.foundBy = foundBy; |
23 } | 24 } |
24 } | 25 } |