/** * Copyright (c)2010-2011 Enterprise Website Content Management System(EWCMS), All rights reserved. * EWCMS PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. * http://www.ewcms.com */ package com.ewcms.web.vo; import java.io.Serializable; import java.util.HashMap; import java.util.List; import java.util.Map; /** * @author 周冬初 * */ public class TreeNode implements Serializable { private static final long serialVersionUID = 6652145500923857612L; private String id; private String text; private Boolean checked = false; private String iconCls = "icon-channel-site"; private List<TreeNode> children; private String state; private Map<String, String> attributes = new HashMap<String, String>(); public String getId() { return id; } public void setId(String id) { this.id = id; } public String getText() { return text; } public void setText(String text) { this.text = text; } public Boolean getChecked() { return checked; } public void setChecked(Boolean checked) { this.checked = checked; } public List<TreeNode> getChildren() { return children; } public void setChildren(List<TreeNode> children) { this.children = children; } public String getIconCls() { return iconCls; } public void setIconCls(String iconCls) { this.iconCls = iconCls; } public String getState() { return state; } public void setState(String state) { this.state = state; } public Map<String, String> getAttributes() { return attributes; } public void setAttributes(Map<String, String> attributes) { this.attributes = attributes; } }