Revision 44994
Added by Panagiotis Kanakakis almost 8 years ago
modules/uoa-goldoa-service/branches/hibernate/src/main/java/model/GoldCoordinator.java | ||
---|---|---|
1 |
package model; |
|
2 |
|
|
3 |
import java.io.Serializable; |
|
4 |
import javax.persistence.*; |
|
5 |
|
|
6 |
|
|
7 |
/** |
|
8 |
* The persistent class for the gold_coordinators database table. |
|
9 |
* |
|
10 |
*/ |
|
11 |
@Entity |
|
12 |
@Table(name="gold_coordinators") |
|
13 |
@NamedQuery(name="GoldCoordinator.findAll", query="SELECT g FROM GoldCoordinator g") |
|
14 |
public class GoldCoordinator implements Serializable { |
|
15 |
private static final long serialVersionUID = 1L; |
|
16 |
|
|
17 |
private Boolean active; |
|
18 |
|
|
19 |
private String email; |
|
20 |
|
|
21 |
private String firstname; |
|
22 |
|
|
23 |
private String lastname; |
|
24 |
|
|
25 |
private String organization; |
|
26 |
|
|
27 |
private String project; |
|
28 |
|
|
29 |
private String telephone; |
|
30 |
|
|
31 |
public GoldCoordinator() { |
|
32 |
} |
|
33 |
|
|
34 |
public Boolean getActive() { |
|
35 |
return this.active; |
|
36 |
} |
|
37 |
|
|
38 |
public void setActive(Boolean active) { |
|
39 |
this.active = active; |
|
40 |
} |
|
41 |
|
|
42 |
public String getEmail() { |
|
43 |
return this.email; |
|
44 |
} |
|
45 |
|
|
46 |
public void setEmail(String email) { |
|
47 |
this.email = email; |
|
48 |
} |
|
49 |
|
|
50 |
public String getFirstname() { |
|
51 |
return this.firstname; |
|
52 |
} |
|
53 |
|
|
54 |
public void setFirstname(String firstname) { |
|
55 |
this.firstname = firstname; |
|
56 |
} |
|
57 |
|
|
58 |
public String getLastname() { |
|
59 |
return this.lastname; |
|
60 |
} |
|
61 |
|
|
62 |
public void setLastname(String lastname) { |
|
63 |
this.lastname = lastname; |
|
64 |
} |
|
65 |
|
|
66 |
public String getOrganization() { |
|
67 |
return this.organization; |
|
68 |
} |
|
69 |
|
|
70 |
public void setOrganization(String organization) { |
|
71 |
this.organization = organization; |
|
72 |
} |
|
73 |
|
|
74 |
public String getProject() { |
|
75 |
return this.project; |
|
76 |
} |
|
77 |
|
|
78 |
public void setProject(String project) { |
|
79 |
this.project = project; |
|
80 |
} |
|
81 |
|
|
82 |
public String getTelephone() { |
|
83 |
return this.telephone; |
|
84 |
} |
|
85 |
|
|
86 |
public void setTelephone(String telephone) { |
|
87 |
this.telephone = telephone; |
|
88 |
} |
|
89 |
|
|
90 |
} |
modules/uoa-goldoa-service/branches/hibernate/src/main/java/model/GoldOrganization.java | ||
---|---|---|
1 |
package model; |
|
2 |
|
|
3 |
import java.io.Serializable; |
|
4 |
import javax.persistence.*; |
|
5 |
|
|
6 |
|
|
7 |
/** |
|
8 |
* The persistent class for the gold_organizations database table. |
|
9 |
* |
|
10 |
*/ |
|
11 |
@Entity |
|
12 |
@Table(name="gold_organizations") |
|
13 |
@NamedQuery(name="GoldOrganization.findAll", query="SELECT g FROM GoldOrganization g") |
|
14 |
public class GoldOrganization implements Serializable { |
|
15 |
private static final long serialVersionUID = 1L; |
|
16 |
|
|
17 |
private String country; |
|
18 |
|
|
19 |
private String name; |
|
20 |
|
|
21 |
private String organization; |
|
22 |
|
|
23 |
private String project; |
|
24 |
|
|
25 |
private String shortname; |
|
26 |
|
|
27 |
public GoldOrganization() { |
|
28 |
} |
|
29 |
|
|
30 |
public String getCountry() { |
|
31 |
return this.country; |
|
32 |
} |
|
33 |
|
|
34 |
public void setCountry(String country) { |
|
35 |
this.country = country; |
|
36 |
} |
|
37 |
|
|
38 |
public String getName() { |
|
39 |
return this.name; |
|
40 |
} |
|
41 |
|
|
42 |
public void setName(String name) { |
|
43 |
this.name = name; |
|
44 |
} |
|
45 |
|
|
46 |
public String getOrganization() { |
|
47 |
return this.organization; |
|
48 |
} |
|
49 |
|
|
50 |
public void setOrganization(String organization) { |
|
51 |
this.organization = organization; |
|
52 |
} |
|
53 |
|
|
54 |
public String getProject() { |
|
55 |
return this.project; |
|
56 |
} |
|
57 |
|
|
58 |
public void setProject(String project) { |
|
59 |
this.project = project; |
|
60 |
} |
|
61 |
|
|
62 |
public String getShortname() { |
|
63 |
return this.shortname; |
|
64 |
} |
|
65 |
|
|
66 |
public void setShortname(String shortname) { |
|
67 |
this.shortname = shortname; |
|
68 |
} |
|
69 |
|
|
70 |
} |
modules/uoa-goldoa-service/branches/hibernate/src/main/java/model/GoldProject.java | ||
---|---|---|
1 |
package model; |
|
2 |
|
|
3 |
import java.io.Serializable; |
|
4 |
import javax.persistence.*; |
|
5 |
|
|
6 |
import eu.dnetlib.goldoa.domain.Funder; |
|
7 |
|
|
8 |
import java.util.Date; |
|
9 |
|
|
10 |
|
|
11 |
/** |
|
12 |
* The persistent class for the gold_projects database table. |
|
13 |
* |
|
14 |
*/ |
|
15 |
@Entity |
|
16 |
@Table(name="gold_projects") |
|
17 |
@NamedQuery(name="GoldProject.findAll", query="SELECT g FROM GoldProject g") |
|
18 |
public class GoldProject implements Serializable { |
|
19 |
private static final long serialVersionUID = 1L; |
|
20 |
|
|
21 |
@Column(columnDefinition = "text") |
|
22 |
private String acronym; |
|
23 |
|
|
24 |
@Column(columnDefinition = "text") |
|
25 |
private String call; |
|
26 |
|
|
27 |
@Temporal(TemporalType.DATE) |
|
28 |
private Date enddate; |
|
29 |
|
|
30 |
|
|
31 |
private String funder; |
|
32 |
|
|
33 |
@Column(columnDefinition = "text") |
|
34 |
private String fundingstream; |
|
35 |
|
|
36 |
@Column(columnDefinition = "text") |
|
37 |
private String grant; |
|
38 |
|
|
39 |
@Id |
|
40 |
@Column(columnDefinition = "text") |
|
41 |
private String id; |
|
42 |
|
|
43 |
private Boolean sc39; |
|
44 |
|
|
45 |
@Column(columnDefinition = "text") |
|
46 |
private String scientificarea; |
|
47 |
|
|
48 |
@Column(columnDefinition = "text") |
|
49 |
private String source; |
|
50 |
|
|
51 |
@Temporal(TemporalType.DATE) |
|
52 |
private Date startdate; |
|
53 |
|
|
54 |
@Column(columnDefinition = "text") |
|
55 |
private String title; |
|
56 |
|
|
57 |
@Column(columnDefinition = "text") |
|
58 |
private String url; |
|
59 |
|
|
60 |
public GoldProject() { |
|
61 |
} |
|
62 |
|
|
63 |
public String getAcronym() { |
|
64 |
return this.acronym; |
|
65 |
} |
|
66 |
|
|
67 |
public void setAcronym(String acronym) { |
|
68 |
this.acronym = acronym; |
|
69 |
} |
|
70 |
|
|
71 |
public String getCall() { |
|
72 |
return this.call; |
|
73 |
} |
|
74 |
|
|
75 |
public void setCall(String call) { |
|
76 |
this.call = call; |
|
77 |
} |
|
78 |
|
|
79 |
public Date getEnddate() { |
|
80 |
return this.enddate; |
|
81 |
} |
|
82 |
|
|
83 |
public void setEnddate(Date enddate) { |
|
84 |
this.enddate = enddate; |
|
85 |
} |
|
86 |
|
|
87 |
public String getFunder() { |
|
88 |
return this.funder; |
|
89 |
} |
|
90 |
|
|
91 |
public void setFunder(String funder) { |
|
92 |
this.funder = funder; |
|
93 |
} |
|
94 |
|
|
95 |
public String getFundingstream() { |
|
96 |
return this.fundingstream; |
|
97 |
} |
|
98 |
|
|
99 |
public void setFundingstream(String fundingstream) { |
|
100 |
this.fundingstream = fundingstream; |
|
101 |
} |
|
102 |
|
|
103 |
public String getGrant() { |
|
104 |
return this.grant; |
|
105 |
} |
|
106 |
|
|
107 |
public void setGrant(String grant) { |
|
108 |
this.grant = grant; |
|
109 |
} |
|
110 |
|
|
111 |
public String getId() { |
|
112 |
return this.id; |
|
113 |
} |
|
114 |
|
|
115 |
public void setId(String id) { |
|
116 |
this.id = id; |
|
117 |
} |
|
118 |
|
|
119 |
public Boolean getSc39() { |
|
120 |
return this.sc39; |
|
121 |
} |
|
122 |
|
|
123 |
public void setSc39(Boolean sc39) { |
|
124 |
this.sc39 = sc39; |
|
125 |
} |
|
126 |
|
|
127 |
public String getScientificarea() { |
|
128 |
return this.scientificarea; |
|
129 |
} |
|
130 |
|
|
131 |
public void setScientificarea(String scientificarea) { |
|
132 |
this.scientificarea = scientificarea; |
|
133 |
} |
|
134 |
|
|
135 |
public String getSource() { |
|
136 |
return this.source; |
|
137 |
} |
|
138 |
|
|
139 |
public void setSource(String source) { |
|
140 |
this.source = source; |
|
141 |
} |
|
142 |
|
|
143 |
public Date getStartdate() { |
|
144 |
return this.startdate; |
|
145 |
} |
|
146 |
|
|
147 |
public void setStartdate(Date startdate) { |
|
148 |
this.startdate = startdate; |
|
149 |
} |
|
150 |
|
|
151 |
public String getTitle() { |
|
152 |
return this.title; |
|
153 |
} |
|
154 |
|
|
155 |
public void setTitle(String title) { |
|
156 |
this.title = title; |
|
157 |
} |
|
158 |
|
|
159 |
public String getUrl() { |
|
160 |
return this.url; |
|
161 |
} |
|
162 |
|
|
163 |
public void setUrl(String url) { |
|
164 |
this.url = url; |
|
165 |
} |
|
166 |
|
|
167 |
} |
Also available in: Unified diff