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