📄 register2form.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: 08-22-2007
*
* XDoclet definition:
* @struts.form name="register2Form"
*/
public class Register2Form extends ActionForm {
/*
* Generated fields
*/
/** aihao property */
private String aihao;
/** brithday property */
private String brithday;
/** sex property */
private String sex;
/** password property */
private String password;
/** xueli property */
private String xueli;
/** answer property */
private String answer;
/** email property */
private String email;
/** name property */
private String name;
/** school property */
private String school;
/** question property */
private String question;
/** id property */
private String id;
/*
* 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 aihao.
* @return String
*/
public String getAihao() {
return aihao;
}
/**
* Set the aihao.
* @param aihao The aihao to set
*/
public void setAihao(String aihao) {
this.aihao = aihao;
}
/**
* Returns the brithday.
* @return String
*/
public String getBrithday() {
return brithday;
}
/**
* Set the brithday.
* @param brithday The brithday to set
*/
public void setBrithday(String brithday) {
this.brithday = brithday;
}
/**
* 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 xueli.
* @return String
*/
public String getXueli() {
return xueli;
}
/**
* Set the xueli.
* @param xueli The xueli to set
*/
public void setXueli(String xueli) {
this.xueli = xueli;
}
/**
* Returns the answer.
* @return String
*/
public String getAnswer() {
return answer;
}
/**
* Set the answer.
* @param answer The answer to set
*/
public void setAnswer(String answer) {
this.answer = answer;
}
/**
* Returns the email.
* @return String
*/
public String getEmail() {
return email;
}
/**
* Set the email.
* @param email The email to set
*/
public void setEmail(String email) {
this.email = email;
}
/**
* 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 school.
* @return String
*/
public String getSchool() {
return school;
}
/**
* Set the school.
* @param school The school to set
*/
public void setSchool(String school) {
this.school = school;
}
/**
* Returns the question.
* @return String
*/
public String getQuestion() {
return question;
}
/**
* Set the question.
* @param question The question to set
*/
public void setQuestion(String question) {
this.question = question;
}
/**
* 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;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -