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 private List<Object> listItems;
32
33 public TreeNode(){
34 }
35
36 public TreeNode(String data){
37 this.data = data;
38 }
39
40 public String getKey() {
41 return key;
42 }
43
44 public void setKey(String key) {
45 this.key = key;
46 }
47
48 public String getData() {
49 return data;
50 }
51
52 public void setData(String data) {
53 this.data = data;
54 }
55
56 public boolean isCompound() {
57 return compound;
58 }
59
60 public void setCompound(boolean compound) {
61 this.compound = compound;
62 }
63
64 public List<Object> getListItems() {
65 return listItems;
66 }
67
68 public void setListItems(List<Object> listItems) {
69 this.listItems = listItems;
70 }
71
72 }