TreeNode.java
资源名称:EXT_study.rar [点击查看]
上传用户:zaktkj
上传日期:2022-08-08
资源大小:5770k
文件大小:1k
源码类别:
JavaScript
开发平台:
JavaScript
- package dwr;
- /**
- * 树节点对应的pojo.
- * @author Lingo
- */
- public class TreeNode {
- private String id;
- private String text;
- private boolean leaf;
- public TreeNode() {
- }
- public TreeNode(String id, String text, boolean leaf) {
- this.id = id;
- this.text = text;
- this.leaf = leaf;
- }
- 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 getLeaf() {
- return leaf;
- }
- public void setLeaf(boolean leaf) {
- this.leaf = leaf;
- }
- }