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

📄 countryportform.java

📁 这是本人曾经在公司里用的,内部开发框架,基于struts+hibernate今天分享给大家
💻 JAVA
字号:
/*
 * Generated by MyEclipse Struts
 * Template path: templates/java/JavaClass.vtl
 */
package cn.bway.foreigntrade.operation.countryport.form;

import javax.servlet.http.HttpServletRequest;
import org.apache.struts.action.ActionErrors;
import org.apache.struts.action.ActionMapping;
import cn.bway.common.form.BaseForm;

/** 
 * MyEclipse Struts
 * Creation date: 03-07-2008
 * 
 * XDoclet definition:
 * @struts.form name="countryportForm"
 */
public class CountryportForm extends BaseForm {
	/*
	 * Generated fields
	 */

	 private String id;
     private String types;
     private String portchiness;
     private String portenglish;
     private String portaddress;
     private String areas;
     private String plans;
     private String countrychiness;
     private String countryenlish;
     private String notes;

	public CountryportForm() {
		super();
	}

	public CountryportForm(String types, String portchiness, String portenglish, String portaddress, String areas, String plans, String countrychiness, String countryenlish, String notes) {
		super();
		this.types = types;
		this.portchiness = portchiness;
		this.portenglish = portenglish;
		this.portaddress = portaddress;
		this.areas = areas;
		this.plans = plans;
		this.countrychiness = countrychiness;
		this.countryenlish = countryenlish;
		this.notes = notes;
	}

	public String getAreas() {
		return areas;
	}

	public void setAreas(String areas) {
		this.areas = areas;
	}

	public String getCountrychiness() {
		return countrychiness;
	}

	public void setCountrychiness(String countrychiness) {
		this.countrychiness = countrychiness;
	}

	public String getCountryenlish() {
		return countryenlish;
	}

	public void setCountryenlish(String countryenlish) {
		this.countryenlish = countryenlish;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getNotes() {
		return notes;
	}

	public void setNotes(String notes) {
		this.notes = notes;
	}

	public String getPlans() {
		return plans;
	}

	public void setPlans(String plans) {
		this.plans = plans;
	}

	public String getPortaddress() {
		return portaddress;
	}

	public void setPortaddress(String portaddress) {
		this.portaddress = portaddress;
	}

	public String getPortchiness() {
		return portchiness;
	}

	public void setPortchiness(String portchiness) {
		this.portchiness = portchiness;
	}

	public String getPortenglish() {
		return portenglish;
	}

	public void setPortenglish(String portenglish) {
		this.portenglish = portenglish;
	}

	public String getTypes() {
		return types;
	}

	public void setTypes(String types) {
		this.types = types;
	}

	/** 
	 * Method validate
	 * @param mapping
	 * @param request
	 * @return ActionErrors
	 */
	public ActionErrors validate(ActionMapping mapping,
			HttpServletRequest request) {
		// TODO Auto-generated method stub
		return null;
	}

	/** 
	 * Method reset
	 * @param mapping
	 * @param request
	 */
	public void reset(ActionMapping mapping, HttpServletRequest request) {
		// TODO Auto-generated method stub
	}

}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -