Revision 1ad8f694
Added by Andreas Kohlbecker almost 6 years ago
src/main/java/eu/etaxonomy/cdm/vaadin/model/taxonDTO.java | ||
---|---|---|
1 |
package eu.etaxonomy.cdm.vaadin.model; |
|
2 |
|
|
3 |
import java.io.Serializable; |
|
4 |
|
|
5 |
import eu.etaxonomy.cdm.model.taxon.Taxon; |
|
6 |
|
|
7 |
public class taxonDTO implements Serializable { |
|
8 |
|
|
9 |
private String taxon; |
|
10 |
private DistributionDTO distribution; |
|
11 |
|
|
12 |
public taxonDTO(String taxon, DistributionDTO distribution){ |
|
13 |
this.taxon = taxon; |
|
14 |
this.distribution = distribution; |
|
15 |
} |
|
16 |
|
|
17 |
public String getTaxon() { |
|
18 |
return taxon; |
|
19 |
} |
|
20 |
|
|
21 |
public void setTaxon(String taxon) { |
|
22 |
this.taxon = taxon; |
|
23 |
} |
|
24 |
|
|
25 |
public DistributionDTO getDistribution() { |
|
26 |
return distribution; |
|
27 |
} |
|
28 |
|
|
29 |
public void setDistribution(DistributionDTO distribution) { |
|
30 |
this.distribution = distribution; |
|
31 |
} |
|
32 |
|
|
33 |
} |
Also available in: Unified diff
removing unused dto