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

📄 update2form.java

📁 网上购物系统 管理员模块和用户模块
💻 JAVA
字号:
/*
 * Generated by MyEclipse Struts
 * Template path: templates/java/JavaClass.vtl
 */
package com.yourcompany.struts.form;

import javax.servlet.http.HttpServletRequest;
import org.apache.struts.action.ActionErrors;
import org.apache.struts.action.ActionForm;
import org.apache.struts.action.ActionMapping;

/** 
 * MyEclipse Struts
 * Creation date: 01-07-2009
 * 
 * XDoclet definition:
 * @struts.form name="update2Form"
 */
public class Update2Form extends ActionForm {
	/*
	 * Generated fields
	 */

	/** cost property */
	private Double cost;

	/** name property */
	private String name;

	/** number property */
	private Integer number;

	/** ID property */
	private int ID;

	/*
	 * Generated Methods
	 */

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

	/** 
	 * Returns the cost.
	 * @return Double
	 */
	public Double getCost() {
		return cost;
	}

	/** 
	 * Set the cost.
	 * @param cost The cost to set
	 */
	public void setCost(Double cost) {
		this.cost = cost;
	}

	/** 
	 * Returns the name.
	 * @return String
	 */
	public String getName() {
		return name;
	}

	/** 
	 * Set the name.
	 * @param name The name to set
	 */
	public void setName(String name) {
		this.name = name;
	}

	/** 
	 * Returns the number.
	 * @return Integer
	 */
	public Integer getNumber() {
		return number;
	}

	/** 
	 * Set the number.
	 * @param number The number to set
	 */
	public void setNumber(Integer number) {
		this.number = number;
	}

	/** 
	 * Returns the ID.
	 * @return String
	 */
	public int getID() {
		return ID;
	}

	/** 
	 * Set the ID.
	 * @param ID The ID to set
	 */
	public void setID(int ID) {
		this.ID = ID;
	}
}

⌨️ 快捷键说明

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