📄 categorylist.java
字号:
/**
* @(#)tarena.data.CategoryList.java 2008-11-10
* Copy Right Information : Tarena
* Project : xindou
* JDK version used : jdk1.6.4
* Comments : 此处输入简单类说明
* Version : 1.0
* Sr Date Modified By Why & What is modified
* 1. 2008-11-10 小猪 新建
* 2. 2008-11-17 陈达 修改
**/
package tarena.data;
import java.io.Serializable;
import java.util.List;
/**
* 分类及其下级分类
* 2008-11-10
* @author 达内科技[Tarena Training Group]
* @version 1.0
* @since JDK1.6(建议)
* @author Administrator
*/
@SuppressWarnings("serial")
public class CategoryList implements Serializable{
private AbractCategory rootcategory;
private List<CategoryList> childcategory;
public CategoryList(AbractCategory rootcategory,List<CategoryList> childcategory) {
this.rootcategory = rootcategory;
this.childcategory = childcategory;
}
public CategoryList(AbractCategory rootcategory) {
super();
this.rootcategory = rootcategory;
}
public CategoryList() {}
public List<CategoryList> getChildcategory() {
return childcategory;
}
public void setChildcategory(List<CategoryList> childcategory) {
this.childcategory = childcategory;
}
public AbractCategory getRootcategory() {
return rootcategory;
}
public void setRootcategory(AbractCategory rootcategory) {
this.rootcategory = rootcategory;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -