1
|
/**
|
2
|
* Copyright (C) 2014 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.gbif;
|
10
|
|
11
|
import java.net.URI;
|
12
|
|
13
|
/**
|
14
|
* Wrapper object for the parameters that are parsed from a GBIF dataset query
|
15
|
* @author pplitzner
|
16
|
\* @since 02.06.2014
|
17
|
*
|
18
|
*/
|
19
|
public class DataSetResponse {
|
20
|
|
21
|
private GbifDataSetProtocol protocol;
|
22
|
private URI endpoint;
|
23
|
private String unitId;
|
24
|
private String abcdSchema;
|
25
|
|
26
|
/**
|
27
|
* @return the protocol
|
28
|
*/
|
29
|
public GbifDataSetProtocol getProtocol() {
|
30
|
return protocol;
|
31
|
}
|
32
|
/**
|
33
|
* @param protocol the protocol to set
|
34
|
*/
|
35
|
public void setProtocol(GbifDataSetProtocol protocol) {
|
36
|
this.protocol = protocol;
|
37
|
}
|
38
|
/**
|
39
|
* @return the endpoint
|
40
|
*/
|
41
|
public URI getEndpoint() {
|
42
|
return endpoint;
|
43
|
}
|
44
|
/**
|
45
|
* @param endpoint the endpoint to set
|
46
|
*/
|
47
|
public void setEndpoint(URI endpoint) {
|
48
|
this.endpoint = endpoint;
|
49
|
}
|
50
|
/**
|
51
|
* @return the unitId
|
52
|
*/
|
53
|
public String getUnitId() {
|
54
|
return unitId;
|
55
|
}
|
56
|
/**
|
57
|
* @param unitId the unitId to set
|
58
|
*/
|
59
|
public void setUnitId(String unitId) {
|
60
|
this.unitId = unitId;
|
61
|
}
|
62
|
/**
|
63
|
* @return the abcdSchema
|
64
|
*/
|
65
|
public String getAbcdSchema() {
|
66
|
return abcdSchema;
|
67
|
}
|
68
|
/**
|
69
|
* @param abcdSchema the abcdSchema to set
|
70
|
*/
|
71
|
public void setAbcdSchema(String abcdSchema) {
|
72
|
this.abcdSchema = abcdSchema;
|
73
|
}
|
74
|
|
75
|
}
|