Revision 39076
Added by Antonis Lempesis over 8 years ago
Publication.java | ||
---|---|---|
30 | 30 |
private String subjects; |
31 | 31 |
private String doi; |
32 | 32 |
private Date publicationDate; |
33 |
private Date acceptanceDate;
|
|
33 |
private Date acceptanceDate;
|
|
34 | 34 |
private Type type; |
35 | 35 |
private Journal journal; |
36 | 36 |
private Publisher publisher; |
37 | 37 |
private List<Affiliation> authors; |
38 | 38 |
private List<PublicationIdentifier> identifiers; |
39 |
private String repository;
|
|
39 |
private String repository;
|
|
40 | 40 |
private String source; |
41 | 41 |
|
42 | 42 |
public Publication() { |
43 | 43 |
} |
44 | 44 |
|
45 |
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) {
|
|
46 |
this.id = id;
|
|
47 |
this.title = title;
|
|
48 |
this.languages = languages;
|
|
49 |
this.subjects = subjects;
|
|
50 |
this.doi = doi;
|
|
51 |
this.publicationDate = publicationDate;
|
|
52 |
this.acceptanceDate = acceptanceDate;
|
|
53 |
this.type = type;
|
|
54 |
this.journal = journal;
|
|
55 |
this.publisher = publisher;
|
|
56 |
this.authors = authors;
|
|
57 |
this.identifiers = identifiers;
|
|
58 |
this.repository = repository;
|
|
59 |
this.source = source;
|
|
60 |
}
|
|
45 |
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) {
|
|
46 |
this.id = id;
|
|
47 |
this.title = title;
|
|
48 |
this.languages = languages;
|
|
49 |
this.subjects = subjects;
|
|
50 |
this.doi = doi;
|
|
51 |
this.publicationDate = publicationDate;
|
|
52 |
this.acceptanceDate = acceptanceDate;
|
|
53 |
this.type = type;
|
|
54 |
this.journal = journal;
|
|
55 |
this.publisher = publisher;
|
|
56 |
this.authors = authors;
|
|
57 |
this.identifiers = identifiers;
|
|
58 |
this.repository = repository;
|
|
59 |
this.source = source;
|
|
60 |
}
|
|
61 | 61 |
|
62 |
public Publication(String id) {
|
|
62 |
public Publication(String id) {
|
|
63 | 63 |
this.id = id; |
64 | 64 |
} |
65 | 65 |
|
... | ... | |
159 | 159 |
this.identifiers = identifiers; |
160 | 160 |
} |
161 | 161 |
|
162 |
public String getRepository() {
|
|
163 |
return repository;
|
|
164 |
}
|
|
162 |
public String getRepository() {
|
|
163 |
return repository;
|
|
164 |
}
|
|
165 | 165 |
|
166 |
public void setRepository(String repository) {
|
|
167 |
this.repository = repository;
|
|
168 |
}
|
|
166 |
public void setRepository(String repository) {
|
|
167 |
this.repository = repository;
|
|
168 |
}
|
|
169 | 169 |
|
170 |
public Date getAcceptanceDate() {
|
|
171 |
return acceptanceDate;
|
|
172 |
}
|
|
170 |
public Date getAcceptanceDate() {
|
|
171 |
return acceptanceDate;
|
|
172 |
}
|
|
173 | 173 |
|
174 |
public void setAcceptanceDate(Date acceptanceDate) {
|
|
175 |
this.acceptanceDate = acceptanceDate;
|
|
176 |
}
|
|
174 |
public void setAcceptanceDate(Date acceptanceDate) {
|
|
175 |
this.acceptanceDate = acceptanceDate;
|
|
176 |
}
|
|
177 | 177 |
} |
Also available in: Unified diff
reformatted code