ext树菜单实体类
package cn.edu.hbcf.common.vo; import java.util.ArrayList; import java.util.List; /** * ext树菜单 * * @author * @date 2012-02-24 19:06:00 * */ public class Tree { private String id; private String name; private String text; private String iconCls; private boolean expanded; private boolean leaf; private String url; private List<Tree> children; private int appId; public Tree(){ } public Tree(String id,String text){ this.id = id; this.text = text; } public Tree(String id,String text,boolean leaf){ this.id = id; this.text = text; this.leaf = leaf; if(!leaf){ children = new ArrayList<Tree>(); } } public int getAppId() { return appId; } public void setAppId(int appId) { this.appId = appId; } public String getId() { return id; } public void setId(String id) { this.id = id; } public String getName() { return name; } public void setName(String name) { this.name = name; } public String getText() { return text; } public void setText(String text) { this.text = text; } public String getIconCls() { return iconCls; } public void setIconCls(String iconCls) { this.iconCls = iconCls; } public boolean getExpanded() { return expanded; } public void setExpanded(boolean expanded) { this.expanded = expanded; } public boolean getLeaf() { return leaf; } public void setLeaf(boolean leaf) { this.leaf = leaf; } public String getUrl() { return url; } public void setUrl(String url) { this.url = url; } public List<Tree> getChildren() { return children; } public void setChildren(List<Tree> children) { this.children = children; } }