Project

General

Profile

1 44995 panagiotis
package eu.dnetlib.goldoa.domain;
2
3
import java.io.Serializable;
4
import javax.persistence.*;
5
import java.sql.Timestamp;
6
import java.util.ArrayList;
7
import java.util.List;
8
9
10
/**
11
 * The persistent class for the project database table.
12
 *
13
 */
14
@Entity
15
@NamedQuery(name="Project.findAll", query="SELECT p FROM Project p")
16
public class Project implements Serializable {
17
	private static final long serialVersionUID = 1L;
18
19 45083 panagiotis
	//@Column(columnDefinition = "text")
20 44995 panagiotis
	private String acronym;
21
22 45083 panagiotis
	//@Column(columnDefinition = "text")
23
	//private String call;
24 44995 panagiotis
25
	private Timestamp enddate;
26
27 45083 panagiotis
	//@Column(columnDefinition = "text")
28 44995 panagiotis
	private String funder;
29
30 45083 panagiotis
	//@Column(columnDefinition = "text")
31 44995 panagiotis
	private String fundingstream;
32
33 45083 panagiotis
	//@Column(columnDefinition = "text")
34 44995 panagiotis
	private String ganumber;
35
36
	@Id
37 45083 panagiotis
	//@Column(columnDefinition = "text")
38 44995 panagiotis
	private String id;
39
40
	private Boolean sc39;
41
42 45083 panagiotis
	//@Column(columnDefinition = "text")
43 44995 panagiotis
	private String scientificarea;
44
45 45083 panagiotis
	//@Column(columnDefinition = "text", nullable=false)
46 44995 panagiotis
	private String source;
47
48
	private Timestamp startdate;
49
50 45083 panagiotis
	//@Column(columnDefinition = "text")
51 44995 panagiotis
	private String title;
52
53 45083 panagiotis
	//@Column(columnDefinition = "text")
54 44995 panagiotis
	private String url;
55
56
	@OneToMany(mappedBy = "project",cascade=CascadeType.ALL)
57
	private List<ProjectCoordinator> projectCoordinators = new ArrayList<>();
58
59 45049 panagiotis
60
61 44995 panagiotis
	@OneToMany(mappedBy = "project",cascade=CascadeType.ALL)
62
	private List<ProjectOrganization> projectOrganization = new ArrayList<>();
63 45049 panagiotis
64 45083 panagiotis
	//@Column(columnDefinition = "text")
65 45049 panagiotis
	private String grant;
66 44995 panagiotis
67
	public Project() {
68
	}
69
70
	public String getAcronym() {
71
		return this.acronym;
72
	}
73
74
	public void setAcronym(String acronym) {
75
		this.acronym = acronym;
76
	}
77
78 45083 panagiotis
	/*public String getCall() {
79 44995 panagiotis
		return this.call;
80
	}
81
82
	public void setCall(String call) {
83
		this.call = call;
84 45083 panagiotis
	}*/
85 44995 panagiotis
86
	public Timestamp getEnddate() {
87
		return this.enddate;
88
	}
89
90
	public void setEnddate(Timestamp enddate) {
91
		this.enddate = enddate;
92
	}
93
94
	public String getFunder() {
95
		return this.funder;
96
	}
97
98
	public void setFunder(String funder) {
99
		this.funder = funder;
100
	}
101
102
	public String getFundingstream() {
103
		return this.fundingstream;
104
	}
105
106
	public void setFundingstream(String fundingstream) {
107
		this.fundingstream = fundingstream;
108
	}
109
110 45049 panagiotis
	public String getGrant() {
111
		return this.grant;
112
	}
113 44995 panagiotis
114 45049 panagiotis
	public void setGrant(String grant) {
115
		this.grant = grant;
116
	}
117
118 44995 panagiotis
	public String getId() {
119
		return this.id;
120
	}
121
122
	public void setId(String id) {
123
		this.id = id;
124
	}
125
126
	public Boolean getSc39() {
127
		return this.sc39;
128
	}
129
130
	public void setSc39(Boolean sc39) {
131
		this.sc39 = sc39;
132
	}
133
134
	public String getScientificarea() {
135
		return this.scientificarea;
136
	}
137
138
	public void setScientificarea(String scientificarea) {
139
		this.scientificarea = scientificarea;
140
	}
141
142
	public String getSource() {
143
		return this.source;
144
	}
145
146
	public void setSource(String source) {
147
		this.source = source;
148
	}
149
150
	public Timestamp getStartdate() {
151
		return this.startdate;
152
	}
153
154
	public void setStartdate(Timestamp startdate) {
155
		this.startdate = startdate;
156
	}
157
158
	public String getTitle() {
159
		return this.title;
160
	}
161
162
	public void setTitle(String title) {
163
		this.title = title;
164
	}
165
166
	public String getUrl() {
167
		return this.url;
168
	}
169
170
	public void setUrl(String url) {
171
		this.url = url;
172
	}
173 45049 panagiotis
174
	public List<ProjectCoordinator> getProjectCoordinators() {
175
		return projectCoordinators;
176
	}
177 44995 panagiotis
178 45049 panagiotis
	public void setProjectCoordinators(List<ProjectCoordinator> projectCoordinators) {
179
		this.projectCoordinators = projectCoordinators;
180
	}
181
182
	public List<ProjectOrganization> getProjectOrganization() {
183
		return projectOrganization;
184
	}
185
186
	public void setProjectOrganization(List<ProjectOrganization> projectOrganization) {
187
		this.projectOrganization = projectOrganization;
188
	}
189
190 44995 panagiotis
}