1
|
package eu.dnetlib.enabling.datasources.common;
|
2
|
|
3
|
import java.sql.Date;
|
4
|
import java.util.Set;
|
5
|
|
6
|
/**
|
7
|
* Datasource
|
8
|
*/
|
9
|
public class Datasource<ORG extends Organization, ID extends Identity> {
|
10
|
|
11
|
private String id = null;
|
12
|
private String officialname = null;
|
13
|
private String englishname = null;
|
14
|
private String websiteurl = null;
|
15
|
private String logourl = null;
|
16
|
private String contactemail = null;
|
17
|
private Double latitude;
|
18
|
private Double longitude;
|
19
|
private String timezone = null;
|
20
|
private String namespaceprefix;
|
21
|
private String languages;
|
22
|
|
23
|
private String od_contenttypes;
|
24
|
private String collectedfrom = null;
|
25
|
private Date dateofvalidation = null;
|
26
|
private String typology = null;
|
27
|
private String provenanceaction;
|
28
|
private Date dateofcollection;
|
29
|
private String platform;
|
30
|
|
31
|
private String activationId;
|
32
|
private String description = null;
|
33
|
|
34
|
private Date releasestartdate;
|
35
|
private Date releaseenddate;
|
36
|
private String missionstatementurl;
|
37
|
private Boolean dataprovider;
|
38
|
private Boolean serviceprovider;
|
39
|
|
40
|
private String databaseaccesstype;
|
41
|
private String datauploadtype;
|
42
|
private String databaseaccessrestriction;
|
43
|
private String datauploadrestriction;
|
44
|
|
45
|
private Boolean versioning;
|
46
|
private String citationguidelineurl;
|
47
|
private String qualitymanagementkind;
|
48
|
private String pidsystems;
|
49
|
|
50
|
private String certificates;
|
51
|
private String aggregator;
|
52
|
|
53
|
private String issn = null;
|
54
|
private String eissn = null;
|
55
|
private String lissn = null;
|
56
|
|
57
|
private String registeredby = null;
|
58
|
|
59
|
private String subjects;
|
60
|
|
61
|
private Boolean managed;
|
62
|
|
63
|
private Set<ORG> organizations;
|
64
|
|
65
|
private Set<ID> identities;
|
66
|
|
67
|
public Datasource() {}
|
68
|
|
69
|
public String getId() {
|
70
|
return id;
|
71
|
}
|
72
|
|
73
|
public String getOfficialname() {
|
74
|
return officialname;
|
75
|
}
|
76
|
|
77
|
public String getEnglishname() {
|
78
|
return englishname;
|
79
|
}
|
80
|
|
81
|
public String getWebsiteurl() {
|
82
|
return websiteurl;
|
83
|
}
|
84
|
|
85
|
public String getLogourl() {
|
86
|
return logourl;
|
87
|
}
|
88
|
|
89
|
public String getContactemail() {
|
90
|
return contactemail;
|
91
|
}
|
92
|
|
93
|
public Double getLatitude() {
|
94
|
return latitude;
|
95
|
}
|
96
|
|
97
|
public Double getLongitude() {
|
98
|
return longitude;
|
99
|
}
|
100
|
|
101
|
public String getTimezone() {
|
102
|
return timezone;
|
103
|
}
|
104
|
|
105
|
public String getNamespaceprefix() {
|
106
|
return namespaceprefix;
|
107
|
}
|
108
|
|
109
|
public String getLanguages() {
|
110
|
return languages;
|
111
|
}
|
112
|
|
113
|
public String getOd_contenttypes() {
|
114
|
return od_contenttypes;
|
115
|
}
|
116
|
|
117
|
public String getCollectedfrom() {
|
118
|
return collectedfrom;
|
119
|
}
|
120
|
|
121
|
public Date getDateofvalidation() {
|
122
|
return dateofvalidation;
|
123
|
}
|
124
|
|
125
|
public String getTypology() {
|
126
|
return typology;
|
127
|
}
|
128
|
|
129
|
public String getProvenanceaction() {
|
130
|
return provenanceaction;
|
131
|
}
|
132
|
|
133
|
public Date getDateofcollection() {
|
134
|
return dateofcollection;
|
135
|
}
|
136
|
|
137
|
public String getPlatform() {
|
138
|
return platform;
|
139
|
}
|
140
|
|
141
|
public String getActivationId() {
|
142
|
return activationId;
|
143
|
}
|
144
|
|
145
|
public String getDescription() {
|
146
|
return description;
|
147
|
}
|
148
|
|
149
|
public Date getReleasestartdate() {
|
150
|
return releasestartdate;
|
151
|
}
|
152
|
|
153
|
public Date getReleaseenddate() {
|
154
|
return releaseenddate;
|
155
|
}
|
156
|
|
157
|
public String getMissionstatementurl() {
|
158
|
return missionstatementurl;
|
159
|
}
|
160
|
|
161
|
public Boolean isDataprovider() {
|
162
|
return dataprovider;
|
163
|
}
|
164
|
|
165
|
public Boolean isServiceprovider() {
|
166
|
return serviceprovider;
|
167
|
}
|
168
|
|
169
|
public String getDatabaseaccesstype() {
|
170
|
return databaseaccesstype;
|
171
|
}
|
172
|
|
173
|
public String getDatauploadtype() {
|
174
|
return datauploadtype;
|
175
|
}
|
176
|
|
177
|
public String getDatabaseaccessrestriction() {
|
178
|
return databaseaccessrestriction;
|
179
|
}
|
180
|
|
181
|
public String getDatauploadrestriction() {
|
182
|
return datauploadrestriction;
|
183
|
}
|
184
|
|
185
|
public Boolean isVersioning() {
|
186
|
return versioning;
|
187
|
}
|
188
|
|
189
|
public String getCitationguidelineurl() {
|
190
|
return citationguidelineurl;
|
191
|
}
|
192
|
|
193
|
public String getQualitymanagementkind() {
|
194
|
return qualitymanagementkind;
|
195
|
}
|
196
|
|
197
|
public String getPidsystems() {
|
198
|
return pidsystems;
|
199
|
}
|
200
|
|
201
|
public String getCertificates() {
|
202
|
return certificates;
|
203
|
}
|
204
|
|
205
|
public String getAggregator() {
|
206
|
return aggregator;
|
207
|
}
|
208
|
|
209
|
public String getIssn() {
|
210
|
return issn;
|
211
|
}
|
212
|
|
213
|
public String getEissn() {
|
214
|
return eissn;
|
215
|
}
|
216
|
|
217
|
public String getLissn() {
|
218
|
return lissn;
|
219
|
}
|
220
|
|
221
|
public String getRegisteredby() {
|
222
|
return registeredby;
|
223
|
}
|
224
|
|
225
|
public String getSubjects() {
|
226
|
return subjects;
|
227
|
}
|
228
|
|
229
|
public Boolean isManaged() {
|
230
|
return managed;
|
231
|
}
|
232
|
|
233
|
public Set<ORG> getOrganizations() {
|
234
|
return organizations;
|
235
|
}
|
236
|
|
237
|
public Set<ID> getIdentities() {
|
238
|
return identities;
|
239
|
}
|
240
|
|
241
|
public Datasource<ORG, ID> setId(final String id) {
|
242
|
this.id = id;
|
243
|
return this;
|
244
|
}
|
245
|
|
246
|
public Datasource<ORG, ID> setOfficialname(final String officialname) {
|
247
|
this.officialname = officialname;
|
248
|
return this;
|
249
|
}
|
250
|
|
251
|
public Datasource<ORG, ID> setEnglishname(final String englishname) {
|
252
|
this.englishname = englishname;
|
253
|
return this;
|
254
|
}
|
255
|
|
256
|
public Datasource<ORG, ID> setWebsiteurl(final String websiteurl) {
|
257
|
this.websiteurl = websiteurl;
|
258
|
return this;
|
259
|
}
|
260
|
|
261
|
public Datasource<ORG, ID> setLogourl(final String logourl) {
|
262
|
this.logourl = logourl;
|
263
|
return this;
|
264
|
}
|
265
|
|
266
|
public Datasource<ORG, ID> setContactemail(final String contactemail) {
|
267
|
this.contactemail = contactemail;
|
268
|
return this;
|
269
|
}
|
270
|
|
271
|
public Datasource<ORG, ID> setLatitude(final Double latitude) {
|
272
|
this.latitude = latitude;
|
273
|
return this;
|
274
|
}
|
275
|
|
276
|
public Datasource<ORG, ID> setLongitude(final Double longitude) {
|
277
|
this.longitude = longitude;
|
278
|
return this;
|
279
|
}
|
280
|
|
281
|
public Datasource<ORG, ID> setTimezone(final String timezone) {
|
282
|
this.timezone = timezone;
|
283
|
return this;
|
284
|
}
|
285
|
|
286
|
public Datasource<ORG, ID> setNamespaceprefix(final String namespaceprefix) {
|
287
|
this.namespaceprefix = namespaceprefix;
|
288
|
return this;
|
289
|
}
|
290
|
|
291
|
public Datasource<ORG, ID> setLanguages(final String languages) {
|
292
|
this.languages = languages;
|
293
|
return this;
|
294
|
}
|
295
|
|
296
|
public Datasource<ORG, ID> setOd_contenttypes(final String od_contenttypes) {
|
297
|
this.od_contenttypes = od_contenttypes;
|
298
|
return this;
|
299
|
}
|
300
|
|
301
|
public Datasource<ORG, ID> setCollectedfrom(final String collectedfrom) {
|
302
|
this.collectedfrom = collectedfrom;
|
303
|
return this;
|
304
|
}
|
305
|
|
306
|
public Datasource<ORG, ID> setDateofvalidation(final Date dateofvalidation) {
|
307
|
this.dateofvalidation = dateofvalidation;
|
308
|
return this;
|
309
|
}
|
310
|
|
311
|
public Datasource<ORG, ID> setTypology(final String typology) {
|
312
|
this.typology = typology;
|
313
|
return this;
|
314
|
}
|
315
|
|
316
|
public Datasource<ORG, ID> setProvenanceaction(final String provenanceaction) {
|
317
|
this.provenanceaction = provenanceaction;
|
318
|
return this;
|
319
|
}
|
320
|
|
321
|
public Datasource<ORG, ID> setDateofcollection(final Date dateofcollection) {
|
322
|
this.dateofcollection = dateofcollection;
|
323
|
return this;
|
324
|
}
|
325
|
|
326
|
public Datasource<ORG, ID> setPlatform(final String platform) {
|
327
|
this.platform = platform;
|
328
|
return this;
|
329
|
}
|
330
|
|
331
|
public Datasource<ORG, ID> setActivationId(final String activationId) {
|
332
|
this.activationId = activationId;
|
333
|
return this;
|
334
|
}
|
335
|
|
336
|
public Datasource<ORG, ID> setDescription(final String description) {
|
337
|
this.description = description;
|
338
|
return this;
|
339
|
}
|
340
|
|
341
|
public Datasource<ORG, ID> setReleasestartdate(final Date releasestartdate) {
|
342
|
this.releasestartdate = releasestartdate;
|
343
|
return this;
|
344
|
}
|
345
|
|
346
|
public Datasource<ORG, ID> setReleaseenddate(final Date releaseenddate) {
|
347
|
this.releaseenddate = releaseenddate;
|
348
|
return this;
|
349
|
}
|
350
|
|
351
|
public Datasource<ORG, ID> setMissionstatementurl(final String missionstatementurl) {
|
352
|
this.missionstatementurl = missionstatementurl;
|
353
|
return this;
|
354
|
}
|
355
|
|
356
|
public Datasource<ORG, ID> setDataprovider(final Boolean dataprovider) {
|
357
|
this.dataprovider = dataprovider;
|
358
|
return this;
|
359
|
}
|
360
|
|
361
|
public Datasource<ORG, ID> setServiceprovider(final Boolean serviceprovider) {
|
362
|
this.serviceprovider = serviceprovider;
|
363
|
return this;
|
364
|
}
|
365
|
|
366
|
public Datasource<ORG, ID> setDatabaseaccesstype(final String databaseaccesstype) {
|
367
|
this.databaseaccesstype = databaseaccesstype;
|
368
|
return this;
|
369
|
}
|
370
|
|
371
|
public Datasource<ORG, ID> setDatauploadtype(final String datauploadtype) {
|
372
|
this.datauploadtype = datauploadtype;
|
373
|
return this;
|
374
|
}
|
375
|
|
376
|
public Datasource<ORG, ID> setDatabaseaccessrestriction(final String databaseaccessrestriction) {
|
377
|
this.databaseaccessrestriction = databaseaccessrestriction;
|
378
|
return this;
|
379
|
}
|
380
|
|
381
|
public Datasource<ORG, ID> setDatauploadrestriction(final String datauploadrestriction) {
|
382
|
this.datauploadrestriction = datauploadrestriction;
|
383
|
return this;
|
384
|
}
|
385
|
|
386
|
public Datasource<ORG, ID> setVersioning(final Boolean versioning) {
|
387
|
this.versioning = versioning;
|
388
|
return this;
|
389
|
}
|
390
|
|
391
|
public Datasource<ORG, ID> setCitationguidelineurl(final String citationguidelineurl) {
|
392
|
this.citationguidelineurl = citationguidelineurl;
|
393
|
return this;
|
394
|
}
|
395
|
|
396
|
public Datasource<ORG, ID> setQualitymanagementkind(final String qualitymanagementkind) {
|
397
|
this.qualitymanagementkind = qualitymanagementkind;
|
398
|
return this;
|
399
|
}
|
400
|
|
401
|
public Datasource<ORG, ID> setPidsystems(final String pidsystems) {
|
402
|
this.pidsystems = pidsystems;
|
403
|
return this;
|
404
|
}
|
405
|
|
406
|
public Datasource<ORG, ID> setCertificates(final String certificates) {
|
407
|
this.certificates = certificates;
|
408
|
return this;
|
409
|
}
|
410
|
|
411
|
public Datasource<ORG, ID> setAggregator(final String aggregator) {
|
412
|
this.aggregator = aggregator;
|
413
|
return this;
|
414
|
}
|
415
|
|
416
|
public Datasource<ORG, ID> setIssn(final String issn) {
|
417
|
this.issn = issn;
|
418
|
return this;
|
419
|
}
|
420
|
|
421
|
public Datasource<ORG, ID> setEissn(final String eissn) {
|
422
|
this.eissn = eissn;
|
423
|
return this;
|
424
|
}
|
425
|
|
426
|
public Datasource<ORG, ID> setLissn(final String lissn) {
|
427
|
this.lissn = lissn;
|
428
|
return this;
|
429
|
}
|
430
|
|
431
|
public Datasource<ORG, ID> setRegisteredby(final String registeredby) {
|
432
|
this.registeredby = registeredby;
|
433
|
return this;
|
434
|
}
|
435
|
|
436
|
public Datasource<ORG, ID> setSubjects(final String subjects) {
|
437
|
this.subjects = subjects;
|
438
|
return this;
|
439
|
}
|
440
|
|
441
|
public Datasource<ORG, ID> setManaged(final Boolean managed) {
|
442
|
this.managed = managed;
|
443
|
return this;
|
444
|
}
|
445
|
|
446
|
public Datasource<ORG, ID> setOrganizations(final Set<ORG> organizations) {
|
447
|
this.organizations = organizations;
|
448
|
return this;
|
449
|
}
|
450
|
|
451
|
public Datasource<ORG, ID> setIdentities(final Set<ID> identities) {
|
452
|
this.identities = identities;
|
453
|
return this;
|
454
|
}
|
455
|
|
456
|
}
|