📄 mainorderform.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="mainOrderForm"
*/
public class MainOrderForm extends ActionForm {
/*
* Generated fields
*/
private int orderId;
/** priceCount property */
private double priceCount;
/** memberId property */
private int memberId;
/** orderTime property */
private String orderTime;
/** state property */
private String state;
/** memberName property */
private String memberName;
private String code;
/*
* Generated Methods
*/
public String getCode() {
return code;
}
public void setCode(String code) {
this.code = code;
}
/**
* 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 priceCount.
* @return double
*/
public double getPriceCount() {
return priceCount;
}
/**
* Set the priceCount.
* @param priceCount The priceCount to set
*/
public void setPriceCount(double priceCount) {
this.priceCount = priceCount;
}
/**
* Returns the memberId.
* @return int
*/
public int getMemberId() {
return memberId;
}
/**
* Set the memberId.
* @param memberId The memberId to set
*/
public void setMemberId(int memberId) {
this.memberId = memberId;
}
/**
* Returns the orderTime.
* @return String
*/
public String getOrderTime() {
return orderTime;
}
/**
* Set the orderTime.
* @param orderTime The orderTime to set
*/
public void setOrderTime(String orderTime) {
this.orderTime = orderTime;
}
/**
* Returns the state.
* @return String
*/
public String getState() {
return state;
}
/**
* Set the state.
* @param state The state to set
*/
public void setState(String state) {
this.state = state;
}
/**
* Returns the memberName.
* @return String
*/
public String getMemberName() {
return memberName;
}
/**
* Set the memberName.
* @param memberName The memberName to set
*/
public void setMemberName(String memberName) {
this.memberName = memberName;
}
public int getOrderId() {
return orderId;
}
public void setOrderId(int orderId) {
this.orderId = orderId;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -