Mercurial > hg > anteater
comparison src/de/mpiwg/anteater/results/SpeciesScientificResult.java @ 0:036535fcd179
anteater
author | jdamerow |
---|---|
date | Fri, 14 Sep 2012 10:30:43 +0200 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:036535fcd179 |
---|---|
1 package de.mpiwg.anteater.results; | |
2 | |
3 import de.mpiwg.anteater.species.scientific.ScientificName; | |
4 import de.mpiwg.anteater.species.scientific.ScientificNamesExtraction; | |
5 import de.mpiwg.anteater.text.TextInformation; | |
6 | |
7 public class SpeciesScientificResult implements IResult<ScientificNamesExtraction, ScientificName> { | |
8 | |
9 private ScientificNamesExtraction result; | |
10 private ScientificName name; | |
11 private double prediction; | |
12 private TextInformation info; | |
13 | |
14 @Override | |
15 public void setResult(ScientificNamesExtraction result) { | |
16 this.result = result; | |
17 } | |
18 | |
19 @Override | |
20 public ScientificNamesExtraction getResult() { | |
21 return result; | |
22 } | |
23 | |
24 @Override | |
25 public void setFinding(ScientificName name) { | |
26 this.name = name; | |
27 } | |
28 | |
29 @Override | |
30 public ScientificName getFinding() { | |
31 return name; | |
32 } | |
33 | |
34 @Override | |
35 public void setPrediction(double prediction) { | |
36 this.prediction = prediction; | |
37 } | |
38 | |
39 @Override | |
40 public double getPrediction() { | |
41 return prediction; | |
42 } | |
43 | |
44 @Override | |
45 public void setTextInfo(TextInformation textInfo) { | |
46 this.info = textInfo; | |
47 } | |
48 | |
49 @Override | |
50 public TextInformation getTextInfo() { | |
51 return info; | |
52 } | |
53 | |
54 } |