1 /**
2 * Copyright 2005-2013 The Kuali Foundation
3 *
4 * Licensed under the Educational Community License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.opensource.org/licenses/ecl2.php
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
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 * @author Kuali Student Team
25 */
26 public class TreeNode implements Serializable {
27
28 private String key;
29 private String data;
30 private List<Object> listItems;
31
32 public TreeNode(){
33 }
34
35 public String getKey() {
36 return key;
37 }
38
39 public void setKey(String key) {
40 this.key = key;
41 }
42
43 public List<Object> getListItems() {
44 return listItems;
45 }
46
47 public void setListItems(List<Object> listItems) {
48 this.listItems = listItems;
49 }
50
51 public TreeNode(String data){
52 this.data = data;
53 }
54
55 public String getData() {
56 return data;
57 }
58
59 public void setData(String data) {
60 this.data = data;
61 }
62
63 }