1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package org.kuali.rice.krms.tree.node;
17
18 import java.io.Serializable;
19 import java.util.HashMap;
20 import java.util.List;
21 import java.util.Map;
22
23
24
25
26 public class TreeNode implements Serializable {
27
28 private String key;
29 private String data;
30 private boolean compound;
31
32 public TreeNode(){
33 }
34
35 public TreeNode(String data){
36 this.data = data;
37 }
38
39 public String getKey() {
40 return key;
41 }
42
43 public void setKey(String key) {
44 this.key = key;
45 }
46
47 public String getData() {
48 return data;
49 }
50
51 public void setData(String data) {
52 this.data = data;
53 }
54
55 public boolean isCompound() {
56 return compound;
57 }
58
59 public void setCompound(boolean compound) {
60 this.compound = compound;
61 }
62
63 }