📄 checkoutform.java
字号:
/*
* Generated by MyEclipse Struts
* Template path: templates/java/JavaClass.vtl
*/
package com.shopping.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: 04-18-2008
*
* XDoclet definition:
* @struts.form name="checkOutForm"
*/
public class CheckOutForm extends ActionForm {
/*
* Generated fields
*/
/** phone property */
private String phone;
/** postalCode property */
private String postalCode;
/** shipping property */
private String shipping;
/** fullName property */
private String fullName;
/** address property */
private String address;
/** email property */
private String email;
/** comment property */
private String comment;
/** payment property */
private String payment;
/*
* Generated Methods
*/
/**
* 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 phone.
* @return String
*/
public String getPhone() {
return phone;
}
/**
* Set the phone.
* @param phone The phone to set
*/
public void setPhone(String phone) {
this.phone = phone;
}
/**
* Returns the postalCode.
* @return String
*/
public String getPostalCode() {
return postalCode;
}
/**
* Set the postalCode.
* @param postalCode The postalCode to set
*/
public void setPostalCode(String postalCode) {
this.postalCode = postalCode;
}
/**
* Returns the shipping.
* @return String
*/
public String getShipping() {
return shipping;
}
/**
* Set the shipping.
* @param shipping The shipping to set
*/
public void setShipping(String shipping) {
this.shipping = shipping;
}
/**
* Returns the fullName.
* @return String
*/
public String getFullName() {
return fullName;
}
/**
* Set the fullName.
* @param fullName The fullName to set
*/
public void setFullName(String fullName) {
this.fullName = fullName;
}
/**
* Returns the address.
* @return String
*/
public String getAddress() {
return address;
}
/**
* Set the address.
* @param address The address to set
*/
public void setAddress(String address) {
this.address = address;
}
/**
* Returns the email.
* @return String
*/
public String getEmail() {
return email;
}
/**
* Set the email.
* @param email The email to set
*/
public void setEmail(String email) {
this.email = email;
}
/**
* Returns the comment.
* @return String
*/
public String getComment() {
return comment;
}
/**
* Set the comment.
* @param comment The comment to set
*/
public void setComment(String comment) {
this.comment = comment;
}
/**
* Returns the payment.
* @return String
*/
public String getPayment() {
return payment;
}
/**
* Set the payment.
* @param payment The payment to set
*/
public void setPayment(String payment) {
this.payment = payment;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -