Rev 1926 | Only display areas with differences | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1926 | Rev 1984 | ||
---|---|---|---|
1 | package pt.estgp.estgweb.domain; |
1 | package pt.estgp.estgweb.domain; |
2 | // Generated 1/jan/2018 17:00:11 by Hibernate Tools 3.2.0.b9 |
2 | // Generated 29/jan/2018 12:57:33 by Hibernate Tools 3.2.0.b9 |
3 | 3 | ||
4 | 4 | ||
5 | import java.util.Date; |
5 | import java.util.Date; |
6 | 6 | ||
7 | /** |
7 | /** |
8 | * CourseUnitQuestion generated by hbm2java |
8 | * CourseUnitQuestion generated by hbm2java |
9 | */ |
9 | */ |
10 | public abstract class CourseUnitQuestion extends pt.estgp.estgweb.domain.OwnedDomainObject implements java.io.1.5.0/docs/api/java/io/Serializable.html">Serializable { |
10 | public abstract class CourseUnitQuestion extends pt.estgp.estgweb.domain.OwnedDomainObject implements java.io.1.5.0/docs/api/java/io/Serializable.html">Serializable { |
11 | 11 | ||
12 | 12 | ||
13 | private long id; |
13 | private long id; |
14 | private 5+0%2Fdocs%2Fapi+Date">Date updateDate; |
14 | private 5+0%2Fdocs%2Fapi+Date">Date updateDate; |
15 | private 5+0%2Fdocs%2Fapi+Date">Date saveDate; |
15 | private 5+0%2Fdocs%2Fapi+Date">Date saveDate; |
16 | private 1.5.0/docs/api/java/lang/String.html">String question; |
16 | private 1.5.0/docs/api/java/lang/String.html">String question; |
17 | private 1.5.0/docs/api/java/lang/String.html">String answer; |
17 | private 1.5.0/docs/api/java/lang/String.html">String answer; |
18 | private boolean answred; |
18 | private boolean answred; |
19 | private GenericUser owner; |
19 | private GenericUser owner; |
20 | private CourseUnit courseUnit; |
20 | private CourseUnit courseUnit; |
21 | 21 | ||
22 | public CourseUnitQuestion() { |
22 | public CourseUnitQuestion() { |
23 | } |
23 | } |
24 | 24 | ||
25 | 25 | ||
26 | public long getId() { |
26 | public long getId() { |
27 | return this.id; |
27 | return this.id; |
28 | } |
28 | } |
29 | 29 | ||
30 | public void setId(long id) { |
30 | public void setId(long id) { |
31 | this.id = id; |
31 | this.id = id; |
32 | } |
32 | } |
33 | public 5+0%2Fdocs%2Fapi+Date">Date getUpdateDate() { |
33 | public 5+0%2Fdocs%2Fapi+Date">Date getUpdateDate() { |
34 | return this.updateDate; |
34 | return this.updateDate; |
35 | } |
35 | } |
36 | 36 | ||
37 | public void setUpdateDate(5+0%2Fdocs%2Fapi+Date">Date updateDate) { |
37 | public void setUpdateDate(5+0%2Fdocs%2Fapi+Date">Date updateDate) { |
38 | this.updateDate = updateDate; |
38 | this.updateDate = updateDate; |
39 | } |
39 | } |
40 | public 5+0%2Fdocs%2Fapi+Date">Date getSaveDate() { |
40 | public 5+0%2Fdocs%2Fapi+Date">Date getSaveDate() { |
41 | return this.saveDate; |
41 | return this.saveDate; |
42 | } |
42 | } |
43 | 43 | ||
44 | public void setSaveDate(5+0%2Fdocs%2Fapi+Date">Date saveDate) { |
44 | public void setSaveDate(5+0%2Fdocs%2Fapi+Date">Date saveDate) { |
45 | this.saveDate = saveDate; |
45 | this.saveDate = saveDate; |
46 | } |
46 | } |
47 | public 1.5.0/docs/api/java/lang/String.html">String getQuestion() { |
47 | public 1.5.0/docs/api/java/lang/String.html">String getQuestion() { |
48 | return this.question; |
48 | return this.question; |
49 | } |
49 | } |
50 | 50 | ||
51 | public void setQuestion(1.5.0/docs/api/java/lang/String.html">String question) { |
51 | public void setQuestion(1.5.0/docs/api/java/lang/String.html">String question) { |
52 | this.question = question; |
52 | this.question = question; |
53 | } |
53 | } |
54 | public 1.5.0/docs/api/java/lang/String.html">String getAnswer() { |
54 | public 1.5.0/docs/api/java/lang/String.html">String getAnswer() { |
55 | return this.answer; |
55 | return this.answer; |
56 | } |
56 | } |
57 | 57 | ||
58 | public void setAnswer(1.5.0/docs/api/java/lang/String.html">String answer) { |
58 | public void setAnswer(1.5.0/docs/api/java/lang/String.html">String answer) { |
59 | this.answer = answer; |
59 | this.answer = answer; |
60 | } |
60 | } |
61 | public boolean isAnswred() { |
61 | public boolean isAnswred() { |
62 | return this.answred; |
62 | return this.answred; |
63 | } |
63 | } |
64 | 64 | ||
65 | public void setAnswred(boolean answred) { |
65 | public void setAnswred(boolean answred) { |
66 | this.answred = answred; |
66 | this.answred = answred; |
67 | } |
67 | } |
68 | public GenericUser getOwner() { |
68 | public GenericUser getOwner() { |
69 | return this.owner; |
69 | return this.owner; |
70 | } |
70 | } |
71 | 71 | ||
72 | public void setOwner(GenericUser owner) { |
72 | public void setOwner(GenericUser owner) { |
73 | this.owner = owner; |
73 | this.owner = owner; |
74 | } |
74 | } |
75 | public CourseUnit getCourseUnit() { |
75 | public CourseUnit getCourseUnit() { |
76 | return this.courseUnit; |
76 | return this.courseUnit; |
77 | } |
77 | } |
78 | 78 | ||
79 | public void setCourseUnit(CourseUnit courseUnit) { |
79 | public void setCourseUnit(CourseUnit courseUnit) { |
80 | this.courseUnit = courseUnit; |
80 | this.courseUnit = courseUnit; |
81 | } |
81 | } |
82 | 82 | ||
83 | 83 | ||
84 | 84 | ||
85 | 85 | ||
86 | } |
86 | } |
87 | 87 | ||
88 | 88 | ||
89 | 89 |