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