1
|
package eu.dnetlib.goldoa.domain;
|
2
|
|
3
|
import com.google.gwt.user.client.rpc.IsSerializable;
|
4
|
|
5
|
/**
|
6
|
* Created by antleb on 4/3/15.
|
7
|
*/
|
8
|
public class BudgetFile implements IsSerializable {
|
9
|
|
10
|
private String contentType;
|
11
|
private byte[] content;
|
12
|
|
13
|
public BudgetFile(String contentType, byte[] content) {
|
14
|
this.contentType = contentType;
|
15
|
this.content = content;
|
16
|
}
|
17
|
|
18
|
public BudgetFile() {
|
19
|
}
|
20
|
|
21
|
public String getContentType() {
|
22
|
return contentType;
|
23
|
}
|
24
|
|
25
|
public void setContentType(String contentType) {
|
26
|
this.contentType = contentType;
|
27
|
}
|
28
|
|
29
|
public byte[] getContent() {
|
30
|
return content;
|
31
|
}
|
32
|
|
33
|
public void setContent(byte[] content) {
|
34
|
this.content = content;
|
35
|
}
|
36
|
}
|