【Java开源代码栏目提醒】:网学会员,鉴于大家对Java开源代码十分关注,论文会员在此为大家搜集整理了“CategoryBook.java”一文,供大家参考学习!
package com.wxpn.tutorial.ec.bean;
/**
* 描述: 描述书籍类别类
*
* @Copyright (c) 2005-2008 Wang Xining
* @author 王夕宁
* @version 1.0
*/
public class CategoryBook {
private int countA;
private int countB;
private int countC;
public int getCountA() {
ECBookMgr mgr = new ECBookMgr();
return mgr.getCount("where category=1");
}
public void setCountA(int countA) {
this.countA = countA;
}
public int getCountB() {
ECBookMgr mgr = new ECBookMgr();
return mgr.getCount("where category=2");
}
public void setCountB(int countB) {
this.countB = countB;
}
public int getCountC() {
ECBookMgr mgr = new ECBookMgr();
return mgr.getCount("where category=3");
}
public void setCountC(int countC) {
this.countC = countC;
}
}
上一篇:
CategoryBean.java
下一篇:
产品定价因素分析MBA论文:以印度移动应用程序定价分析为例