?? daofactory.java
字號:
package imis_elec;
public class DAOFactory {
private static DAOFactory instance;
static {
instance = new DAOFactory();
}
private DAOFactory() {
}
public static DAOFactory getInstance() {
return instance;
}
public ElecInfoDAO getElecInfoDAO() {
return new ElecInfoDAOImpl();
}
public ElecMeterInfoDAO getElecMeterInfoDAO() {
return new ElecMeterInfoDAOImpl();
}
public ElecUseInfoDAO getElecUseInfoDAO() {
return new ElecUseInfoDAOImpl();
}
public ElecDevInfoDAO getElecDevInfoDAO() {
return new ElecDevInfoDAOImpl();
}
//zy
public ElecDev_ChkDAO getElecDev_ChkDAO(){
return new ElecDev_ChkDAOImpl();
}
public ElecDev_RepDAO getElecDev_RepDAO(){
return new ElecDev_RepDAOImpl();
}
public ElecDev_TypeDAO getElecDev_TypeDAO(){
return new ElecDev_TypeDAOImpl();
}
public Elec_Fee_infoDAO getElec_Fee_info(){
return new Elec_Fee_infoDAOImpl();
}
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -