1
2
3
4
5
6
7
8
9
10
11
12
13
14
15 package org.kuali.mobility.shared.entity;
16
17
18
19
20
21 public class ToolMessage {
22 private ToolMessageType type;
23 private String label;
24 private String description;
25
26 public String getLabel(){
27 return label;
28 }
29
30 public void setLabel(String l) {
31 label = l;
32 }
33
34 public String getDescription() {
35 return description;
36 }
37
38 public void setDescription(String d) {
39 description = d;
40 }
41
42 public int getTypeCode() {
43 if (null!=getType())
44 return getType().getCode();
45 else {
46 return -1;
47 }
48 }
49
50 public void setType(ToolMessageType t) {
51 type = t;
52 }
53
54
55
56
57 public ToolMessageType getType() {
58 return type;
59 }
60
61 }