Project

General

Profile

1
package eu.dnetlib.enabling.datasources.common;
2

    
3
import java.sql.Date;
4
import java.util.Set;
5

    
6
/**
7
 * Datasource
8
 */
9

    
10
public class Datasource<ORG extends Organization, ID extends Identity> {
11

    
12
	private String id = null;
13
	private String officialname = null;
14
	private String englishname = null;
15
	private String websiteurl = null;
16
	private String logourl = null;
17
	private String contactemail = null;
18
	private Double latitude;
19
	private Double longitude;
20
	private String timezone = null;
21
	private String namespaceprefix;
22
	private String languages;
23

    
24
	private String od_contenttypes;
25
	private String collectedfrom = null;
26
	private Date dateofvalidation = null;
27
	private String typology = null;
28
	private String provenanceaction;
29
	private Date dateofcollection;
30
	private String platform;
31

    
32
	private String activationId;
33
	private String description = null;
34

    
35
	private Date releasestartdate;
36
	private Date releaseenddate;
37
	private String missionstatementurl;
38
	private Boolean dataprovider;
39
	private Boolean serviceprovider;
40

    
41
	private String databaseaccesstype;
42
	private String datauploadtype;
43
	private String databaseaccessrestriction;
44
	private String datauploadrestriction;
45

    
46
	private Boolean versioning;
47
	private String citationguidelineurl;
48
	private String qualitymanagementkind;
49
	private String pidsystems;
50

    
51
	private String certificates;
52
	private String aggregator;
53

    
54
	private String issn = null;
55
	private String eissn = null;
56
	private String lissn = null;
57

    
58
	private String registeredby = null;
59

    
60
	private String subjects;
61

    
62
	private Boolean managed;
63

    
64
	private Set<ORG> organizations;
65

    
66
	private Set<ID> identities;
67

    
68
	public Datasource() {}
69

    
70
	public String getId() {
71
		return id;
72
	}
73

    
74
	public String getOfficialname() {
75
		return officialname;
76
	}
77

    
78
	public String getEnglishname() {
79
		return englishname;
80
	}
81

    
82
	public String getWebsiteurl() {
83
		return websiteurl;
84
	}
85

    
86
	public String getLogourl() {
87
		return logourl;
88
	}
89

    
90
	public String getContactemail() {
91
		return contactemail;
92
	}
93

    
94
	public Double getLatitude() {
95
		return latitude;
96
	}
97

    
98
	public Double getLongitude() {
99
		return longitude;
100
	}
101

    
102
	public String getTimezone() {
103
		return timezone;
104
	}
105

    
106
	public String getNamespaceprefix() {
107
		return namespaceprefix;
108
	}
109

    
110
	public String getLanguages() {
111
		return languages;
112
	}
113

    
114
	public String getOd_contenttypes() {
115
		return od_contenttypes;
116
	}
117

    
118
	public String getCollectedfrom() {
119
		return collectedfrom;
120
	}
121

    
122
	public Date getDateofvalidation() {
123
		return dateofvalidation;
124
	}
125

    
126
	public String getTypology() {
127
		return typology;
128
	}
129

    
130
	public String getProvenanceaction() {
131
		return provenanceaction;
132
	}
133

    
134
	public Date getDateofcollection() {
135
		return dateofcollection;
136
	}
137

    
138
	public String getPlatform() {
139
		return platform;
140
	}
141

    
142
	public String getActivationId() {
143
		return activationId;
144
	}
145

    
146
	public String getDescription() {
147
		return description;
148
	}
149

    
150
	public Date getReleasestartdate() {
151
		return releasestartdate;
152
	}
153

    
154
	public Date getReleaseenddate() {
155
		return releaseenddate;
156
	}
157

    
158
	public String getMissionstatementurl() {
159
		return missionstatementurl;
160
	}
161

    
162
	public Boolean isDataprovider() {
163
		return dataprovider;
164
	}
165

    
166
	public Boolean isServiceprovider() {
167
		return serviceprovider;
168
	}
169

    
170
	public String getDatabaseaccesstype() {
171
		return databaseaccesstype;
172
	}
173

    
174
	public String getDatauploadtype() {
175
		return datauploadtype;
176
	}
177

    
178
	public String getDatabaseaccessrestriction() {
179
		return databaseaccessrestriction;
180
	}
181

    
182
	public String getDatauploadrestriction() {
183
		return datauploadrestriction;
184
	}
185

    
186
	public Boolean isVersioning() {
187
		return versioning;
188
	}
189

    
190
	public String getCitationguidelineurl() {
191
		return citationguidelineurl;
192
	}
193

    
194
	public String getQualitymanagementkind() {
195
		return qualitymanagementkind;
196
	}
197

    
198
	public String getPidsystems() {
199
		return pidsystems;
200
	}
201

    
202
	public String getCertificates() {
203
		return certificates;
204
	}
205

    
206
	public String getAggregator() {
207
		return aggregator;
208
	}
209

    
210
	public String getIssn() {
211
		return issn;
212
	}
213

    
214
	public String getEissn() {
215
		return eissn;
216
	}
217

    
218
	public String getLissn() {
219
		return lissn;
220
	}
221

    
222
	public String getRegisteredby() {
223
		return registeredby;
224
	}
225

    
226
	public String getSubjects() {
227
		return subjects;
228
	}
229

    
230
	public Boolean isManaged() {
231
		return managed;
232
	}
233

    
234
	public Set<ORG> getOrganizations() {
235
		return organizations;
236
	}
237

    
238
	public Set<ID> getIdentities() {
239
		return identities;
240
	}
241

    
242
	public Datasource<ORG, ID> setId(final String id) {
243
		this.id = id;
244
		return this;
245
	}
246

    
247
	public Datasource<ORG, ID> setOfficialname(final String officialname) {
248
		this.officialname = officialname;
249
		return this;
250
	}
251

    
252
	public Datasource<ORG, ID> setEnglishname(final String englishname) {
253
		this.englishname = englishname;
254
		return this;
255
	}
256

    
257
	public Datasource<ORG, ID> setWebsiteurl(final String websiteurl) {
258
		this.websiteurl = websiteurl;
259
		return this;
260
	}
261

    
262
	public Datasource<ORG, ID> setLogourl(final String logourl) {
263
		this.logourl = logourl;
264
		return this;
265
	}
266

    
267
	public Datasource<ORG, ID> setContactemail(final String contactemail) {
268
		this.contactemail = contactemail;
269
		return this;
270
	}
271

    
272
	public Datasource<ORG, ID> setLatitude(final Double latitude) {
273
		this.latitude = latitude;
274
		return this;
275
	}
276

    
277
	public Datasource<ORG, ID> setLongitude(final Double longitude) {
278
		this.longitude = longitude;
279
		return this;
280
	}
281

    
282
	public Datasource<ORG, ID> setTimezone(final String timezone) {
283
		this.timezone = timezone;
284
		return this;
285
	}
286

    
287
	public Datasource<ORG, ID> setNamespaceprefix(final String namespaceprefix) {
288
		this.namespaceprefix = namespaceprefix;
289
		return this;
290
	}
291

    
292
	public Datasource<ORG, ID> setLanguages(final String languages) {
293
		this.languages = languages;
294
		return this;
295
	}
296

    
297
	public Datasource<ORG, ID> setOd_contenttypes(final String od_contenttypes) {
298
		this.od_contenttypes = od_contenttypes;
299
		return this;
300
	}
301

    
302
	public Datasource<ORG, ID> setCollectedfrom(final String collectedfrom) {
303
		this.collectedfrom = collectedfrom;
304
		return this;
305
	}
306

    
307
	public Datasource<ORG, ID> setDateofvalidation(final Date dateofvalidation) {
308
		this.dateofvalidation = dateofvalidation;
309
		return this;
310
	}
311

    
312
	public Datasource<ORG, ID> setTypology(final String typology) {
313
		this.typology = typology;
314
		return this;
315
	}
316

    
317
	public Datasource<ORG, ID> setProvenanceaction(final String provenanceaction) {
318
		this.provenanceaction = provenanceaction;
319
		return this;
320
	}
321

    
322
	public Datasource<ORG, ID> setDateofcollection(final Date dateofcollection) {
323
		this.dateofcollection = dateofcollection;
324
		return this;
325
	}
326

    
327
	public Datasource<ORG, ID> setPlatform(final String platform) {
328
		this.platform = platform;
329
		return this;
330
	}
331

    
332
	public Datasource<ORG, ID> setActivationId(final String activationId) {
333
		this.activationId = activationId;
334
		return this;
335
	}
336

    
337
	public Datasource<ORG, ID> setDescription(final String description) {
338
		this.description = description;
339
		return this;
340
	}
341

    
342
	public Datasource<ORG, ID> setReleasestartdate(final Date releasestartdate) {
343
		this.releasestartdate = releasestartdate;
344
		return this;
345
	}
346

    
347
	public Datasource<ORG, ID> setReleaseenddate(final Date releaseenddate) {
348
		this.releaseenddate = releaseenddate;
349
		return this;
350
	}
351

    
352
	public Datasource<ORG, ID> setMissionstatementurl(final String missionstatementurl) {
353
		this.missionstatementurl = missionstatementurl;
354
		return this;
355
	}
356

    
357
	public Datasource<ORG, ID> setDataprovider(final Boolean dataprovider) {
358
		this.dataprovider = dataprovider;
359
		return this;
360
	}
361

    
362
	public Datasource<ORG, ID> setServiceprovider(final Boolean serviceprovider) {
363
		this.serviceprovider = serviceprovider;
364
		return this;
365
	}
366

    
367
	public Datasource<ORG, ID> setDatabaseaccesstype(final String databaseaccesstype) {
368
		this.databaseaccesstype = databaseaccesstype;
369
		return this;
370
	}
371

    
372
	public Datasource<ORG, ID> setDatauploadtype(final String datauploadtype) {
373
		this.datauploadtype = datauploadtype;
374
		return this;
375
	}
376

    
377
	public Datasource<ORG, ID> setDatabaseaccessrestriction(final String databaseaccessrestriction) {
378
		this.databaseaccessrestriction = databaseaccessrestriction;
379
		return this;
380
	}
381

    
382
	public Datasource<ORG, ID> setDatauploadrestriction(final String datauploadrestriction) {
383
		this.datauploadrestriction = datauploadrestriction;
384
		return this;
385
	}
386

    
387
	public Datasource<ORG, ID> setVersioning(final Boolean versioning) {
388
		this.versioning = versioning;
389
		return this;
390
	}
391

    
392
	public Datasource<ORG, ID> setCitationguidelineurl(final String citationguidelineurl) {
393
		this.citationguidelineurl = citationguidelineurl;
394
		return this;
395
	}
396

    
397
	public Datasource<ORG, ID> setQualitymanagementkind(final String qualitymanagementkind) {
398
		this.qualitymanagementkind = qualitymanagementkind;
399
		return this;
400
	}
401

    
402
	public Datasource<ORG, ID> setPidsystems(final String pidsystems) {
403
		this.pidsystems = pidsystems;
404
		return this;
405
	}
406

    
407
	public Datasource<ORG, ID> setCertificates(final String certificates) {
408
		this.certificates = certificates;
409
		return this;
410
	}
411

    
412
	public Datasource<ORG, ID> setAggregator(final String aggregator) {
413
		this.aggregator = aggregator;
414
		return this;
415
	}
416

    
417
	public Datasource<ORG, ID> setIssn(final String issn) {
418
		this.issn = issn;
419
		return this;
420
	}
421

    
422
	public Datasource<ORG, ID> setEissn(final String eissn) {
423
		this.eissn = eissn;
424
		return this;
425
	}
426

    
427
	public Datasource<ORG, ID> setLissn(final String lissn) {
428
		this.lissn = lissn;
429
		return this;
430
	}
431

    
432
	public Datasource<ORG, ID> setRegisteredby(final String registeredby) {
433
		this.registeredby = registeredby;
434
		return this;
435
	}
436

    
437
	public Datasource<ORG, ID> setSubjects(final String subjects) {
438
		this.subjects = subjects;
439
		return this;
440
	}
441

    
442
	public Datasource<ORG, ID> setManaged(final Boolean managed) {
443
		this.managed = managed;
444
		return this;
445
	}
446

    
447
	public Datasource<ORG, ID> setOrganizations(final Set<ORG> organizations) {
448
		this.organizations = organizations;
449
		return this;
450
	}
451

    
452
	public Datasource<ORG, ID> setIdentities(final Set<ID> identities) {
453
		this.identities = identities;
454
		return this;
455
	}
456

    
457
}
(7-7/14)