📄 wareform.java
字号:
/*
* Generated by MyEclipse Struts
* Template path: templates/java/JavaClass.vtl
*/
package com.hz.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: 05-02-2008
*
* XDoclet definition:
* @struts.form name="wareForm"
*/
public class WareForm extends ActionForm {
/*
* Generated fields
*/
private int wareId;
/** warePlace property */
private String warePlace;
/** present property */
private String present;
/** price property */
private int price;
/** wareName property */
private String wareName;
/** goodsId property */
private int goodsId;
private String[] wareIds;
private String state;
/*
* Generated Methods
*/
public String getState() {
return state;
}
public void setState(String state) {
this.state = state;
}
public String[] getWareIds() {
return wareIds;
}
public void setWareIds(String[] wareIds) {
this.wareIds = wareIds;
}
/**
* 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
}
/**
* Returns the warePlace.
* @return String
*/
public String getWarePlace() {
return warePlace;
}
/**
* Set the warePlace.
* @param warePlace The warePlace to set
*/
public void setWarePlace(String warePlace) {
this.warePlace = warePlace;
}
/**
* Returns the present.
* @return String
*/
public String getPresent() {
return present;
}
/**
* Set the present.
* @param present The present to set
*/
public void setPresent(String present) {
this.present = present;
}
/**
* Returns the price.
* @return int
*/
public int getPrice() {
return price;
}
/**
* Set the price.
* @param price The price to set
*/
public void setPrice(int price) {
this.price = price;
}
/**
* Returns the wareName.
* @return String
*/
public String getWareName() {
return wareName;
}
/**
* Set the wareName.
* @param wareName The wareName to set
*/
public void setWareName(String wareName) {
this.wareName = wareName;
}
/**
* Returns the goodsId.
* @return int
*/
public int getGoodsId() {
return goodsId;
}
/**
* Set the goodsId.
* @param goodsId The goodsId to set
*/
public void setGoodsId(int goodsId) {
this.goodsId = goodsId;
}
public int getWareId() {
return wareId;
}
public void setWareId(int wareId) {
this.wareId = wareId;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -