1
|
package eu.dnetlib.openaire.exporter.model.datasource.db;
|
2
|
|
3
|
import javax.persistence.*;
|
4
|
|
5
|
import com.fasterxml.jackson.annotation.JsonAutoDetect;
|
6
|
import com.fasterxml.jackson.annotation.JsonIgnore;
|
7
|
import io.swagger.annotations.ApiModel;
|
8
|
|
9
|
@Entity
|
10
|
@JsonAutoDetect
|
11
|
@Table(name = "dsm_datasource_api")
|
12
|
@ApiModel(value = "DatasourceApi model", description = "describes a joint view between datasources and their API (1:N)")
|
13
|
public class DatasourceApiDbEntry {
|
14
|
|
15
|
@Id
|
16
|
@JsonIgnore
|
17
|
private Long rowid;
|
18
|
private String officialname;
|
19
|
private String englishname;
|
20
|
private String websiteurl;
|
21
|
private String contactemail;
|
22
|
private String registeredby;
|
23
|
private String typology;
|
24
|
private String platform;
|
25
|
private boolean managed;
|
26
|
|
27
|
protected String protocol = null;
|
28
|
protected String contentdescription = null;
|
29
|
protected boolean active = false;
|
30
|
protected boolean removable = false;
|
31
|
protected String apitypology = null;
|
32
|
protected String compatibility;
|
33
|
private String baseurl;
|
34
|
|
35
|
public DatasourceApiDbEntry() {}
|
36
|
|
37
|
public Long getRowid() {
|
38
|
return rowid;
|
39
|
}
|
40
|
|
41
|
public void setRowid(final Long rowid) {
|
42
|
this.rowid = rowid;
|
43
|
}
|
44
|
|
45
|
public String getBaseurl() {
|
46
|
return baseurl;
|
47
|
}
|
48
|
|
49
|
public void setBaseurl(final String baseurl) {
|
50
|
this.baseurl = baseurl;
|
51
|
}
|
52
|
|
53
|
public String getContactemail() {
|
54
|
return contactemail;
|
55
|
}
|
56
|
|
57
|
public void setContactemail(final String contactemail) {
|
58
|
this.contactemail = contactemail;
|
59
|
}
|
60
|
|
61
|
public String getRegisteredby() {
|
62
|
return registeredby;
|
63
|
}
|
64
|
|
65
|
public void setRegisteredby(final String registeredby) {
|
66
|
this.registeredby = registeredby;
|
67
|
}
|
68
|
|
69
|
public String getOfficialname() {
|
70
|
return officialname;
|
71
|
}
|
72
|
|
73
|
public void setOfficialname(final String officialname) {
|
74
|
this.officialname = officialname;
|
75
|
}
|
76
|
|
77
|
public String getEnglishname() {
|
78
|
return englishname;
|
79
|
}
|
80
|
|
81
|
public void setEnglishname(final String englishname) {
|
82
|
this.englishname = englishname;
|
83
|
}
|
84
|
|
85
|
public String getWebsiteurl() {
|
86
|
return websiteurl;
|
87
|
}
|
88
|
|
89
|
public void setWebsiteurl(final String websiteurl) {
|
90
|
this.websiteurl = websiteurl;
|
91
|
}
|
92
|
|
93
|
public String getTypology() {
|
94
|
return typology;
|
95
|
}
|
96
|
|
97
|
public void setTypology(final String typology) {
|
98
|
this.typology = typology;
|
99
|
}
|
100
|
|
101
|
public String getPlatform() {
|
102
|
return platform;
|
103
|
}
|
104
|
|
105
|
public void setPlatform(final String platform) {
|
106
|
this.platform = platform;
|
107
|
}
|
108
|
|
109
|
public boolean getManaged() {
|
110
|
return managed;
|
111
|
}
|
112
|
|
113
|
public void setManaged(final boolean managed) {
|
114
|
this.managed = managed;
|
115
|
}
|
116
|
|
117
|
public String getProtocol() {
|
118
|
return protocol;
|
119
|
}
|
120
|
|
121
|
public void setProtocol(final String protocol) {
|
122
|
this.protocol = protocol;
|
123
|
}
|
124
|
|
125
|
public String getContentdescription() {
|
126
|
return contentdescription;
|
127
|
}
|
128
|
|
129
|
public void setContentdescription(final String contentdescription) {
|
130
|
this.contentdescription = contentdescription;
|
131
|
}
|
132
|
|
133
|
public boolean getActive() {
|
134
|
return active;
|
135
|
}
|
136
|
|
137
|
public void setActive(final boolean active) {
|
138
|
this.active = active;
|
139
|
}
|
140
|
|
141
|
public boolean getRemovable() {
|
142
|
return removable;
|
143
|
}
|
144
|
|
145
|
public void setRemovable(final boolean removable) {
|
146
|
this.removable = removable;
|
147
|
}
|
148
|
|
149
|
public String getApitypology() {
|
150
|
return apitypology;
|
151
|
}
|
152
|
|
153
|
public void setApitypology(final String apitypology) {
|
154
|
this.apitypology = apitypology;
|
155
|
}
|
156
|
|
157
|
public String getCompatibility() {
|
158
|
return compatibility;
|
159
|
}
|
160
|
|
161
|
public void setCompatibility(final String compatibility) {
|
162
|
this.compatibility = compatibility;
|
163
|
}
|
164
|
}
|