📄 studentform.java
字号:
/*
* Generated by MyEclipse Struts
* Template path: templates/java/JavaClass.vtl
*/
package org.wangsong.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;
import org.apache.struts.validator.ValidatorForm;
public class StudentForm extends ValidatorForm
{
/*
* Generated fields
*/
/** sex property */
private String sex;
/** password property */
private String password;
/** jiguan property */
private String jiguan;
/** name property */
private String name;
/** id property */
private String id;
/** department property */
private String department;
private Integer mark;
private String tel;
private String phone;
private String email;
/*
* Generated Methods
*/
public String getEmail()
{
return email;
}
public void setEmail(String email)
{
this.email = email;
}
public Integer getMark()
{
return mark;
}
public void setMark(Integer mark)
{
this.mark = mark;
}
public String getPhone()
{
return phone;
}
public void setPhone(String phone)
{
this.phone = phone;
}
public String getTel()
{
return tel;
}
public void setTel(String tel)
{
this.tel = tel;
}
/* public ActionErrors validate(ActionMapping mapping,
HttpServletRequest request)
{
return null;
}
*/ /**
* Method reset
* @param mapping
* @param request
*/
public void reset(ActionMapping mapping, HttpServletRequest request)
{
// TODO Auto-generated method stub
}
/**
* Returns the sex.
* @return String
*/
public String getSex()
{
return sex;
}
/**
* Set the sex.
* @param sex The sex to set
*/
public void setSex(String sex)
{
this.sex = sex;
}
/**
* Returns the password.
* @return String
*/
public String getPassword()
{
return password;
}
/**
* Set the password.
* @param password The password to set
*/
public void setPassword(String password)
{
this.password = password;
}
/**
* Returns the jiguan.
* @return String
*/
public String getJiguan()
{
return jiguan;
}
/**
* Set the jiguan.
* @param jiguan The jiguan to set
*/
public void setJiguan(String jiguan)
{
this.jiguan = jiguan;
}
/**
* 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;
}
/**
* Returns the id.
* @return String
*/
public String getId()
{
return id;
}
/**
* Set the id.
* @param id The id to set
*/
public void setId(String id)
{
this.id = id;
}
/**
* Returns the department.
* @return String
*/
public String getDepartment()
{
return department;
}
/**
* Set the department.
* @param department The department to set
*/
public void setDepartment(String department)
{
this.department = department;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -