📄 caitypeaction.java
字号:
package com.waimai.web;
import com.waimai.dao.Dao;
import com.waimai.dao.TWmCaitypeDAO;
import com.waimai.domain.BaseDomain;
import com.waimai.domain.TWmCaitype;
/**
* 描述:
*
* @author Stone yang 创建日期:2007-5-12
* @version pattern Study 技术支持: <a
* href="http://blog.csdn.net/yq76034150">http://blog.csdn.net/yq76034150</a>
*/
public class CaiTypeAction extends AbstractCRUDAction {
protected TWmCaitypeDAO caitypeDAO;
protected TWmCaitype caitype;
/**
* 描述 return 返回 caitype。
*
* @author Stone yang
* @date 2007-5-12
*/
public TWmCaitype getCaitype() {
return caitype;
}
/**
* 描述:设置caitype的值。
*
* @param caitype
* @author Stone yang
* @date 2007-5-12
*/
public void setCaitype(TWmCaitype caitype) {
this.caitype = caitype;
}
/**
* 描述 return 返回 caitypeDAO。
*
* @author Stone yang
* @date 2007-5-12
*/
public TWmCaitypeDAO getCaitypeDAO() {
return caitypeDAO;
}
/**
* 描述:设置caitypeDAO的值。
*
* @param caitypeDAO
* @author Stone yang
* @date 2007-5-12
*/
public void setCaitypeDAO(TWmCaitypeDAO caitypeDAO) {
this.caitypeDAO = caitypeDAO;
}
@SuppressWarnings("unchecked")
public String list() {
super.baseDomainColl = getDao().findByExample(new TWmCaitype());
return SUCCESS;
}
/**
* 描述:
*
* @author Stone yang
* @see com.waimai.web.AbstractCRUDAction#getBaseDomain()
*/
@Override
protected BaseDomain getBaseDomain() {
// TODO 自动生成方法存根
return caitype;
}
/**
* 描述:
*
* @author Stone yang
* @see com.waimai.web.AbstractCRUDAction#getDao()
*/
@Override
protected Dao getDao() {
// TODO 自动生成方法存根
return caitypeDAO;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -