1
|
package eu.dnetlib.goldoa.domain;
|
2
|
|
3
|
import com.google.gwt.user.client.rpc.IsSerializable;
|
4
|
|
5
|
import java.util.Date;
|
6
|
import java.util.List;
|
7
|
|
8
|
/**
|
9
|
* Created by antleb on 3/13/15.
|
10
|
*/
|
11
|
public class Publication extends GoldBean implements IsSerializable {
|
12
|
public enum Type implements IsSerializable {
|
13
|
ARTICLE("article"),
|
14
|
MONOGRAPH("monograph");
|
15
|
|
16
|
private String type;
|
17
|
|
18
|
Type(String type) {
|
19
|
this.type = type;
|
20
|
}
|
21
|
|
22
|
public String getType() {
|
23
|
return type;
|
24
|
}
|
25
|
}
|
26
|
|
27
|
private String title;
|
28
|
private String languages;
|
29
|
private String subjects;
|
30
|
private String doi;
|
31
|
private Date publicationDate;
|
32
|
private Date acceptanceDate;
|
33
|
private Type type;
|
34
|
private Journal journal;
|
35
|
private Publisher publisher;
|
36
|
private List<Affiliation> authors;
|
37
|
private List<PublicationIdentifier> identifiers;
|
38
|
private String repository;
|
39
|
private String source;
|
40
|
|
41
|
public Publication() {
|
42
|
}
|
43
|
|
44
|
public Publication(String id, String title, String languages, String subjects, String doi, Date publicationDate, Date acceptanceDate, Type type, Journal journal, Publisher publisher, List<Affiliation> authors, List<PublicationIdentifier> identifiers, String repository, String source) {
|
45
|
super(id);
|
46
|
this.title = title;
|
47
|
this.languages = languages;
|
48
|
this.subjects = subjects;
|
49
|
this.doi = doi;
|
50
|
this.publicationDate = publicationDate;
|
51
|
this.acceptanceDate = acceptanceDate;
|
52
|
this.type = type;
|
53
|
this.journal = journal;
|
54
|
this.publisher = publisher;
|
55
|
this.authors = authors;
|
56
|
this.identifiers = identifiers;
|
57
|
this.repository = repository;
|
58
|
this.source = source;
|
59
|
}
|
60
|
|
61
|
public String getTitle() {
|
62
|
return title;
|
63
|
}
|
64
|
|
65
|
public void setTitle(String title) {
|
66
|
this.title = title;
|
67
|
}
|
68
|
|
69
|
public String getLanguages() {
|
70
|
return languages;
|
71
|
}
|
72
|
|
73
|
public void setLanguages(String languages) {
|
74
|
this.languages = languages;
|
75
|
}
|
76
|
|
77
|
public String getSubjects() {
|
78
|
return subjects;
|
79
|
}
|
80
|
|
81
|
public void setSubjects(String subjects) {
|
82
|
this.subjects = subjects;
|
83
|
}
|
84
|
|
85
|
public String getDoi() {
|
86
|
return doi;
|
87
|
}
|
88
|
|
89
|
public void setDoi(String doi) {
|
90
|
this.doi = doi;
|
91
|
}
|
92
|
|
93
|
public Date getPublicationDate() {
|
94
|
return publicationDate;
|
95
|
}
|
96
|
|
97
|
public void setPublicationDate(Date publicationDate) {
|
98
|
this.publicationDate = publicationDate;
|
99
|
}
|
100
|
|
101
|
public Type getType() {
|
102
|
return type;
|
103
|
}
|
104
|
|
105
|
public void setType(Type type) {
|
106
|
this.type = type;
|
107
|
}
|
108
|
|
109
|
public Journal getJournal() {
|
110
|
return journal;
|
111
|
}
|
112
|
|
113
|
public void setJournal(Journal journal) {
|
114
|
this.journal = journal;
|
115
|
}
|
116
|
|
117
|
public Publisher getPublisher() {
|
118
|
return publisher;
|
119
|
}
|
120
|
|
121
|
public void setPublisher(Publisher publisher) {
|
122
|
this.publisher = publisher;
|
123
|
}
|
124
|
|
125
|
public List<Affiliation> getAuthors() {
|
126
|
return authors;
|
127
|
}
|
128
|
|
129
|
public void setAuthors(List<Affiliation> authors) {
|
130
|
this.authors = authors;
|
131
|
}
|
132
|
|
133
|
public String getSource() {
|
134
|
return source;
|
135
|
}
|
136
|
|
137
|
public void setSource(String source) {
|
138
|
this.source = source;
|
139
|
}
|
140
|
|
141
|
public List<PublicationIdentifier> getIdentifiers() {
|
142
|
return identifiers;
|
143
|
}
|
144
|
|
145
|
public void setIdentifiers(List<PublicationIdentifier> identifiers) {
|
146
|
this.identifiers = identifiers;
|
147
|
}
|
148
|
|
149
|
public String getRepository() {
|
150
|
return repository;
|
151
|
}
|
152
|
|
153
|
public void setRepository(String repository) {
|
154
|
this.repository = repository;
|
155
|
}
|
156
|
|
157
|
public Date getAcceptanceDate() {
|
158
|
return acceptanceDate;
|
159
|
}
|
160
|
|
161
|
public void setAcceptanceDate(Date acceptanceDate) {
|
162
|
this.acceptanceDate = acceptanceDate;
|
163
|
}
|
164
|
}
|