【Java开源代码栏目提醒】:网学会员为需要Java开源代码的朋友们搜集整理了DemoActionForm.java相关资料,希望对各位网友有所帮助!
/*
* Generated by MyEclipse Struts
* Template path: templates/java/JavaClass.vtl
*/
package ch8.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: 05-03-2008
*
* XDoclet definition:
* @struts.form name="demoActionForm"
*/
public class DemoActionForm extends ActionForm {
/*
* Generated fields
*/
/** bm property */
private String bm;
/** pass property */
private String pass;
/** note property */
private String note;
/** name property */
private String name;
/*
* 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 bm.
* @return String
*/
public String getBm() {
return bm;
}
/**
* Set the bm.
* @param bm The bm to set
*/
public void setBm(String bm) {
this.bm = bm;
}
/**
* Returns the pass.
* @return String
*/
public String getPass() {
return pass;
}
/**
* Set the pass.
* @param pass The pass to set
*/
public void setPass(String pass) {
this.pass = pass;
}
/**
* Returns the note.
* @return String
*/
public String getNote() {
return note;
}
/**
* Set the note.
* @param note The note to set
*/
public void setNote(String note) {
this.note = note;
}
/**
* Returns the name.
* @return String
*/
public String getName() {
return name;
}
/**
* Set the name.
* @param name The name to set
*/
public void setName(String name) {
this.name = name;
}
}