ext树菜单实体类
2015-11-06 15:51
134 查看
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; } }
相关文章推荐
- 上传iOS项目到CocoaPods
- shell脚本案例分析
- GTK重拾--00
- SAP和Oracle的对比
- MySQL 架构选型
- 《编程珠玑》第二章问题C:找出相同的英文单词(单词改变顺序可以互相转化即为相同)
- C语言可变参数
- Mac OS X启动项详解
- Template Method模式
- c语言学习之基础知识点介绍(十七):写入读取结构体、数组、结构体数组
- Android: 帮助找出内存泄漏的工具
- LintCode "Kth Smallest Number in Sorted Matrix"
- makefile老是报“recipe for target xxx”错误,不妨先看看编码是否正确
- Android Studio插件-Android Butterknife Zelezny
- 洗牌算法
- 图像处理和图像识别中常用到的OpenCV函数
- Mapreduce不设置reduce,只执行map的输出结果
- ext,exrReturn新增,修改删除等用
- 快速开发平台为树型部件添加图标
- AES加密算法之轮密钥加操作