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

📄 productform.java

📁 使用EJB实现的网上商城
💻 JAVA
字号:
package com.jdon.estore.web.catalog;

import com.jdon.strutsutil.ModelForm;
import java.util.*;

public class ProductForm extends ModelForm {

  private String productId;
  private String catId ="";
  private String name;
  private String description;
  private Collection items = new ArrayList();

  public String getProductId() {
    return productId;
  }

  public void setProductId(String productId) {
    this.productId = productId;
  }


  public String getCatId(){
     return catId;
  }
  public void setCatId(String catId){
     this.catId = catId;
  }

  public String getName() {
    return name;
  }

  public void setName(String name) {
    this.name = name;
  }


  public String getDescription() {
    return description;
  }

  public void setDescription(String description) {
    this.description = description;
  }

  public Collection getItems() {
    return items;
  }

  public void setItems(Collection items) {
    this.items = items;
  }


 private String values[] =     { ""};
 private String labels[] =     { ""};

 public String[] getValues(){      return values;    }
 public void setValues(String[] values){      this.values = values;    }
 public String[] getLabels(){      return values;    }
 public void setLabels(String[] labels){      this.labels = labels;    }

}

⌨️ 快捷键说明

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