Rev 1728 | Rev 1730 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
1637 | jmachado | 1 | package pt.estgp.estgweb.domain; |
1729 | jmachado | 2 | // Generated 14/Abr/2017 13:19:24 by Hibernate Tools 3.2.0.b9 |
1637 | jmachado | 3 | |
4 | |||
5 | import java.util.Date; |
||
6 | import java.util.HashSet; |
||
7 | import java.util.Set; |
||
1692 | jmachado | 8 | import pt.estgp.estgweb.services.data.repositorydocuments.DocumentPersons; |
1637 | jmachado | 9 | |
10 | /** |
||
11 | * RepositoryDocument generated by hbm2java |
||
12 | */ |
||
13 | public abstract class RepositoryDocument extends pt.estgp.estgweb.domain.DomainSerializableObject implements java.io.1.5.0/docs/api/java/io/Serializable.html">Serializable { |
||
14 | |||
15 | |||
16 | private long id; |
||
17 | private 5+0%2Fdocs%2Fapi+Date">Date updateDate; |
||
18 | private 5+0%2Fdocs%2Fapi+Date">Date saveDate; |
||
19 | private boolean visible; |
||
20 | private 1.5.0/docs/api/java/lang/String.html">String internalIdentifier; |
||
21 | private 1.5.0/docs/api/java/lang/String.html">String title; |
||
1670 | jmachado | 22 | private 1.5.0/docs/api/java/lang/String.html">String subtitle; |
1637 | jmachado | 23 | private 1.5.0/docs/api/java/lang/String.html">String description; |
1670 | jmachado | 24 | private 1.5.0/docs/api/java/lang/String.html">String publisher; |
25 | private DocumentPersons authorsJson; |
||
26 | private DocumentPersons contributorsJson; |
||
1637 | jmachado | 27 | private 5+0%2Fdocs%2Fapi+Date">Date publishDate; |
28 | private 5+0%2Fdocs%2Fapi+Date">Date closeDate; |
||
1670 | jmachado | 29 | private RepositoryDocumentCollectionImpl collection; |
1728 | jmachado | 30 | private User owner; |
1637 | jmachado | 31 | private Set<RepositoryDocumentFileImpl> repositoryDocumentFiles = new HashSet<RepositoryDocumentFileImpl>(0); |
32 | |||
33 | public RepositoryDocument() { |
||
34 | } |
||
35 | |||
36 | |||
37 | public long getId() { |
||
38 | return this.id; |
||
39 | } |
||
40 | |||
41 | public void setId(long id) { |
||
42 | this.id = id; |
||
43 | } |
||
44 | public 5+0%2Fdocs%2Fapi+Date">Date getUpdateDate() { |
||
45 | return this.updateDate; |
||
46 | } |
||
47 | |||
48 | public void setUpdateDate(5+0%2Fdocs%2Fapi+Date">Date updateDate) { |
||
49 | this.updateDate = updateDate; |
||
50 | } |
||
51 | public 5+0%2Fdocs%2Fapi+Date">Date getSaveDate() { |
||
52 | return this.saveDate; |
||
53 | } |
||
54 | |||
55 | public void setSaveDate(5+0%2Fdocs%2Fapi+Date">Date saveDate) { |
||
56 | this.saveDate = saveDate; |
||
57 | } |
||
58 | public boolean isVisible() { |
||
59 | return this.visible; |
||
60 | } |
||
61 | |||
62 | public void setVisible(boolean visible) { |
||
63 | this.visible = visible; |
||
64 | } |
||
65 | public 1.5.0/docs/api/java/lang/String.html">String getInternalIdentifier() { |
||
66 | return this.internalIdentifier; |
||
67 | } |
||
68 | |||
69 | public void setInternalIdentifier(1.5.0/docs/api/java/lang/String.html">String internalIdentifier) { |
||
70 | this.internalIdentifier = internalIdentifier; |
||
71 | } |
||
72 | public 1.5.0/docs/api/java/lang/String.html">String getTitle() { |
||
73 | return this.title; |
||
74 | } |
||
75 | |||
76 | public void setTitle(1.5.0/docs/api/java/lang/String.html">String title) { |
||
77 | this.title = title; |
||
78 | } |
||
1670 | jmachado | 79 | public 1.5.0/docs/api/java/lang/String.html">String getSubtitle() { |
80 | return this.subtitle; |
||
81 | } |
||
82 | |||
83 | public void setSubtitle(1.5.0/docs/api/java/lang/String.html">String subtitle) { |
||
84 | this.subtitle = subtitle; |
||
85 | } |
||
1637 | jmachado | 86 | public 1.5.0/docs/api/java/lang/String.html">String getDescription() { |
87 | return this.description; |
||
88 | } |
||
89 | |||
90 | public void setDescription(1.5.0/docs/api/java/lang/String.html">String description) { |
||
91 | this.description = description; |
||
92 | } |
||
1670 | jmachado | 93 | public 1.5.0/docs/api/java/lang/String.html">String getPublisher() { |
94 | return this.publisher; |
||
95 | } |
||
96 | |||
97 | public void setPublisher(1.5.0/docs/api/java/lang/String.html">String publisher) { |
||
98 | this.publisher = publisher; |
||
99 | } |
||
100 | public DocumentPersons getAuthorsJson() { |
||
1637 | jmachado | 101 | return this.authorsJson; |
102 | } |
||
103 | |||
1670 | jmachado | 104 | public void setAuthorsJson(DocumentPersons authorsJson) { |
1637 | jmachado | 105 | this.authorsJson = authorsJson; |
106 | } |
||
1670 | jmachado | 107 | public DocumentPersons getContributorsJson() { |
1637 | jmachado | 108 | return this.contributorsJson; |
109 | } |
||
110 | |||
1670 | jmachado | 111 | public void setContributorsJson(DocumentPersons contributorsJson) { |
1637 | jmachado | 112 | this.contributorsJson = contributorsJson; |
113 | } |
||
114 | public 5+0%2Fdocs%2Fapi+Date">Date getPublishDate() { |
||
115 | return this.publishDate; |
||
116 | } |
||
117 | |||
118 | public void setPublishDate(5+0%2Fdocs%2Fapi+Date">Date publishDate) { |
||
119 | this.publishDate = publishDate; |
||
120 | } |
||
121 | public 5+0%2Fdocs%2Fapi+Date">Date getCloseDate() { |
||
122 | return this.closeDate; |
||
123 | } |
||
124 | |||
125 | public void setCloseDate(5+0%2Fdocs%2Fapi+Date">Date closeDate) { |
||
126 | this.closeDate = closeDate; |
||
127 | } |
||
1670 | jmachado | 128 | public RepositoryDocumentCollectionImpl getCollection() { |
129 | return this.collection; |
||
130 | } |
||
131 | |||
132 | public void setCollection(RepositoryDocumentCollectionImpl collection) { |
||
133 | this.collection = collection; |
||
134 | } |
||
1728 | jmachado | 135 | public User getOwner() { |
136 | return this.owner; |
||
137 | } |
||
138 | |||
139 | public void setOwner(User owner) { |
||
140 | this.owner = owner; |
||
141 | } |
||
1637 | jmachado | 142 | public Set<RepositoryDocumentFileImpl> getRepositoryDocumentFiles() { |
143 | return this.repositoryDocumentFiles; |
||
144 | } |
||
145 | |||
146 | public void setRepositoryDocumentFiles(Set<RepositoryDocumentFileImpl> repositoryDocumentFiles) { |
||
147 | this.repositoryDocumentFiles = repositoryDocumentFiles; |
||
148 | } |
||
149 | |||
150 | |||
151 | |||
152 | |||
153 | } |
||
154 | |||
155 |