package com.tenwa.orginfo; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; public class ETreeItem { private String id; private String pid; private String text; private Listchilren=new ArrayList(); private String iconCls; private Mapattributes=new HashMap(); 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 List getChilren() { return chilren; } public void setChilren(List chilren) { this.chilren = chilren; } public String getIconCls() { return iconCls; } public void setIconCls(String iconCls) { this.iconCls = iconCls; } public Map getAttributes() { return attributes; } public void setAttributes(Map attributes) { this.attributes = attributes; } public String getPid() { return pid; } public void setPid(String pid) { this.pid = pid; } public ETreeItem(String id,String pid, String text,String iconCls, Map attributes) { this.id = id; this.pid=pid; this.text = text; this.chilren = chilren; this.iconCls = iconCls; this.attributes = attributes; } public void addChildern(ETreeItem item){ this.chilren.add(item); } }