📄 bookform.java
字号:
/*
* Generated by MyEclipse Struts
* Template path: templates/java/JavaClass.vtl
*/
package org.y2t12.struts.form;
import org.apache.struts.action.ActionForm;
/**
* MyEclipse Struts
* Creation date: 06-02-2007
*
* XDoclet definition:
* @struts.form name="bookForm"
*/
public class BookForm extends ActionForm {
/*
* Generated fields
*/
/** title property */
private String title;
/** price property */
private float price;
/** descn property */
private String descn;
/** author property */
private String author;
/*
* Generated Methods
*/
/**
* Returns the title.
* @return String
*/
public String getTitle() {
return title;
}
/**
* Set the title.
* @param title The title to set
*/
public void setTitle(String title) {
this.title = title;
}
/**
* Returns the price.
* @return float
*/
public float getPrice() {
return price;
}
/**
* Set the price.
* @param price The price to set
*/
public void setPrice(float price) {
this.price = price;
}
/**
* Returns the descn.
* @return String
*/
public String getDescn() {
return descn;
}
/**
* Set the descn.
* @param descn The descn to set
*/
public void setDescn(String descn) {
this.descn = descn;
}
/**
* 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;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -