Debian Codegraph @

metastudentPkg/lib/groupB/pp2/components/GO.java

raw
1 package pp2.components;
2
3 public class GO {
4
5 private String id;
6 private String description;
7
8 public GO(String id) {
9 this.id = id;
10 }
11
12 public String getId() {
13 return id;
14 }
15
16 public String getDescription() {
17 return description;
18 }
19
20 public void setDescription(String description) {
21 this.description = description;
22 }
23
24 @Override
25 public String toString() {
26 return id;
27 }
28
29
30 }