Revision 39068
Added by Antonis Lempesis over 8 years ago
Publication.java | ||
---|---|---|
8 | 8 |
/** |
9 | 9 |
* Created by antleb on 3/13/15. |
10 | 10 |
*/ |
11 |
public class Publication implements IsSerializable { |
|
11 |
public class Publication extends GoldBean implements IsSerializable {
|
|
12 | 12 |
public enum Type implements IsSerializable { |
13 | 13 |
ARTICLE("article"), |
14 | 14 |
MONOGRAPH("monograph"); |
... | ... | |
24 | 24 |
} |
25 | 25 |
} |
26 | 26 |
|
27 |
private String id; |
|
28 | 27 |
private String title; |
29 | 28 |
private String languages; |
30 | 29 |
private String subjects; |
... | ... | |
43 | 42 |
} |
44 | 43 |
|
45 | 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) { |
46 |
this.id = id;
|
|
45 |
super(id);
|
|
47 | 46 |
this.title = title; |
48 | 47 |
this.languages = languages; |
49 | 48 |
this.subjects = subjects; |
... | ... | |
59 | 58 |
this.source = source; |
60 | 59 |
} |
61 | 60 |
|
62 |
public Publication(String id) { |
|
63 |
this.id = id; |
|
64 |
} |
|
65 |
|
|
66 |
public String getId() { |
|
67 |
return id; |
|
68 |
} |
|
69 |
|
|
70 |
public void setId(String id) { |
|
71 |
this.id = id; |
|
72 |
} |
|
73 |
|
|
74 | 61 |
public String getTitle() { |
75 | 62 |
return title; |
76 | 63 |
} |
Also available in: Unified diff
first step