📄 studentform.java
字号:
/*
* Generated by MyEclipse Struts
* Template path: templates/java/JavaClass.vtl
*/
package com.yourcompany.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: 07-27-2008
*
* XDoclet definition:
* @struts.form name="studentForm"
*/
public class StudentForm extends ActionForm {
/*
* Generated fields
*/
/** st_name property */
private String st_name;
/** st_id property */
private String st_id;
/** st_sex property */
private String st_sex;
/** st_tisum property */
private Integer st_tisum;
/** st_password property */
private String st_password;
/*
* 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 st_name.
* @return String
*/
public String getSt_name() {
return st_name;
}
/**
* Set the st_name.
* @param st_name The st_name to set
*/
public void setSt_name(String st_name) {
this.st_name = st_name;
}
/**
* Returns the st_id.
* @return String
*/
public String getSt_id() {
return st_id;
}
/**
* Set the st_id.
* @param st_id The st_id to set
*/
public void setSt_id(String st_id) {
this.st_id = st_id;
}
/**
* Returns the st_sex.
* @return String
*/
public String getSt_sex() {
return st_sex;
}
/**
* Set the st_sex.
* @param st_sex The st_sex to set
*/
public void setSt_sex(String st_sex) {
this.st_sex = st_sex;
}
/**
* Returns the st_tisum.
* @return Integer
*/
public Integer getSt_tisum() {
return st_tisum;
}
/**
* Set the st_tisum.
* @param st_tisum The st_tisum to set
*/
public void setSt_tisum(Integer st_tisum) {
this.st_tisum = st_tisum;
}
/**
* Returns the st_password.
* @return String
*/
public String getSt_password() {
return st_password;
}
/**
* Set the st_password.
* @param st_password The st_password to set
*/
public void setSt_password(String st_password) {
this.st_password = st_password;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -