1
2
3
4 package sk.stuba.fiit.foo07.genex.beans;
5
6
7
8
9
10 public class QuestionPoints {
11 private Integer questionId;
12 private Float points;
13
14 public QuestionPoints() {
15 }
16
17 public QuestionPoints(Integer questionId, Float points) {
18 super();
19 this.questionId = questionId;
20 this.points = points;
21 }
22
23
24
25
26 public Integer getQuestionId() {
27 return questionId;
28 }
29
30
31
32
33
34 public void setQuestionId(Integer questionId) {
35 this.questionId = questionId;
36 }
37
38
39
40
41 public Float getPoints() {
42 return points;
43 }
44
45
46
47
48
49 public void setPoints(Float points) {
50 this.points = points;
51 }
52
53
54
55
56 @Override
57 public String toString() {
58 return this.points.toString();
59 }
60
61 }