Revision 9dc896c9
Added by Andreas Müller almost 7 years ago
cdmlib-ext/src/main/java/eu/etaxonomy/cdm/ext/occurrence/gbif/GbifResponse.java | ||
---|---|---|
12 | 12 |
|
13 | 13 |
import eu.etaxonomy.cdm.api.facade.DerivedUnitFacade; |
14 | 14 |
import eu.etaxonomy.cdm.ext.occurrence.DataResponse; |
15 |
import eu.etaxonomy.cdm.model.name.TaxonNameBase;
|
|
15 |
import eu.etaxonomy.cdm.model.name.TaxonName; |
|
16 | 16 |
|
17 | 17 |
/** |
18 | 18 |
* Wrapper class which holds a {@link DerivedUnitFacade} which was parsed from a GBIF JSON response. |
... | ... | |
28 | 28 |
|
29 | 29 |
private final GbifDataSetProtocol dataSetProtocol; |
30 | 30 |
|
31 |
private final TaxonNameBase scientificName;
|
|
31 |
private final TaxonName scientificName; |
|
32 | 32 |
/** |
33 | 33 |
* @param derivedUnitFacade |
34 | 34 |
* @param dataSetUrl |
35 | 35 |
*/ |
36 |
public GbifResponse(DerivedUnitFacade derivedUnitFacade, URI dataSetUrl, GbifDataSetProtocol dataSetProtocol, String [] tripleID, TaxonNameBase scientificName) {
|
|
36 |
public GbifResponse(DerivedUnitFacade derivedUnitFacade, URI dataSetUrl, GbifDataSetProtocol dataSetProtocol, String [] tripleID, TaxonName scientificName) { |
|
37 | 37 |
super(derivedUnitFacade,dataSetUrl, tripleID); |
38 | 38 |
this.dataSetProtocol = dataSetProtocol; |
39 | 39 |
|
... | ... | |
63 | 63 |
/** |
64 | 64 |
* @return the scientificName |
65 | 65 |
*/ |
66 |
public TaxonNameBase getScientificName() {
|
|
66 |
public TaxonName getScientificName() { |
|
67 | 67 |
return scientificName; |
68 | 68 |
} |
69 | 69 |
|
Also available in: Unified diff
fix #6368 rename table and class TaxonNameBase