📄 searchform.java
字号:
/*
* Generated by MyEclipse Struts
* Template path: templates/java/JavaClass.vtl
*/
package com.hevttc.book.web.form;
import java.util.List;
import javax.servlet.http.HttpServletRequest;
import org.apache.struts.action.ActionErrors;
import org.apache.struts.action.ActionMapping;
import com.hevttc.book.daohibernate.imp.Pager;
/**
* MyEclipse Struts
* Creation date: 10-15-2007
*
* XDoclet definition:
* @struts.form name="searchForm"
*/
public class SearchForm extends BaseForm {
/*
* Generated fields
*/
/** resultlist property */
private String searchResult;
/** bookname property */
private String bookname;
/** selectedBookName property */
private String selectedBookid;
/** author property */
private String author;
/** publish property */
private String publish;
private List table;
private Pager pager;
/*
* Generated Methods
*/
public Pager getPager() {
return pager;
}
public void setPager(Pager pager) {
this.pager = pager;
}
public List getTable() {
return table;
}
public void setTable(List table) {
this.table = table;
}
/**
* 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 resultlist.
* @return String
*/
/**
* Returns the bookname.
* @return String
*/
public String getBookname() {
return bookname;
}
/**
* Set the bookname.
* @param bookname The bookname to set
*/
public void setBookname(String bookname) {
this.bookname = bookname;
}
/**
* Returns the selectedBookName.
* @return String
*/
/**
* 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 publish.
* @return String
*/
public String getPublish() {
return publish;
}
/**
* Set the publish.
* @param publish The publish to set
*/
public void setPublish(String publish) {
this.publish = publish;
}
public String getSearchResult() {
return searchResult;
}
public void setSearchResult(String searchResult) {
this.searchResult = searchResult;
}
public String getSelectedBookid() {
return selectedBookid;
}
public void setSelectedBookid(String selectedBookid) {
this.selectedBookid = selectedBookid;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -