📄 baseform.java
字号:
package com.pegasus.framework.form;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.apache.struts.validator.ValidatorForm;
import com.pegasus.framework.pojo.IBusinessObject;
public class BaseForm extends ValidatorForm {
protected final Log logger = LogFactory.getLog(this.getClass());
public final static String VIEW_STR = "view";
public final static String CREATE_STR = "create";
public final static String EDIT_STR = "edit";
public final static String DELETE_STR = "delete";
public final static String SAVE_STR = "save";
protected IBusinessObject bo;
private String actionType;
public BaseForm() {
super();
}
/**
* @return Returns the actionType.
*/
public String getActionType() {
return actionType;
}
/**
* @param actionType The actionType to set.
*/
public void setActionType(String actionType) {
this.actionType = actionType;
}
/**
* @return Returns the bo.
*/
public IBusinessObject getBo() {
return bo;
}
/**
* @param bo The bo to set.
*/
public void setBo(IBusinessObject bo) {
this.bo = bo;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -