1
|
package eu.dnetlib.enabling.datasources.common;
|
2
|
|
3
|
import java.sql.Date;
|
4
|
import java.util.Set;
|
5
|
|
6
|
public class Organization<DS extends Datasource<?, ?>> {
|
7
|
|
8
|
private String id;
|
9
|
private String legalshortname;
|
10
|
private String legalname;
|
11
|
private String websiteurl;
|
12
|
private String logourl;
|
13
|
|
14
|
private Boolean eclegalbody;
|
15
|
|
16
|
private Boolean eclegalperson;
|
17
|
|
18
|
private Boolean ecnonprofit;
|
19
|
|
20
|
private Boolean ecresearchorganization;
|
21
|
|
22
|
private Boolean echighereducation;
|
23
|
|
24
|
private Boolean ecinternationalorganizationeurinterests;
|
25
|
|
26
|
private Boolean ecinternationalorganization;
|
27
|
|
28
|
private Boolean ecenterprise;
|
29
|
|
30
|
private Boolean ecsmevalidated;
|
31
|
|
32
|
private Boolean ecnutscode;
|
33
|
|
34
|
private String country;
|
35
|
private String collectedfrom;
|
36
|
|
37
|
private Date dateofcollection;
|
38
|
private String provenanceaction;
|
39
|
|
40
|
private Set<DS> datasources;
|
41
|
|
42
|
public Organization() {}
|
43
|
|
44
|
public String getId() {
|
45
|
return id;
|
46
|
}
|
47
|
|
48
|
public String getLegalshortname() {
|
49
|
return legalshortname;
|
50
|
}
|
51
|
|
52
|
public String getLegalname() {
|
53
|
return legalname;
|
54
|
}
|
55
|
|
56
|
public String getWebsiteurl() {
|
57
|
return websiteurl;
|
58
|
}
|
59
|
|
60
|
public String getLogourl() {
|
61
|
return logourl;
|
62
|
}
|
63
|
|
64
|
public Boolean isEclegalbody() {
|
65
|
return eclegalbody;
|
66
|
}
|
67
|
|
68
|
public Boolean isEclegalperson() {
|
69
|
return eclegalperson;
|
70
|
}
|
71
|
|
72
|
public Boolean isEcnonprofit() {
|
73
|
return ecnonprofit;
|
74
|
}
|
75
|
|
76
|
public Boolean isEcresearchorganization() {
|
77
|
return ecresearchorganization;
|
78
|
}
|
79
|
|
80
|
public Boolean isEchighereducation() {
|
81
|
return echighereducation;
|
82
|
}
|
83
|
|
84
|
public Boolean isEcinternationalorganizationeurinterests() {
|
85
|
return ecinternationalorganizationeurinterests;
|
86
|
}
|
87
|
|
88
|
public Boolean isEcinternationalorganization() {
|
89
|
return ecinternationalorganization;
|
90
|
}
|
91
|
|
92
|
public Boolean isEcenterprise() {
|
93
|
return ecenterprise;
|
94
|
}
|
95
|
|
96
|
public Boolean isEcsmevalidated() {
|
97
|
return ecsmevalidated;
|
98
|
}
|
99
|
|
100
|
public Boolean isEcnutscode() {
|
101
|
return ecnutscode;
|
102
|
}
|
103
|
|
104
|
public String getCountry() {
|
105
|
return country;
|
106
|
}
|
107
|
|
108
|
public String getCollectedfrom() {
|
109
|
return collectedfrom;
|
110
|
}
|
111
|
|
112
|
public Date getDateofcollection() {
|
113
|
return dateofcollection;
|
114
|
}
|
115
|
|
116
|
public String getProvenanceaction() {
|
117
|
return provenanceaction;
|
118
|
}
|
119
|
|
120
|
public Organization<DS> setId(final String id) {
|
121
|
this.id = id;
|
122
|
return this;
|
123
|
}
|
124
|
|
125
|
public Organization<DS> setLegalshortname(final String legalshortname) {
|
126
|
this.legalshortname = legalshortname;
|
127
|
return this;
|
128
|
}
|
129
|
|
130
|
public Organization<DS> setLegalname(final String legalname) {
|
131
|
this.legalname = legalname;
|
132
|
return this;
|
133
|
}
|
134
|
|
135
|
public Organization<DS> setWebsiteurl(final String websiteurl) {
|
136
|
this.websiteurl = websiteurl;
|
137
|
return this;
|
138
|
}
|
139
|
|
140
|
public Organization<DS> setLogourl(final String logourl) {
|
141
|
this.logourl = logourl;
|
142
|
return this;
|
143
|
}
|
144
|
|
145
|
public Organization<DS> setEclegalbody(final Boolean eclegalbody) {
|
146
|
this.eclegalbody = eclegalbody;
|
147
|
return this;
|
148
|
}
|
149
|
|
150
|
public Organization<DS> setEclegalperson(final Boolean eclegalperson) {
|
151
|
this.eclegalperson = eclegalperson;
|
152
|
return this;
|
153
|
}
|
154
|
|
155
|
public Organization<DS> setEcnonprofit(final Boolean ecnonprofit) {
|
156
|
this.ecnonprofit = ecnonprofit;
|
157
|
return this;
|
158
|
}
|
159
|
|
160
|
public Organization<DS> setEcresearchorganization(final Boolean ecresearchorganization) {
|
161
|
this.ecresearchorganization = ecresearchorganization;
|
162
|
return this;
|
163
|
}
|
164
|
|
165
|
public Organization<DS> setEchighereducation(final Boolean echighereducation) {
|
166
|
this.echighereducation = echighereducation;
|
167
|
return this;
|
168
|
}
|
169
|
|
170
|
public Organization<DS> setEcinternationalorganizationeurinterests(final Boolean ecinternationalorganizationeurinterests) {
|
171
|
this.ecinternationalorganizationeurinterests = ecinternationalorganizationeurinterests;
|
172
|
return this;
|
173
|
}
|
174
|
|
175
|
public Organization<DS> setEcinternationalorganization(final Boolean ecinternationalorganization) {
|
176
|
this.ecinternationalorganization = ecinternationalorganization;
|
177
|
return this;
|
178
|
}
|
179
|
|
180
|
public Organization<DS> setEcenterprise(final Boolean ecenterprise) {
|
181
|
this.ecenterprise = ecenterprise;
|
182
|
return this;
|
183
|
}
|
184
|
|
185
|
public Organization<DS> setEcsmevalidated(final Boolean ecsmevalidated) {
|
186
|
this.ecsmevalidated = ecsmevalidated;
|
187
|
return this;
|
188
|
}
|
189
|
|
190
|
public Organization<DS> setEcnutscode(final Boolean ecnutscode) {
|
191
|
this.ecnutscode = ecnutscode;
|
192
|
return this;
|
193
|
}
|
194
|
|
195
|
public Organization<DS> setCountry(final String country) {
|
196
|
this.country = country;
|
197
|
return this;
|
198
|
}
|
199
|
|
200
|
public Organization<DS> setCollectedfrom(final String collectedfrom) {
|
201
|
this.collectedfrom = collectedfrom;
|
202
|
return this;
|
203
|
}
|
204
|
|
205
|
public Organization<DS> setDateofcollection(final Date dateofcollection) {
|
206
|
this.dateofcollection = dateofcollection;
|
207
|
return this;
|
208
|
}
|
209
|
|
210
|
public Organization<DS> setProvenanceaction(final String provenanceaction) {
|
211
|
this.provenanceaction = provenanceaction;
|
212
|
return this;
|
213
|
}
|
214
|
|
215
|
public Set<DS> getDatasources() {
|
216
|
return datasources;
|
217
|
}
|
218
|
|
219
|
public void setDatasources(final Set<DS> datasources) {
|
220
|
this.datasources = datasources;
|
221
|
}
|
222
|
|
223
|
}
|