1
|
/**
|
2
|
* Copyright (C) 2017 EDIT
|
3
|
* European Distributed Institute of Taxonomy
|
4
|
* http://www.e-taxonomy.eu
|
5
|
*
|
6
|
* The contents of this file are subject to the Mozilla Public License Version 1.1
|
7
|
* See LICENSE.TXT at the top of this package for the full license terms.
|
8
|
*/
|
9
|
package eu.etaxonomy.cdm.ext.occurrence.bioCase;
|
10
|
|
11
|
import java.net.URI;
|
12
|
|
13
|
import eu.etaxonomy.cdm.api.facade.DerivedUnitFacade;
|
14
|
import eu.etaxonomy.cdm.ext.occurrence.DataResponse;
|
15
|
|
16
|
/**
|
17
|
* Wrapper class which holds a {@link DerivedUnitFacade} which was parsed from a GBIF JSON response.
|
18
|
* Additionally it holds the {@link URI} to query the Biocase data set web service which
|
19
|
* holds the endpoint URL of the original record and the {@link BiocaseDataSetProtocol}
|
20
|
* @author k.luther
|
21
|
\* @since 21.02.2017
|
22
|
*
|
23
|
*/
|
24
|
|
25
|
public class BioCaseResponse extends DataResponse{
|
26
|
|
27
|
|
28
|
|
29
|
|
30
|
/**
|
31
|
* @param derivedUnitFacade
|
32
|
* @param dataSetUrl
|
33
|
*/
|
34
|
public BioCaseResponse(Object abcdDataHolder, URI dataSetUrl, String [] tripleID) {
|
35
|
super(abcdDataHolder, dataSetUrl, tripleID);
|
36
|
}
|
37
|
|
38
|
public Object getAbcdDataHolder() {
|
39
|
return dataHolder;
|
40
|
}
|
41
|
|
42
|
public URI getDataSetUri() {
|
43
|
return dataSetUri;
|
44
|
}
|
45
|
|
46
|
|
47
|
public String[] getTripleID(){
|
48
|
return tripleID;
|
49
|
}
|
50
|
|
51
|
|
52
|
|
53
|
|
54
|
}
|