📄 findbookform.java
字号:
/*
* Generated by MyEclipse Struts
* Template path: templates/java/JavaClass.vtl
*/
package com.ascent.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: 03-10-2007
*
* XDoclet definition:
* @struts.form name="findBookForm"
*/
public class FindBookForm extends ActionForm {
/*
* Generated fields
*/
/** bookName property */
private String bookName="";
private String bookPrice="";
private String bookType="";
/*
* 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
}
public boolean isEmpty()
{
if(this.bookName.equals(null))
{
return true;
}
else
{
return false;
}
}
/**
* 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;
}
public void setBookPrice(String bookPrice) {
this.bookPrice = bookPrice;
}
public String getBookPrice() {
return bookPrice;
}
public void setBookType(String bookType) {
this.bookType = bookType;
}
public String getBookType() {
return bookType;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -