📄 produitform.java
字号:
/*
* Generated by MyEclipse Struts
* Template path: templates/java/JavaClass.vtl
*/
package com.captainli.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: 11-06-2008
*
* XDoclet definition:
* @struts.form name="produitForm"
*/
public class ProduitForm extends ActionForm {
/*
* Generated fields
*/
private int p_sc_id;
private int p_id;
/** p_validityd property */
private String p_validityd;
/** p_fac property */
private String p_fac;
/** p_unit property */
private String p_unit;
/** p_note property */
private String p_note;
/** p_appnum property */
private String p_appnum;
/** p_bc_id property */
private int p_bc_id;
/** p_storage property */
private String p_storage;
/** p_pinyin property */
private String p_pinyin;
/** p_chaname property */
private String p_chaname;
/** p_pro property */
private String p_pro;
/** p_validitym property */
private String p_validitym;
/** p_engname property */
private String p_engname;
/** p_name property */
private String p_name;
/** p_spe property */
private String p_spe;
/*
* 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
}
/**
* Returns the p_validityd.
* @return String
*/
public String getP_validityd() {
return p_validityd;
}
/**
* Set the p_validityd.
* @param p_validityd The p_validityd to set
*/
public void setP_validityd(String p_validityd) {
this.p_validityd = p_validityd;
}
/**
* Returns the p_fac.
* @return String
*/
public String getP_fac() {
return p_fac;
}
/**
* Set the p_fac.
* @param p_fac The p_fac to set
*/
public void setP_fac(String p_fac) {
this.p_fac = p_fac;
}
/**
* Returns the p_unit.
* @return String
*/
public String getP_unit() {
return p_unit;
}
/**
* Set the p_unit.
* @param p_unit The p_unit to set
*/
public void setP_unit(String p_unit) {
this.p_unit = p_unit;
}
/**
* Returns the p_note.
* @return String
*/
public String getP_note() {
return p_note;
}
/**
* Set the p_note.
* @param p_note The p_note to set
*/
public void setP_note(String p_note) {
this.p_note = p_note;
}
/**
* Returns the p_appnum.
* @return String
*/
public String getP_appnum() {
return p_appnum;
}
/**
* Set the p_appnum.
* @param p_appnum The p_appnum to set
*/
public void setP_appnum(String p_appnum) {
this.p_appnum = p_appnum;
}
/**
* Returns the p_bc_id.
* @return int
*/
public int getP_bc_id() {
return p_bc_id;
}
/**
* Set the p_bc_id.
* @param p_bc_id The p_bc_id to set
*/
public void setP_bc_id(int p_bc_id) {
this.p_bc_id = p_bc_id;
}
/**
* Returns the p_storage.
* @return String
*/
public String getP_storage() {
return p_storage;
}
/**
* Set the p_storage.
* @param p_storage The p_storage to set
*/
public void setP_storage(String p_storage) {
this.p_storage = p_storage;
}
/**
* Returns the p_pinyin.
* @return String
*/
public String getP_pinyin() {
return p_pinyin;
}
/**
* Set the p_pinyin.
* @param p_pinyin The p_pinyin to set
*/
public void setP_pinyin(String p_pinyin) {
this.p_pinyin = p_pinyin;
}
/**
* Returns the p_chaname.
* @return String
*/
public String getP_chaname() {
return p_chaname;
}
/**
* Set the p_chaname.
* @param p_chaname The p_chaname to set
*/
public void setP_chaname(String p_chaname) {
this.p_chaname = p_chaname;
}
/**
* Returns the p_pro.
* @return String
*/
public String getP_pro() {
return p_pro;
}
/**
* Set the p_pro.
* @param p_pro The p_pro to set
*/
public void setP_pro(String p_pro) {
this.p_pro = p_pro;
}
/**
* Returns the p_validitym.
* @return String
*/
public String getP_validitym() {
return p_validitym;
}
/**
* Set the p_validitym.
* @param p_validitym The p_validitym to set
*/
public void setP_validitym(String p_validitym) {
this.p_validitym = p_validitym;
}
/**
* Returns the p_engname.
* @return String
*/
public String getP_engname() {
return p_engname;
}
/**
* Set the p_engname.
* @param p_engname The p_engname to set
*/
public void setP_engname(String p_engname) {
this.p_engname = p_engname;
}
/**
* Returns the p_name.
* @return String
*/
public String getP_name() {
return p_name;
}
/**
* Set the p_name.
* @param p_name The p_name to set
*/
public void setP_name(String p_name) {
this.p_name = p_name;
}
/**
* Returns the p_spe.
* @return String
*/
public String getP_spe() {
return p_spe;
}
/**
* Set the p_spe.
* @param p_spe The p_spe to set
*/
public void setP_spe(String p_spe) {
this.p_spe = p_spe;
}
public int getP_id() {
return p_id;
}
public void setP_id(int p_id) {
this.p_id = p_id;
}
public int getP_sc_id() {
return p_sc_id;
}
public void setP_sc_id(int p_sc_id) {
this.p_sc_id = p_sc_id;
}
public ProduitForm(int p_id, String p_name, String p_pinyin, int p_bc_id, int p_sc_id, String p_chaname, String p_engname, String p_spe, String p_pro, String p_fac, String p_unit, String p_appnum, String p_validitym, String p_validityd, String p_storage, String p_note) {
super();
this.p_id = p_id;
this.p_name = p_name;
this.p_pinyin = p_pinyin;
this.p_bc_id = p_bc_id;
this.p_sc_id = p_sc_id;
this.p_chaname = p_chaname;
this.p_engname = p_engname;
this.p_spe = p_spe;
this.p_pro = p_pro;
this.p_fac = p_fac;
this.p_unit = p_unit;
this.p_appnum = p_appnum;
this.p_validitym = p_validitym;
this.p_validityd = p_validityd;
this.p_storage = p_storage;
this.p_note = p_note;
}
public ProduitForm() {
super();
// TODO Auto-generated constructor stub
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -