Revision 39068
Added by Antonis Lempesis over 8 years ago
Request.java | ||
---|---|---|
9 | 9 |
/** |
10 | 10 |
* Created by antleb on 3/9/15. |
11 | 11 |
*/ |
12 |
public class Request implements IsSerializable { |
|
12 |
public class Request extends GoldBean implements IsSerializable {
|
|
13 | 13 |
|
14 | 14 |
public enum RequestStatus implements IsSerializable { |
15 | 15 |
INCOMPLETE("Incomplete", 0), |
... | ... | |
39 | 39 |
} |
40 | 40 |
} |
41 | 41 |
|
42 |
private String id; |
|
43 | 42 |
private String user; |
44 | 43 |
private Date date = new Date(); |
45 | 44 |
private String researcher; |
... | ... | |
68 | 67 |
} |
69 | 68 |
|
70 | 69 |
public Request(String id, String user, Date date, String researcher, String organization, String project, String publication, String journal, String publisher, String publisherEmail, String budget, String invoice, Float apc, Float discount, Float projectParticipation, Float fundingRequested, Currency currency, BankAccount bankAccount, List<RequestCoFunder> coFunders, Float apc_paid, Float transfer_cost, Float other_cost, Date date_paid, int status) { |
71 |
this.id = id;
|
|
70 |
super(id);
|
|
72 | 71 |
this.user = user; |
73 | 72 |
this.date = date; |
74 | 73 |
this.researcher = researcher; |
... | ... | |
129 | 128 |
bankAccount = requestInfo.getBankAccount(); |
130 | 129 |
} |
131 | 130 |
|
132 |
public String getId() { |
|
133 |
return id; |
|
134 |
} |
|
135 |
|
|
136 |
public void setId(String id) { |
|
137 |
this.id = id; |
|
138 |
} |
|
139 |
|
|
140 | 131 |
public String getUser() { |
141 | 132 |
return user; |
142 | 133 |
} |
Also available in: Unified diff
first step