shopform.java
来自「《JSP网站开发典型模块与实例精讲》一书光盘源码」· Java 代码 · 共 193 行
JAVA
193 行
//Created by MyEclipse Struts// XSL source (default): platform:/plugin/com.genuitec.eclipse.cross.easystruts.eclipse_4.0.0/xslt/JavaClass.xslpackage book.example.photoprint.form;import org.apache.struts.validator.ValidatorForm;/** * MyEclipse Struts * Creation date: 12-20-2005 * * XDoclet definition: * @struts.form name="shopForm" */public class ShopForm extends ValidatorForm { // --------------------------------------------------------- Instance Variables /** owner property */ private String owner; /** cellphone property */ private String cellphone; /** shopname property */ private String shopname; /** description property */ private String description; /** address property */ private String address; /** status property */ private String status; /** tel property */ private String tel; /** id property */ private String id; private String loginname; private String passwd; // --------------------------------------------------------- Methods public String getLoginname() { return loginname; } public void setLoginname(String loginname) { this.loginname = loginname; } public String getPasswd() { return passwd; } public void setPasswd(String passwd) { this.passwd = passwd; } /** * Returns the owner. * @return String */ public String getOwner() { return owner; } /** * Set the owner. * @param owner The owner to set */ public void setOwner(String owner) { this.owner = owner; } /** * Returns the cellphone. * @return String */ public String getCellphone() { return cellphone; } /** * Set the cellphone. * @param cellphone The cellphone to set */ public void setCellphone(String cellphone) { this.cellphone = cellphone; } /** * Returns the shopname. * @return String */ public String getShopname() { return shopname; } /** * Set the shopname. * @param shopname The shopname to set */ public void setShopname(String shopname) { this.shopname = shopname; } /** * Returns the description. * @return String */ public String getDescription() { return description; } /** * Set the description. * @param description The description to set */ public void setDescription(String description) { this.description = description; } /** * 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 status. * @return String */ public String getStatus() { return status; } /** * Set the status. * @param status The status to set */ public void setStatus(String status) { this.status = status; } /** * Returns the tel. * @return String */ public String getTel() { return tel; } /** * Set the tel. * @param tel The tel to set */ public void setTel(String tel) { this.tel = tel; } /** * Returns the id. * @return String */ public String getId() { return id; } /** * Set the id. * @param id The id to set */ public void setId(String id) { this.id = id; }}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?