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 List<Object> listItems;
031
032    public TreeNode(){
033    }
034
035    public String getKey() {
036        return key;
037    }
038
039    public void setKey(String key) {
040        this.key = key;
041    }
042
043    public List<Object> getListItems() {
044        return listItems;
045    }
046
047    public void setListItems(List<Object> listItems) {
048        this.listItems = listItems;
049    }
050
051    public TreeNode(String data){
052        this.data = data;
053    }
054
055    public String getData() {
056        return data;
057    }
058
059    public void setData(String data) {
060        this.data = data;
061    }
062
063}