View Javadoc

1   /**
2    * 
3    */
4   package sk.stuba.fiit.foo07.genex.beans;
5   
6   /**
7    * @author Martin
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       * @return the questionId
25       */
26      public Integer getQuestionId() {
27          return questionId;
28      }
29  
30      /**
31       * @param questionId
32       *                the questionId to set
33       */
34      public void setQuestionId(Integer questionId) {
35          this.questionId = questionId;
36      }
37  
38      /**
39       * @return the points
40       */
41      public Float getPoints() {
42          return points;
43      }
44  
45      /**
46       * @param points
47       *                the points to set
48       */
49      public void setPoints(Float points) {
50          this.points = points;
51      }
52  
53      /* (non-Javadoc)
54       * @see java.lang.Object#toString()
55       */
56      @Override
57      public String toString() {
58          return this.points.toString();
59      }
60  
61  }