ProductActionForm.java
Upload User: zghglow
Upload Date: 2022-08-09
Package Size: 27227k
Code Size: 2k
Development Platform:

JavaScript

  1. package com.chinacannel.xlchemical.struts.ActionForm;
  2. import javax.servlet.http.*;
  3. import org.apache.struts.action.*;
  4. import org.apache.struts.upload.*;
  5. public class ProductActionForm extends ActionForm {
  6.     private Long id = new Long(0);
  7.     private String name;
  8.     private String enName;
  9.     private String molecular;
  10.     private String modality;
  11.     private String action;
  12.     private FormFile productImg = null;
  13.     private Long imageID = new Long(0);
  14.     public ActionErrors validate(ActionMapping actionMapping,
  15.                                  HttpServletRequest httpServletRequest) {
  16.             /** @todo: finish this method, this is just the skeleton.*/
  17.         return null;
  18.     }
  19.     public void reset(ActionMapping actionMapping,
  20.                       HttpServletRequest servletRequest) {
  21.     }
  22.     public String getAction() {
  23.         return action;
  24.     }
  25.     public String getEnName() {
  26.         return enName;
  27.     }
  28.     public Long getId() {
  29.         return id;
  30.     }
  31.     public String getModality() {
  32.         return modality;
  33.     }
  34.     public String getMolecular() {
  35.         return molecular;
  36.     }
  37.     public String getName() {
  38.         return name;
  39.     }
  40.     public FormFile getProductImg() {
  41.         return productImg;
  42.     }
  43.     public Long getImageID() {
  44.         return imageID;
  45.     }
  46.     public void setAction(String action) {
  47.         this.action = action;
  48.     }
  49.     public void setEnName(String enName) {
  50.         this.enName = enName;
  51.     }
  52.     public void setModality(String modality) {
  53.         this.modality = modality;
  54.     }
  55.     public void setId(Long id) {
  56.         this.id = id;
  57.     }
  58.     public void setMolecular(String molecular) {
  59.         this.molecular = molecular;
  60.     }
  61.     public void setName(String name) {
  62.         this.name = name;
  63.     }
  64.     public void setProductImg(FormFile productImg) {
  65.         this.productImg = productImg;
  66.     }
  67.     public void setImageID(Long imageID) {
  68.         this.imageID = imageID;
  69.     }
  70. }