⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 baseform.java

📁 struts+spring+hibernate自创框架
💻 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 + -