View Javadoc

1   package org.kuali.rice.krms.tree.node;
2   
3   import java.io.Serializable;
4   import java.util.HashMap;
5   import java.util.List;
6   import java.util.Map;
7   
8   /**
9    * Created with IntelliJ IDEA.
10   * User: SW
11   * Date: 2012/12/03
12   * Time: 3:45 PM
13   * To change this template use File | Settings | File Templates.
14   */
15  public class TreeNode implements Serializable {
16  
17      private String key;
18      private String data;
19      private List<String> listItems;
20  
21      public TreeNode(){
22      }
23  
24      public String getKey() {
25          return key;
26      }
27  
28      public void setKey(String key) {
29          this.key = key;
30      }
31  
32      public List<String> getListItems() {
33          return listItems;
34      }
35  
36      public void setListItems(List<String> listItems) {
37          this.listItems = listItems;
38      }
39  
40      public TreeNode(String data){
41          this.data = data;
42      }
43  
44      public String getData() {
45          return data;
46      }
47  
48      public void setData(String data) {
49          this.data = data;
50      }
51  
52  }