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.HashSet; |
5 | import java.util.HashSet; |
6 | import java.util.Set; |
6 | import java.util.Set; |
7 | 7 | ||
8 | /** |
8 | /** |
9 | * SurveyQuestion generated by hbm2java |
9 | * SurveyQuestion generated by hbm2java |
10 | */ |
10 | */ |
11 | public abstract class SurveyQuestion extends pt.estgp.estgweb.domain.OwnedDomainObject implements java.io.1.5.0/docs/api/java/io/Serializable.html">Serializable { |
11 | public abstract class SurveyQuestion extends pt.estgp.estgweb.domain.OwnedDomainObject implements java.io.1.5.0/docs/api/java/io/Serializable.html">Serializable { |
12 | 12 | ||
13 | 13 | ||
14 | private long id; |
14 | private long id; |
15 | private 1.5.0/docs/api/java/lang/String.html">String labelpt; |
15 | private 1.5.0/docs/api/java/lang/String.html">String labelpt; |
16 | private 1.5.0/docs/api/java/lang/String.html">String labelen; |
16 | private 1.5.0/docs/api/java/lang/String.html">String labelen; |
17 | private boolean required; |
17 | private boolean required; |
18 | private 1.5.0/docs/api/java/lang/String.html">String type; |
18 | private 1.5.0/docs/api/java/lang/String.html">String type; |
19 | private Survey survey; |
19 | private Survey survey; |
20 | private Set<SurveyQuestionItem> questionItems = new HashSet<SurveyQuestionItem>(0); |
20 | private Set<SurveyQuestionItem> questionItems = new HashSet<SurveyQuestionItem>(0); |
21 | private Set<SurveyStatsGraphic> graphics = new HashSet<SurveyStatsGraphic>(0); |
21 | private Set<SurveyStatsGraphic> graphics = new HashSet<SurveyStatsGraphic>(0); |
22 | 22 | ||
23 | public SurveyQuestion() { |
23 | public SurveyQuestion() { |
24 | } |
24 | } |
25 | 25 | ||
26 | 26 | ||
27 | public long getId() { |
27 | public long getId() { |
28 | return this.id; |
28 | return this.id; |
29 | } |
29 | } |
30 | 30 | ||
31 | public void setId(long id) { |
31 | public void setId(long id) { |
32 | this.id = id; |
32 | this.id = id; |
33 | } |
33 | } |
34 | public 1.5.0/docs/api/java/lang/String.html">String getLabelpt() { |
34 | public 1.5.0/docs/api/java/lang/String.html">String getLabelpt() { |
35 | return this.labelpt; |
35 | return this.labelpt; |
36 | } |
36 | } |
37 | 37 | ||
38 | public void setLabelpt(1.5.0/docs/api/java/lang/String.html">String labelpt) { |
38 | public void setLabelpt(1.5.0/docs/api/java/lang/String.html">String labelpt) { |
39 | this.labelpt = labelpt; |
39 | this.labelpt = labelpt; |
40 | } |
40 | } |
41 | public 1.5.0/docs/api/java/lang/String.html">String getLabelen() { |
41 | public 1.5.0/docs/api/java/lang/String.html">String getLabelen() { |
42 | return this.labelen; |
42 | return this.labelen; |
43 | } |
43 | } |
44 | 44 | ||
45 | public void setLabelen(1.5.0/docs/api/java/lang/String.html">String labelen) { |
45 | public void setLabelen(1.5.0/docs/api/java/lang/String.html">String labelen) { |
46 | this.labelen = labelen; |
46 | this.labelen = labelen; |
47 | } |
47 | } |
48 | public boolean isRequired() { |
48 | public boolean isRequired() { |
49 | return this.required; |
49 | return this.required; |
50 | } |
50 | } |
51 | 51 | ||
52 | public void setRequired(boolean required) { |
52 | public void setRequired(boolean required) { |
53 | this.required = required; |
53 | this.required = required; |
54 | } |
54 | } |
55 | public 1.5.0/docs/api/java/lang/String.html">String getType() { |
55 | public 1.5.0/docs/api/java/lang/String.html">String getType() { |
56 | return this.type; |
56 | return this.type; |
57 | } |
57 | } |
58 | 58 | ||
59 | public void setType(1.5.0/docs/api/java/lang/String.html">String type) { |
59 | public void setType(1.5.0/docs/api/java/lang/String.html">String type) { |
60 | this.type = type; |
60 | this.type = type; |
61 | } |
61 | } |
62 | public Survey getSurvey() { |
62 | public Survey getSurvey() { |
63 | return this.survey; |
63 | return this.survey; |
64 | } |
64 | } |
65 | 65 | ||
66 | public void setSurvey(Survey survey) { |
66 | public void setSurvey(Survey survey) { |
67 | this.survey = survey; |
67 | this.survey = survey; |
68 | } |
68 | } |
69 | public Set<SurveyQuestionItem> getQuestionItems() { |
69 | public Set<SurveyQuestionItem> getQuestionItems() { |
70 | return this.questionItems; |
70 | return this.questionItems; |
71 | } |
71 | } |
72 | 72 | ||
73 | public void setQuestionItems(Set<SurveyQuestionItem> questionItems) { |
73 | public void setQuestionItems(Set<SurveyQuestionItem> questionItems) { |
74 | this.questionItems = questionItems; |
74 | this.questionItems = questionItems; |
75 | } |
75 | } |
76 | public Set<SurveyStatsGraphic> getGraphics() { |
76 | public Set<SurveyStatsGraphic> getGraphics() { |
77 | return this.graphics; |
77 | return this.graphics; |
78 | } |
78 | } |
79 | 79 | ||
80 | public void setGraphics(Set<SurveyStatsGraphic> graphics) { |
80 | public void setGraphics(Set<SurveyStatsGraphic> graphics) { |
81 | this.graphics = graphics; |
81 | this.graphics = graphics; |
82 | } |
82 | } |
83 | 83 | ||
84 | 84 | ||
85 | 85 | ||
86 | 86 | ||
87 | } |
87 | } |
88 | 88 | ||
89 | 89 | ||
90 | 90 |