?? 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 陳達(dá) 修改
**/
package com.shop.data;
import java.io.Serializable;
import java.util.List;
/**
* 分類及其下級分類
* 2008-11-10
* @author 達(dá)內(nèi)科技[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;
}
}
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -