View Javadoc

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 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  }