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