001/** 002 * Copyright 2005-2013 The Kuali Foundation 003 * 004 * Licensed under the Educational Community License, Version 2.0 (the "License"); 005 * you may not use this file except in compliance with the License. 006 * You may obtain a copy of the License at 007 * 008 * http://www.opensource.org/licenses/ecl2.php 009 * 010 * Unless required by applicable law or agreed to in writing, software 011 * distributed under the License is distributed on an "AS IS" BASIS, 012 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 013 * See the License for the specific language governing permissions and 014 * limitations under the License. 015 */ 016package org.kuali.rice.krms.tree.node; 017 018import java.io.Serializable; 019import java.util.HashMap; 020import java.util.List; 021import java.util.Map; 022 023/** 024 * @author Kuali Student Team 025 */ 026public class TreeNode implements Serializable { 027 028 private String key; 029 private String data; 030 private boolean compound; 031 032 public TreeNode(){ 033 } 034 035 public TreeNode(String data){ 036 this.data = data; 037 } 038 039 public String getKey() { 040 return key; 041 } 042 043 public void setKey(String key) { 044 this.key = key; 045 } 046 047 public String getData() { 048 return data; 049 } 050 051 public void setData(String data) { 052 this.data = data; 053 } 054 055 public boolean isCompound() { 056 return compound; 057 } 058 059 public void setCompound(boolean compound) { 060 this.compound = compound; 061 } 062 063}