📄 modifyform.java
字号:
/*
* Generated by MyEclipse Struts
* Template path: templates/java/JavaClass.vtl
*/
package com.tang.admin.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: 06-03-2008
*
* XDoclet definition:
* @struts.form name="modifyForm"
*/
public class ModifyForm extends ActionForm {
/*
* Generated fields
*/
/** id property */
private Integer id;
/** author property */
private String author;
/** publishhouse property */
private String publishhouse;
/** price property */
private Double price;
/** bookname property */
private String bookname;
/** clas property */
private String clas;
/** image property */
private String image;
/** comment property */
private String comment;
/*
* 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 id.
* @return Integer
*/
public Integer getId() {
return id;
}
/**
* Set the id.
* @param id The id to set
*/
public void setId(Integer id) {
this.id = id;
}
/**
* Returns the author.
* @return String
*/
public String getAuthor() {
return author;
}
/**
* Set the author.
* @param author The author to set
*/
public void setAuthor(String author) {
this.author = author;
}
/**
* Returns the publishhouse.
* @return String
*/
public String getPublishhouse() {
return publishhouse;
}
/**
* Set the publishhouse.
* @param publishhouse The publishhouse to set
*/
public void setPublishhouse(String publishhouse) {
this.publishhouse = publishhouse;
}
/**
* Returns the price.
* @return Double
*/
public Double getPrice() {
return price;
}
/**
* Set the price.
* @param price The price to set
*/
public void setPrice(Double price) {
this.price = price;
}
/**
* Returns the name.
* @return String
*/
public String getBookname() {
return bookname;
}
/**
* Set the name.
* @param name The name to set
*/
public void setBookname(String bookname) {
this.bookname = bookname;
}
/**
* Returns the clas.
* @return String
*/
public String getClas() {
return clas;
}
/**
* Set the clas.
* @param clas The clas to set
*/
public void setClas(String clas) {
this.clas = clas;
}
/**
* Returns the image.
* @return String
*/
public String getImage() {
return image;
}
/**
* Set the image.
* @param image The image to set
*/
public void setImage(String image) {
this.image = image;
}
/**
* 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;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -