1
|
package eu.dnetlib.rmi.datasource;
|
2
|
|
3
|
import java.util.ArrayList;
|
4
|
import java.util.Date;
|
5
|
import java.util.List;
|
6
|
import javax.xml.bind.annotation.XmlRootElement;
|
7
|
|
8
|
@XmlRootElement
|
9
|
public class DatasourceDesc {
|
10
|
|
11
|
private String id;
|
12
|
private String officialName;
|
13
|
private String englishName;
|
14
|
private String websiteUrl;
|
15
|
private String logoUrl;
|
16
|
private String contactEmail;
|
17
|
private String countryCode;
|
18
|
private String countryName;
|
19
|
private String organization;
|
20
|
private Double latitude = 0.0;
|
21
|
private Double longitude = 0.0;
|
22
|
private Double timezone = 0.0;
|
23
|
private String namespacePrefix;
|
24
|
private String odNumberOfItems;
|
25
|
private String odNumberOfItemsDate;
|
26
|
private String odPolicies;
|
27
|
private String odLanguages;
|
28
|
private String odContentTypes;
|
29
|
private String collectedFrom;
|
30
|
private Boolean inferred = false;
|
31
|
private Boolean deletedByInference = false;
|
32
|
private Double trust = 0.9;
|
33
|
private String inferenceProvenance;
|
34
|
private Date dateOfValidation;
|
35
|
private String registeredBy;
|
36
|
private String datasourceClass;
|
37
|
private String provenanceActionClass;
|
38
|
private Date dateOfCollection;
|
39
|
private String typology;
|
40
|
private String activationId;
|
41
|
private Boolean mergehomonyms = true;
|
42
|
private String description;
|
43
|
private Date releaseStartDate;
|
44
|
private Date releaseEndDate;
|
45
|
private String missionStatementUrl;
|
46
|
private Boolean dataProvider = false;
|
47
|
private Boolean serviceProvider = false;
|
48
|
private String databaseAccessType;
|
49
|
private String dataUploadType;
|
50
|
private String databaseAccessRestriction;
|
51
|
private String dataUploadRestriction;
|
52
|
private Boolean versioning = false;
|
53
|
private String citationGuidelineUrl;
|
54
|
private String qualityManagementKind;
|
55
|
private String pidSystems;
|
56
|
private String certificates;
|
57
|
private String aggregator;
|
58
|
private String issn;
|
59
|
private String eissn;
|
60
|
private String lissn;
|
61
|
private List<IfaceDesc> interfaces = new ArrayList<IfaceDesc>();
|
62
|
|
63
|
public String getId() {
|
64
|
return id;
|
65
|
}
|
66
|
|
67
|
public void setId(final String id) {
|
68
|
this.id = id;
|
69
|
}
|
70
|
|
71
|
public String getOfficialName() {
|
72
|
return officialName;
|
73
|
}
|
74
|
|
75
|
public void setOfficialName(final String officialName) {
|
76
|
this.officialName = officialName;
|
77
|
}
|
78
|
|
79
|
public String getEnglishName() {
|
80
|
return englishName;
|
81
|
}
|
82
|
|
83
|
public void setEnglishName(final String englishName) {
|
84
|
this.englishName = englishName;
|
85
|
}
|
86
|
|
87
|
public String getWebsiteUrl() {
|
88
|
return websiteUrl;
|
89
|
}
|
90
|
|
91
|
public void setWebsiteUrl(final String websiteUrl) {
|
92
|
this.websiteUrl = websiteUrl;
|
93
|
}
|
94
|
|
95
|
public String getLogoUrl() {
|
96
|
return logoUrl;
|
97
|
}
|
98
|
|
99
|
public void setLogoUrl(final String logoUrl) {
|
100
|
this.logoUrl = logoUrl;
|
101
|
}
|
102
|
|
103
|
public String getContactEmail() {
|
104
|
return contactEmail;
|
105
|
}
|
106
|
|
107
|
public void setContactEmail(final String contactEmail) {
|
108
|
this.contactEmail = contactEmail;
|
109
|
}
|
110
|
|
111
|
public String getCountryCode() {
|
112
|
return countryCode;
|
113
|
}
|
114
|
|
115
|
public void setCountryCode(final String countryCode) {
|
116
|
this.countryCode = countryCode;
|
117
|
}
|
118
|
|
119
|
public String getCountryName() {
|
120
|
return countryName;
|
121
|
}
|
122
|
|
123
|
public void setCountryName(final String countryName) {
|
124
|
this.countryName = countryName;
|
125
|
}
|
126
|
|
127
|
public String getOrganization() {
|
128
|
return organization;
|
129
|
}
|
130
|
|
131
|
public void setOrganization(final String organization) {
|
132
|
this.organization = organization;
|
133
|
}
|
134
|
|
135
|
public Double getLatitude() {
|
136
|
return latitude;
|
137
|
}
|
138
|
|
139
|
public void setLatitude(final Double latitude) {
|
140
|
this.latitude = latitude;
|
141
|
}
|
142
|
|
143
|
public Double getLongitude() {
|
144
|
return longitude;
|
145
|
}
|
146
|
|
147
|
public void setLongitude(final Double longitude) {
|
148
|
this.longitude = longitude;
|
149
|
}
|
150
|
|
151
|
public Double getTimezone() {
|
152
|
return timezone;
|
153
|
}
|
154
|
|
155
|
public void setTimezone(final Double timezone) {
|
156
|
this.timezone = timezone;
|
157
|
}
|
158
|
|
159
|
public String getNamespacePrefix() {
|
160
|
return namespacePrefix;
|
161
|
}
|
162
|
|
163
|
public void setNamespacePrefix(final String namespacePrefix) {
|
164
|
this.namespacePrefix = namespacePrefix;
|
165
|
}
|
166
|
|
167
|
public String getOdNumberOfItems() {
|
168
|
return odNumberOfItems;
|
169
|
}
|
170
|
|
171
|
public void setOdNumberOfItems(final String odNumberOfItems) {
|
172
|
this.odNumberOfItems = odNumberOfItems;
|
173
|
}
|
174
|
|
175
|
public String getOdNumberOfItemsDate() {
|
176
|
return odNumberOfItemsDate;
|
177
|
}
|
178
|
|
179
|
public void setOdNumberOfItemsDate(final String odNumberOfItemsDate) {
|
180
|
this.odNumberOfItemsDate = odNumberOfItemsDate;
|
181
|
}
|
182
|
|
183
|
public String getOdPolicies() {
|
184
|
return odPolicies;
|
185
|
}
|
186
|
|
187
|
public void setOdPolicies(final String odPolicies) {
|
188
|
this.odPolicies = odPolicies;
|
189
|
}
|
190
|
|
191
|
public String getOdLanguages() {
|
192
|
return odLanguages;
|
193
|
}
|
194
|
|
195
|
public void setOdLanguages(final String odLanguages) {
|
196
|
this.odLanguages = odLanguages;
|
197
|
}
|
198
|
|
199
|
public String getOdContentTypes() {
|
200
|
return odContentTypes;
|
201
|
}
|
202
|
|
203
|
public void setOdContentTypes(final String odContentTypes) {
|
204
|
this.odContentTypes = odContentTypes;
|
205
|
}
|
206
|
|
207
|
public String getCollectedFrom() {
|
208
|
return collectedFrom;
|
209
|
}
|
210
|
|
211
|
public void setCollectedFrom(final String collectedFrom) {
|
212
|
this.collectedFrom = collectedFrom;
|
213
|
}
|
214
|
|
215
|
public Boolean isInferred() {
|
216
|
return inferred;
|
217
|
}
|
218
|
|
219
|
public void setInferred(final Boolean inferred) {
|
220
|
this.inferred = inferred;
|
221
|
}
|
222
|
|
223
|
public Boolean isDeletedByInference() {
|
224
|
return deletedByInference;
|
225
|
}
|
226
|
|
227
|
public void setDeletedByInference(final Boolean deletedByInference) {
|
228
|
this.deletedByInference = deletedByInference;
|
229
|
}
|
230
|
|
231
|
public Double getTrust() {
|
232
|
return trust;
|
233
|
}
|
234
|
|
235
|
public void setTrust(final Double trust) {
|
236
|
this.trust = trust;
|
237
|
}
|
238
|
|
239
|
public String getInferenceProvenance() {
|
240
|
return inferenceProvenance;
|
241
|
}
|
242
|
|
243
|
public void setInferenceProvenance(final String inferenceProvenance) {
|
244
|
this.inferenceProvenance = inferenceProvenance;
|
245
|
}
|
246
|
|
247
|
public Date getDateOfValidation() {
|
248
|
return dateOfValidation;
|
249
|
}
|
250
|
|
251
|
public void setDateOfValidation(final Date dateOfValidation) {
|
252
|
this.dateOfValidation = dateOfValidation;
|
253
|
}
|
254
|
|
255
|
public String getDatasourceClass() {
|
256
|
return datasourceClass;
|
257
|
}
|
258
|
|
259
|
public void setDatasourceClass(final String datasourceClass) {
|
260
|
this.datasourceClass = datasourceClass;
|
261
|
}
|
262
|
|
263
|
public String getProvenanceActionClass() {
|
264
|
return provenanceActionClass;
|
265
|
}
|
266
|
|
267
|
public void setProvenanceActionClass(final String provenanceActionClass) {
|
268
|
this.provenanceActionClass = provenanceActionClass;
|
269
|
}
|
270
|
|
271
|
public Date getDateOfCollection() {
|
272
|
return dateOfCollection;
|
273
|
}
|
274
|
|
275
|
public void setDateOfCollection(final Date dateOfCollection) {
|
276
|
this.dateOfCollection = dateOfCollection;
|
277
|
}
|
278
|
|
279
|
public String getTypology() {
|
280
|
return typology;
|
281
|
}
|
282
|
|
283
|
public void setTypology(final String typology) {
|
284
|
this.typology = typology;
|
285
|
}
|
286
|
|
287
|
public String getActivationId() {
|
288
|
return activationId;
|
289
|
}
|
290
|
|
291
|
public void setActivationId(final String activationId) {
|
292
|
this.activationId = activationId;
|
293
|
}
|
294
|
|
295
|
public Boolean isMergehomonyms() {
|
296
|
return mergehomonyms;
|
297
|
}
|
298
|
|
299
|
public void setMergehomonyms(final Boolean mergehomonyms) {
|
300
|
this.mergehomonyms = mergehomonyms;
|
301
|
}
|
302
|
|
303
|
public String getDescription() {
|
304
|
return description;
|
305
|
}
|
306
|
|
307
|
public void setDescription(final String description) {
|
308
|
this.description = description;
|
309
|
}
|
310
|
|
311
|
public Date getReleaseStartDate() {
|
312
|
return releaseStartDate;
|
313
|
}
|
314
|
|
315
|
public void setReleaseStartDate(final Date releaseStartDate) {
|
316
|
this.releaseStartDate = releaseStartDate;
|
317
|
}
|
318
|
|
319
|
public Date getReleaseEndDate() {
|
320
|
return releaseEndDate;
|
321
|
}
|
322
|
|
323
|
public void setReleaseEndDate(final Date releaseEndDate) {
|
324
|
this.releaseEndDate = releaseEndDate;
|
325
|
}
|
326
|
|
327
|
public String getMissionStatementUrl() {
|
328
|
return missionStatementUrl;
|
329
|
}
|
330
|
|
331
|
public void setMissionStatementUrl(final String missionStatementUrl) {
|
332
|
this.missionStatementUrl = missionStatementUrl;
|
333
|
}
|
334
|
|
335
|
public Boolean isDataProvider() {
|
336
|
return dataProvider;
|
337
|
}
|
338
|
|
339
|
public void setDataProvider(final Boolean dataProvider) {
|
340
|
this.dataProvider = dataProvider;
|
341
|
}
|
342
|
|
343
|
public Boolean isServiceProvider() {
|
344
|
return serviceProvider;
|
345
|
}
|
346
|
|
347
|
public void setServiceProvider(final Boolean serviceProvider) {
|
348
|
this.serviceProvider = serviceProvider;
|
349
|
}
|
350
|
|
351
|
public String getDatabaseAccessType() {
|
352
|
return databaseAccessType;
|
353
|
}
|
354
|
|
355
|
public void setDatabaseAccessType(final String databaseAccessType) {
|
356
|
this.databaseAccessType = databaseAccessType;
|
357
|
}
|
358
|
|
359
|
public String getDataUploadType() {
|
360
|
return dataUploadType;
|
361
|
}
|
362
|
|
363
|
public void setDataUploadType(final String dataUploadType) {
|
364
|
this.dataUploadType = dataUploadType;
|
365
|
}
|
366
|
|
367
|
public String getDatabaseAccessRestriction() {
|
368
|
return databaseAccessRestriction;
|
369
|
}
|
370
|
|
371
|
public void setDatabaseAccessRestriction(final String databaseAccessRestriction) {
|
372
|
this.databaseAccessRestriction = databaseAccessRestriction;
|
373
|
}
|
374
|
|
375
|
public String getDataUploadRestriction() {
|
376
|
return dataUploadRestriction;
|
377
|
}
|
378
|
|
379
|
public void setDataUploadRestriction(final String dataUploadRestriction) {
|
380
|
this.dataUploadRestriction = dataUploadRestriction;
|
381
|
}
|
382
|
|
383
|
public Boolean isVersioning() {
|
384
|
return versioning;
|
385
|
}
|
386
|
|
387
|
public void setVersioning(final Boolean versioning) {
|
388
|
this.versioning = versioning;
|
389
|
}
|
390
|
|
391
|
public String getCitationGuidelineUrl() {
|
392
|
return citationGuidelineUrl;
|
393
|
}
|
394
|
|
395
|
public void setCitationGuidelineUrl(final String citationGuidelineUrl) {
|
396
|
this.citationGuidelineUrl = citationGuidelineUrl;
|
397
|
}
|
398
|
|
399
|
public String getQualityManagementKind() {
|
400
|
return qualityManagementKind;
|
401
|
}
|
402
|
|
403
|
public void setQualityManagementKind(final String qualityManagementKind) {
|
404
|
this.qualityManagementKind = qualityManagementKind;
|
405
|
}
|
406
|
|
407
|
public String getPidSystems() {
|
408
|
return pidSystems;
|
409
|
}
|
410
|
|
411
|
public void setPidSystems(final String pidSystems) {
|
412
|
this.pidSystems = pidSystems;
|
413
|
}
|
414
|
|
415
|
public String getCertificates() {
|
416
|
return certificates;
|
417
|
}
|
418
|
|
419
|
public void setCertificates(final String certificates) {
|
420
|
this.certificates = certificates;
|
421
|
}
|
422
|
|
423
|
public String getAggregator() {
|
424
|
return aggregator;
|
425
|
}
|
426
|
|
427
|
public void setAggregator(final String aggregator) {
|
428
|
this.aggregator = aggregator;
|
429
|
}
|
430
|
|
431
|
public String getIssn() {
|
432
|
return issn;
|
433
|
}
|
434
|
|
435
|
public void setIssn(final String issn) {
|
436
|
this.issn = issn;
|
437
|
}
|
438
|
|
439
|
public String getEissn() {
|
440
|
return eissn;
|
441
|
}
|
442
|
|
443
|
public void setEissn(final String eissn) {
|
444
|
this.eissn = eissn;
|
445
|
}
|
446
|
|
447
|
public String getLissn() {
|
448
|
return lissn;
|
449
|
}
|
450
|
|
451
|
public void setLissn(final String lissn) {
|
452
|
this.lissn = lissn;
|
453
|
}
|
454
|
|
455
|
public List<IfaceDesc> getInterfaces() {
|
456
|
return interfaces;
|
457
|
}
|
458
|
|
459
|
public void setInterfaces(final List<IfaceDesc> interfaces) {
|
460
|
this.interfaces = interfaces;
|
461
|
}
|
462
|
|
463
|
public String getRegisteredBy() {
|
464
|
return registeredBy;
|
465
|
}
|
466
|
|
467
|
public void setRegisteredBy(String registeredBy) {
|
468
|
this.registeredBy = registeredBy;
|
469
|
}
|
470
|
|
471
|
@Override
|
472
|
public String toString() {
|
473
|
return "DatasourceDesc{" +
|
474
|
"id='" + id + '\'' +
|
475
|
", officialName='" + officialName + '\'' +
|
476
|
", englishName='" + englishName + '\'' +
|
477
|
", websiteUrl='" + websiteUrl + '\'' +
|
478
|
", logoUrl='" + logoUrl + '\'' +
|
479
|
", contactEmail='" + contactEmail + '\'' +
|
480
|
", countryCode='" + countryCode + '\'' +
|
481
|
", countryName='" + countryName + '\'' +
|
482
|
", organization='" + organization + '\'' +
|
483
|
", latitude=" + latitude +
|
484
|
", longitude=" + longitude +
|
485
|
", timezone=" + timezone +
|
486
|
", namespacePrefix='" + namespacePrefix + '\'' +
|
487
|
", odNumberOfItems='" + odNumberOfItems + '\'' +
|
488
|
", odNumberOfItemsDate='" + odNumberOfItemsDate + '\'' +
|
489
|
", odPolicies='" + odPolicies + '\'' +
|
490
|
", odLanguages='" + odLanguages + '\'' +
|
491
|
", odContentTypes='" + odContentTypes + '\'' +
|
492
|
", collectedFrom='" + collectedFrom + '\'' +
|
493
|
", inferred=" + inferred +
|
494
|
", deletedByInference=" + deletedByInference +
|
495
|
", trust=" + trust +
|
496
|
", inferenceProvenance='" + inferenceProvenance + '\'' +
|
497
|
", dateOfValidation=" + dateOfValidation +
|
498
|
", registeredBy='" + registeredBy + '\'' +
|
499
|
", datasourceClass='" + datasourceClass + '\'' +
|
500
|
", provenanceActionClass='" + provenanceActionClass + '\'' +
|
501
|
", dateOfCollection=" + dateOfCollection +
|
502
|
", typology='" + typology + '\'' +
|
503
|
", activationId='" + activationId + '\'' +
|
504
|
", mergehomonyms=" + mergehomonyms +
|
505
|
", description='" + description + '\'' +
|
506
|
", releaseStartDate=" + releaseStartDate +
|
507
|
", releaseEndDate=" + releaseEndDate +
|
508
|
", missionStatementUrl='" + missionStatementUrl + '\'' +
|
509
|
", dataProvider=" + dataProvider +
|
510
|
", serviceProvider=" + serviceProvider +
|
511
|
", databaseAccessType='" + databaseAccessType + '\'' +
|
512
|
", dataUploadType='" + dataUploadType + '\'' +
|
513
|
", databaseAccessRestriction='" + databaseAccessRestriction + '\'' +
|
514
|
", dataUploadRestriction='" + dataUploadRestriction + '\'' +
|
515
|
", versioning=" + versioning +
|
516
|
", citationGuidelineUrl='" + citationGuidelineUrl + '\'' +
|
517
|
", qualityManagementKind='" + qualityManagementKind + '\'' +
|
518
|
", pidSystems='" + pidSystems + '\'' +
|
519
|
", certificates='" + certificates + '\'' +
|
520
|
", aggregator='" + aggregator + '\'' +
|
521
|
", issn='" + issn + '\'' +
|
522
|
", eissn='" + eissn + '\'' +
|
523
|
", lissn='" + lissn + '\'' +
|
524
|
", interfaces=" + interfaces +
|
525
|
'}';
|
526
|
}
|
527
|
}
|