⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 productform.java

📁 struts的一些用的书籍
💻 JAVA
字号:
package app03b.form;

import org.apache.struts.action.ActionForm;

public class ProductForm extends ActionForm {
  private String productName;
  private String description;
  private String price;
  private boolean available;
  private int category;
  
	public void setProductName (String productName) {
		this.productName = productName;
	}
	public String getProductName () {
  		return productName;	
	}
	public void setDescription (String description) {
		this.description = description;
	}
	public String getDescription() {
 		return description;
	}
	public void setPrice(String unit) {
		this.price = unit;
	}
	public String getPrice() {
		return price;
	}
	public void setAvailable(boolean available) {
		this.available = available;
	}
	public boolean getAvailable() {
		return available;
	}
  public int getCategory() {
    return category;
  }
  public void setCategory(int category) {
    this.category = category;
  }
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -