Rev 1910 | Rev 1917 | Go to most recent revision | Only display areas with differences | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1910 | Rev 1915 | ||
---|---|---|---|
1 | package pt.estgp.estgweb.domain; |
1 | package pt.estgp.estgweb.domain; |
2 | // Generated 11/dez/2017 14:53:26 by Hibernate Tools 3.2.0.b9 |
2 | // Generated 13/dez/2017 16:54:32 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 | 8 | ||
9 | /** |
9 | /** |
10 | * Survey generated by hbm2java |
10 | * Survey generated by hbm2java |
11 | */ |
11 | */ |
12 | public abstract class Survey extends pt.estgp.estgweb.domain.OwnedDomainObject implements java.io.1.5.0/docs/api/java/io/Serializable.html">Serializable { |
12 | public abstract class Survey extends pt.estgp.estgweb.domain.OwnedDomainObject implements java.io.1.5.0/docs/api/java/io/Serializable.html">Serializable { |
13 | 13 | ||
14 | 14 | ||
15 | private long id; |
15 | private long id; |
16 | private 5+0%2Fdocs%2Fapi+Date">Date updateDate; |
16 | private 5+0%2Fdocs%2Fapi+Date">Date updateDate; |
17 | private 1.5.0/docs/api/java/lang/String.html">String title; |
17 | private 1.5.0/docs/api/java/lang/String.html">String title; |
18 | private 5+0%2Fdocs%2Fapi+Date">Date saveDate; |
18 | private 5+0%2Fdocs%2Fapi+Date">Date saveDate; |
19 | private 5+0%2Fdocs%2Fapi+Date">Date startDate; |
19 | private 5+0%2Fdocs%2Fapi+Date">Date startDate; |
20 | private 5+0%2Fdocs%2Fapi+Date">Date endDate; |
20 | private 5+0%2Fdocs%2Fapi+Date">Date endDate; |
21 | private 1.5.0/docs/api/java/lang/String.html">String type; |
21 | private 1.5.0/docs/api/java/lang/String.html">String type; |
22 | private 1.5.0/docs/api/java/lang/String.html">String targetRoles; |
22 | private 1.5.0/docs/api/java/lang/String.html">String targetRoles; |
23 | private 1.5.0/docs/api/java/lang/String.html">String statsConsultRoles; |
23 | private 1.5.0/docs/api/java/lang/String.html">String statsConsultRoles; |
24 | private 1.5.0/docs/api/java/lang/String.html">String year; |
24 | private 1.5.0/docs/api/java/lang/String.html">String year; |
25 | private 1.5.0/docs/api/java/lang/String.html">String semester; |
25 | private 1.5.0/docs/api/java/lang/String.html">String semester; |
26 | private int statusPercentage; |
26 | private int statusPercentage; |
27 | private 1.5.0/docs/api/java/lang/String.html">String status; |
27 | private 1.5.0/docs/api/java/lang/String.html">String status; |
28 | private 1.5.0/docs/api/java/lang/String.html">String identifier; |
28 | private 1.5.0/docs/api/java/lang/String.html">String identifier; |
29 | private GenericUser owner; |
29 | private GenericUser owner; |
30 | private SurveyStructuralNode structuralNode; |
30 | private SurveyStructuralNode structuralNode; |
31 | private Set<SurveyQuestion> questions = new HashSet<SurveyQuestion>(0); |
31 | private Set<SurveyQuestion> questions = new HashSet<SurveyQuestion>(0); |
32 | 32 | ||
33 | public Survey() { |
33 | public Survey() { |
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 1.5.0/docs/api/java/lang/String.html">String getTitle() { |
51 | public 1.5.0/docs/api/java/lang/String.html">String getTitle() { |
52 | return this.title; |
52 | return this.title; |
53 | } |
53 | } |
54 | 54 | ||
55 | public void setTitle(1.5.0/docs/api/java/lang/String.html">String title) { |
55 | public void setTitle(1.5.0/docs/api/java/lang/String.html">String title) { |
56 | this.title = title; |
56 | this.title = title; |
57 | } |
57 | } |
58 | public 5+0%2Fdocs%2Fapi+Date">Date getSaveDate() { |
58 | public 5+0%2Fdocs%2Fapi+Date">Date getSaveDate() { |
59 | return this.saveDate; |
59 | return this.saveDate; |
60 | } |
60 | } |
61 | 61 | ||
62 | public void setSaveDate(5+0%2Fdocs%2Fapi+Date">Date saveDate) { |
62 | public void setSaveDate(5+0%2Fdocs%2Fapi+Date">Date saveDate) { |
63 | this.saveDate = saveDate; |
63 | this.saveDate = saveDate; |
64 | } |
64 | } |
65 | public 5+0%2Fdocs%2Fapi+Date">Date getStartDate() { |
65 | public 5+0%2Fdocs%2Fapi+Date">Date getStartDate() { |
66 | return this.startDate; |
66 | return this.startDate; |
67 | } |
67 | } |
68 | 68 | ||
69 | public void setStartDate(5+0%2Fdocs%2Fapi+Date">Date startDate) { |
69 | public void setStartDate(5+0%2Fdocs%2Fapi+Date">Date startDate) { |
70 | this.startDate = startDate; |
70 | this.startDate = startDate; |
71 | } |
71 | } |
72 | public 5+0%2Fdocs%2Fapi+Date">Date getEndDate() { |
72 | public 5+0%2Fdocs%2Fapi+Date">Date getEndDate() { |
73 | return this.endDate; |
73 | return this.endDate; |
74 | } |
74 | } |
75 | 75 | ||
76 | public void setEndDate(5+0%2Fdocs%2Fapi+Date">Date endDate) { |
76 | public void setEndDate(5+0%2Fdocs%2Fapi+Date">Date endDate) { |
77 | this.endDate = endDate; |
77 | this.endDate = endDate; |
78 | } |
78 | } |
79 | public 1.5.0/docs/api/java/lang/String.html">String getType() { |
79 | public 1.5.0/docs/api/java/lang/String.html">String getType() { |
80 | return this.type; |
80 | return this.type; |
81 | } |
81 | } |
82 | 82 | ||
83 | public void setType(1.5.0/docs/api/java/lang/String.html">String type) { |
83 | public void setType(1.5.0/docs/api/java/lang/String.html">String type) { |
84 | this.type = type; |
84 | this.type = type; |
85 | } |
85 | } |
86 | public 1.5.0/docs/api/java/lang/String.html">String getTargetRoles() { |
86 | public 1.5.0/docs/api/java/lang/String.html">String getTargetRoles() { |
87 | return this.targetRoles; |
87 | return this.targetRoles; |
88 | } |
88 | } |
89 | 89 | ||
90 | public void setTargetRoles(1.5.0/docs/api/java/lang/String.html">String targetRoles) { |
90 | public void setTargetRoles(1.5.0/docs/api/java/lang/String.html">String targetRoles) { |
91 | this.targetRoles = targetRoles; |
91 | this.targetRoles = targetRoles; |
92 | } |
92 | } |
93 | public 1.5.0/docs/api/java/lang/String.html">String getStatsConsultRoles() { |
93 | public 1.5.0/docs/api/java/lang/String.html">String getStatsConsultRoles() { |
94 | return this.statsConsultRoles; |
94 | return this.statsConsultRoles; |
95 | } |
95 | } |
96 | 96 | ||
97 | public void setStatsConsultRoles(1.5.0/docs/api/java/lang/String.html">String statsConsultRoles) { |
97 | public void setStatsConsultRoles(1.5.0/docs/api/java/lang/String.html">String statsConsultRoles) { |
98 | this.statsConsultRoles = statsConsultRoles; |
98 | this.statsConsultRoles = statsConsultRoles; |
99 | } |
99 | } |
100 | public 1.5.0/docs/api/java/lang/String.html">String getYear() { |
100 | public 1.5.0/docs/api/java/lang/String.html">String getYear() { |
101 | return this.year; |
101 | return this.year; |
102 | } |
102 | } |
103 | 103 | ||
104 | public void setYear(1.5.0/docs/api/java/lang/String.html">String year) { |
104 | public void setYear(1.5.0/docs/api/java/lang/String.html">String year) { |
105 | this.year = year; |
105 | this.year = year; |
106 | } |
106 | } |
107 | public 1.5.0/docs/api/java/lang/String.html">String getSemester() { |
107 | public 1.5.0/docs/api/java/lang/String.html">String getSemester() { |
108 | return this.semester; |
108 | return this.semester; |
109 | } |
109 | } |
110 | 110 | ||
111 | public void setSemester(1.5.0/docs/api/java/lang/String.html">String semester) { |
111 | public void setSemester(1.5.0/docs/api/java/lang/String.html">String semester) { |
112 | this.semester = semester; |
112 | this.semester = semester; |
113 | } |
113 | } |
114 | public int getStatusPercentage() { |
114 | public int getStatusPercentage() { |
115 | return this.statusPercentage; |
115 | return this.statusPercentage; |
116 | } |
116 | } |
117 | 117 | ||
118 | public void setStatusPercentage(int statusPercentage) { |
118 | public void setStatusPercentage(int statusPercentage) { |
119 | this.statusPercentage = statusPercentage; |
119 | this.statusPercentage = statusPercentage; |
120 | } |
120 | } |
121 | public 1.5.0/docs/api/java/lang/String.html">String getStatus() { |
121 | public 1.5.0/docs/api/java/lang/String.html">String getStatus() { |
122 | return this.status; |
122 | return this.status; |
123 | } |
123 | } |
124 | 124 | ||
125 | public void setStatus(1.5.0/docs/api/java/lang/String.html">String status) { |
125 | public void setStatus(1.5.0/docs/api/java/lang/String.html">String status) { |
126 | this.status = status; |
126 | this.status = status; |
127 | } |
127 | } |
128 | public 1.5.0/docs/api/java/lang/String.html">String getIdentifier() { |
128 | public 1.5.0/docs/api/java/lang/String.html">String getIdentifier() { |
129 | return this.identifier; |
129 | return this.identifier; |
130 | } |
130 | } |
131 | 131 | ||
132 | public void setIdentifier(1.5.0/docs/api/java/lang/String.html">String identifier) { |
132 | public void setIdentifier(1.5.0/docs/api/java/lang/String.html">String identifier) { |
133 | this.identifier = identifier; |
133 | this.identifier = identifier; |
134 | } |
134 | } |
135 | public GenericUser getOwner() { |
135 | public GenericUser getOwner() { |
136 | return this.owner; |
136 | return this.owner; |
137 | } |
137 | } |
138 | 138 | ||
139 | public void setOwner(GenericUser owner) { |
139 | public void setOwner(GenericUser owner) { |
140 | this.owner = owner; |
140 | this.owner = owner; |
141 | } |
141 | } |
142 | public SurveyStructuralNode getStructuralNode() { |
142 | public SurveyStructuralNode getStructuralNode() { |
143 | return this.structuralNode; |
143 | return this.structuralNode; |
144 | } |
144 | } |
145 | 145 | ||
146 | public void setStructuralNode(SurveyStructuralNode structuralNode) { |
146 | public void setStructuralNode(SurveyStructuralNode structuralNode) { |
147 | this.structuralNode = structuralNode; |
147 | this.structuralNode = structuralNode; |
148 | } |
148 | } |
149 | public Set<SurveyQuestion> getQuestions() { |
149 | public Set<SurveyQuestion> getQuestions() { |
150 | return this.questions; |
150 | return this.questions; |
151 | } |
151 | } |
152 | 152 | ||
153 | public void setQuestions(Set<SurveyQuestion> questions) { |
153 | public void setQuestions(Set<SurveyQuestion> questions) { |
154 | this.questions = questions; |
154 | this.questions = questions; |
155 | } |
155 | } |
156 | 156 | ||
157 | 157 | ||
158 | 158 | ||
159 | 159 | ||
160 | } |
160 | } |
161 | 161 | ||
162 | 162 | ||
163 | 163 |